From 5b54f26fc93d2e9798acf4ee03749dd5a58ac8d5 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Thu, 22 Oct 2026 19:12:03 +0000 Subject: [PATCH 1/2] Configurations: 'specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/ManagedNetworkFabric/tspconfig.yaml', and CommitSHA: 'dada8378e1e5e205e77974808541b5b4e9634ecb' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6990106 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../CHANGELOG.md | 271 +++- .../README.md | 4 +- .../SAMPLE.md | 1007 +++++++++++---- .../pom.xml | 3 +- .../ManagedNetworkFabricManager.java | 32 + .../fluent/AccessControlListsClient.java | 10 +- .../fluent/EdgeConnectorsClient.java | 277 ++++ .../fluent/FabricsClient.java | 270 ++++ .../fluent/L2IsolationDomainsClient.java | 10 +- .../fluent/L3IsolationDomainsClient.java | 10 +- .../ManagedNetworkFabricManagementClient.java | 14 + .../fluent/NetworkFabricsClient.java | 20 +- .../fluent/NetworkTapRulesClient.java | 10 +- .../fluent/RoutePoliciesClient.java | 10 +- .../fluent/models/EdgeConnectorInner.java | 182 +++ .../fluent/models/FabricInner.java | 181 +++ .../fluent/models/NeighborGroupInner.java | 10 + .../models/NeighborGroupProperties.java | 18 + .../models/NetworkBootstrapDeviceInner.java | 45 + ...NetworkBootstrapDevicePatchProperties.java | 31 + .../NetworkBootstrapDeviceProperties.java | 69 + .../NetworkBootstrapInterfaceInner.java | 11 + .../NetworkBootstrapInterfaceProperties.java | 19 + .../fluent/models/NetworkDeviceInner.java | 11 + .../models/NetworkDeviceProperties.java | 19 + .../models/NetworkFabricControllerInner.java | 35 + .../NetworkFabricControllerProperties.java | 49 + .../fluent/models/NetworkFabricInner.java | 73 ++ .../models/NetworkFabricPatchProperties.java | 67 + .../models/NetworkFabricProperties.java | 102 ++ .../fluent/models/NetworkInterfaceInner.java | 11 + .../models/NetworkInterfaceProperties.java | 19 + .../models/NetworkPacketBrokerInner.java | 23 + .../models/NetworkPacketBrokerProperties.java | 28 + .../ValidateConfigurationResponseV2Inner.java | 244 ++++ .../implementation/AccessControlListImpl.java | 6 +- .../AccessControlListsClientImpl.java | 29 +- .../AccessControlListsImpl.java | 17 +- .../implementation/EdgeConnectorImpl.java | 184 +++ .../EdgeConnectorsClientImpl.java | 1116 +++++++++++++++++ .../implementation/EdgeConnectorsImpl.java | 142 +++ .../implementation/FabricImpl.java | 182 +++ .../implementation/FabricsClientImpl.java | 1096 ++++++++++++++++ .../implementation/FabricsImpl.java | 142 +++ .../implementation/L2IsolationDomainImpl.java | 6 +- .../L2IsolationDomainsClientImpl.java | 29 +- .../L2IsolationDomainsImpl.java | 17 +- .../implementation/L3IsolationDomainImpl.java | 6 +- .../L3IsolationDomainsClientImpl.java | 29 +- .../L3IsolationDomainsImpl.java | 17 +- ...agedNetworkFabricManagementClientImpl.java | 34 +- .../implementation/NeighborGroupImpl.java | 5 + .../NetworkBootstrapDeviceImpl.java | 35 + .../NetworkBootstrapInterfaceImpl.java | 5 + .../implementation/NetworkDeviceImpl.java | 5 + .../NetworkFabricControllerImpl.java | 15 + .../implementation/NetworkFabricImpl.java | 59 +- .../NetworkFabricsClientImpl.java | 139 +- .../implementation/NetworkFabricsImpl.java | 21 +- .../implementation/NetworkInterfaceImpl.java | 5 + .../NetworkPacketBrokerImpl.java | 15 + .../implementation/NetworkTapRuleImpl.java | 6 +- .../NetworkTapRulesClientImpl.java | 31 +- .../implementation/NetworkTapRulesImpl.java | 16 +- .../RoutePoliciesClientImpl.java | 30 +- .../implementation/RoutePoliciesImpl.java | 16 +- .../implementation/RoutePolicyImpl.java | 6 +- .../ValidateConfigurationResponseImpl.java | 42 - .../ValidateConfigurationResponseV2Impl.java | 83 ++ .../models/EdgeConnectorListResult.java | 95 ++ .../models/FabricListResult.java | 95 ++ .../models/AccessControlList.java | 4 +- .../models/AccessControlLists.java | 4 +- .../models/ConfigurationRegenerationType.java | 46 + .../models/ConfigurationState.java | 15 + .../models/ConnectivityModel.java | 61 + .../models/ControllerType.java | 56 + .../models/DeviceRole.java | 5 + .../models/EdgeConnector.java | 265 ++++ .../models/EdgeConnectorPatch.java | 115 ++ .../EdgeConnectorPatchableProperties.java | 116 ++ .../models/EdgeConnectorProperties.java | 150 +++ .../models/EdgeConnectors.java | 158 +++ .../managednetworkfabric/models/Fabric.java | 265 ++++ .../models/FabricPatch.java | 115 ++ .../models/FabricPatchableProperties.java | 201 +++ .../models/FabricProperties.java | 413 ++++++ .../managednetworkfabric/models/Fabrics.java | 157 +++ .../models/GenerateBaseConfiguration.java | 51 + .../models/InfraNetwork.java | 226 ++++ .../models/InfraNetworkOptionalIp.java | 226 ++++ .../models/InfrastructureNetworks.java | 226 ++++ .../models/InfrastructureServices.java | 145 +++ .../models/L2IsolationDomain.java | 4 +- .../models/L2IsolationDomains.java | 4 +- .../models/L3IsolationDomain.java | 4 +- .../models/L3IsolationDomains.java | 4 +- .../models/ManagementMode.java | 51 + .../models/NeighborGroup.java | 7 + .../models/NetworkBootstrapDevice.java | 57 +- .../models/NetworkBootstrapDevicePatch.java | 24 + .../models/NetworkBootstrapInterface.java | 8 + .../models/NetworkDevice.java | 8 + .../models/NetworkFabric.java | 105 +- .../models/NetworkFabricController.java | 31 +- .../models/NetworkFabricPatch.java | 50 + .../NetworkFabricRefreshDeviceTypes.java | 61 + .../models/NetworkFabrics.java | 8 +- .../models/NetworkInterface.java | 8 + .../models/NetworkPacketBroker.java | 38 +- .../models/NetworkPacketBrokerPatch.java | 29 + .../NetworkPacketBrokerPatchProperties.java | 86 ++ .../models/NetworkTapRule.java | 4 +- .../models/NetworkTapRules.java | 4 +- .../models/OperationPolicy.java | 51 + .../models/OperationalState.java | 65 + .../models/PatchInfraNetwork.java | 225 ++++ .../models/PatchInfrastructureNetworks.java | 225 ++++ .../models/PatchInfrastructureServices.java | 144 +++ .../models/PatchPlatformProxy.java | 143 +++ .../models/PlatformProxy.java | 144 +++ .../PostUpgradeProfilePatchProperties.java | 125 ++ .../models/PostUpgradeProfileProperties.java | 123 ++ .../PreUpgradeProfilePatchProperties.java | 93 ++ .../models/PreUpgradeProfileProperties.java | 92 ++ ...RefreshConfigurationRequestProperties.java | 157 +++ .../models/RoutePolicies.java | 4 +- .../models/RoutePolicy.java | 4 +- .../models/SecretArchivePatchSettings.java | 116 ++ .../models/SecretArchiveSettings.java | 117 ++ .../models/UpgradeProfileProperties.java | 121 ++ ...gradeProfilePropertiesPatchProperties.java | 126 ++ .../models/ValidateConfigurationResponse.java | 42 - ...idateConfigurationResponseProperties.java} | 53 +- .../ValidateConfigurationResponseV2.java | 94 ++ .../models/VmProfile.java | 86 ++ ...manager-managednetworkfabric_metadata.json | 2 +- .../proxy-config.json | 2 +- .../AccessControlListsCreateSamples.java | 4 +- .../AccessControlListsDeleteSamples.java | 2 +- ...ControlListsGetByResourceGroupSamples.java | 2 +- ...ontrolListsListByResourceGroupSamples.java | 2 +- .../AccessControlListsListSamples.java | 2 +- .../AccessControlListsResyncSamples.java | 2 +- ...ListsUpdateAdministrativeStateSamples.java | 2 +- .../AccessControlListsUpdateSamples.java | 2 +- ...trolListsValidateConfigurationSamples.java | 2 +- .../EdgeConnectorsCreateSamples.java | 47 + .../EdgeConnectorsDeleteSamples.java | 23 + ...geConnectorsGetByResourceGroupSamples.java | 24 + ...eConnectorsListByResourceGroupSamples.java | 23 + .../generated/EdgeConnectorsListSamples.java | 23 + .../EdgeConnectorsUpdateSamples.java | 46 + .../ExternalNetworksCreateSamples.java | 2 +- .../ExternalNetworksDeleteSamples.java | 2 +- .../generated/ExternalNetworksGetSamples.java | 2 +- ...etworksListByL3IsolationDomainSamples.java | 2 +- ...worksUpdateAdministrativeStateSamples.java | 2 +- ...ksUpdateBfdAdministrativeStateSamples.java | 2 +- .../ExternalNetworksUpdateSamples.java | 2 +- ...ticRouteBfdAdministrativeStateSamples.java | 2 +- .../generated/FabricsCreateSamples.java | 152 +++ .../generated/FabricsDeleteSamples.java | 23 + .../FabricsGetByResourceGroupSamples.java | 24 + .../FabricsListByResourceGroupSamples.java | 23 + .../generated/FabricsListSamples.java | 23 + .../generated/FabricsUpdateSamples.java | 54 + .../InternalNetworksCreateSamples.java | 2 +- .../InternalNetworksDeleteSamples.java | 2 +- .../generated/InternalNetworksGetSamples.java | 2 +- ...etworksListByL3IsolationDomainSamples.java | 2 +- ...worksUpdateAdministrativeStateSamples.java | 2 +- ...ksUpdateBfdAdministrativeStateSamples.java | 2 +- ...ksUpdateBgpAdministrativeStateSamples.java | 2 +- .../InternalNetworksUpdateSamples.java | 2 +- ...ticRouteBfdAdministrativeStateSamples.java | 2 +- .../InternetGatewayRulesCreateSamples.java | 2 +- .../InternetGatewayRulesDeleteSamples.java | 2 +- ...GatewayRulesGetByResourceGroupSamples.java | 2 +- ...atewayRulesListByResourceGroupSamples.java | 2 +- .../InternetGatewayRulesListSamples.java | 2 +- .../InternetGatewayRulesUpdateSamples.java | 2 +- .../InternetGatewaysCreateSamples.java | 2 +- .../InternetGatewaysDeleteSamples.java | 2 +- ...rnetGatewaysGetByResourceGroupSamples.java | 2 +- ...netGatewaysListByResourceGroupSamples.java | 2 +- .../InternetGatewaysListSamples.java | 2 +- .../InternetGatewaysUpdateSamples.java | 2 +- .../generated/IpCommunitiesCreateSamples.java | 2 +- .../generated/IpCommunitiesDeleteSamples.java | 2 +- ...pCommunitiesGetByResourceGroupSamples.java | 2 +- ...CommunitiesListByResourceGroupSamples.java | 2 +- .../generated/IpCommunitiesListSamples.java | 2 +- .../generated/IpCommunitiesUpdateSamples.java | 2 +- .../IpExtendedCommunitiesCreateSamples.java | 2 +- .../IpExtendedCommunitiesDeleteSamples.java | 2 +- ...dCommunitiesGetByResourceGroupSamples.java | 2 +- ...CommunitiesListByResourceGroupSamples.java | 2 +- .../IpExtendedCommunitiesListSamples.java | 2 +- .../IpExtendedCommunitiesUpdateSamples.java | 2 +- .../generated/IpPrefixesCreateSamples.java | 2 +- .../generated/IpPrefixesDeleteSamples.java | 2 +- .../IpPrefixesGetByResourceGroupSamples.java | 2 +- .../IpPrefixesListByResourceGroupSamples.java | 2 +- .../generated/IpPrefixesListSamples.java | 2 +- .../generated/IpPrefixesUpdateSamples.java | 2 +- ...tionDomainsCommitConfigurationSamples.java | 2 +- .../L2IsolationDomainsCreateSamples.java | 2 +- .../L2IsolationDomainsDeleteSamples.java | 2 +- ...ationDomainsGetByResourceGroupSamples.java | 2 +- ...tionDomainsListByResourceGroupSamples.java | 2 +- .../L2IsolationDomainsListSamples.java | 2 +- ...mainsUpdateAdministrativeStateSamples.java | 2 +- .../L2IsolationDomainsUpdateSamples.java | 2 +- ...onDomainsValidateConfigurationSamples.java | 2 +- ...tionDomainsCommitConfigurationSamples.java | 2 +- .../L3IsolationDomainsCreateSamples.java | 2 +- .../L3IsolationDomainsDeleteSamples.java | 2 +- ...ationDomainsGetByResourceGroupSamples.java | 2 +- ...tionDomainsListByResourceGroupSamples.java | 2 +- .../L3IsolationDomainsListSamples.java | 2 +- ...mainsUpdateAdministrativeStateSamples.java | 2 +- .../L3IsolationDomainsUpdateSamples.java | 2 +- ...onDomainsValidateConfigurationSamples.java | 2 +- .../NeighborGroupsCreateSamples.java | 2 +- .../NeighborGroupsDeleteSamples.java | 2 +- ...ighborGroupsGetByResourceGroupSamples.java | 2 +- ...ghborGroupsListByResourceGroupSamples.java | 2 +- .../generated/NeighborGroupsListSamples.java | 2 +- .../NeighborGroupsResyncSamples.java | 2 +- .../NeighborGroupsUpdateSamples.java | 2 +- .../NetworkBootstrapDevicesCreateSamples.java | 5 +- .../NetworkBootstrapDevicesDeleteSamples.java | 2 +- ...strapDevicesGetByResourceGroupSamples.java | 2 +- ...trapDevicesListByResourceGroupSamples.java | 2 +- .../NetworkBootstrapDevicesListSamples.java | 2 +- .../NetworkBootstrapDevicesRebootSamples.java | 2 +- ...rapDevicesRefreshConfigurationSamples.java | 2 +- ...ootstrapDevicesResyncPasswordsSamples.java | 2 +- ...vicesUpdateAdministrativeStateSamples.java | 2 +- .../NetworkBootstrapDevicesUpdateSamples.java | 5 +- ...NetworkBootstrapDevicesUpgradeSamples.java | 2 +- ...tworkBootstrapInterfacesCreateSamples.java | 3 +- ...tworkBootstrapInterfacesDeleteSamples.java | 2 +- .../NetworkBootstrapInterfacesGetSamples.java | 2 +- ...esListByNetworkBootstrapDeviceSamples.java | 2 +- ...facesUpdateAdministrativeStateSamples.java | 10 +- ...tworkBootstrapInterfacesUpdateSamples.java | 7 +- .../NetworkDeviceSkusGetSamples.java | 2 +- .../NetworkDeviceSkusListSamples.java | 2 +- .../NetworkDevicesCreateSamples.java | 2 +- .../NetworkDevicesDeleteSamples.java | 2 +- ...tworkDevicesGetByResourceGroupSamples.java | 2 +- ...workDevicesListByResourceGroupSamples.java | 2 +- .../generated/NetworkDevicesListSamples.java | 2 +- .../NetworkDevicesRebootSamples.java | 2 +- ...orkDevicesRefreshConfigurationSamples.java | 2 +- ...tworkDevicesResyncCertificatesSamples.java | 4 +- .../NetworkDevicesResyncPasswordsSamples.java | 4 +- .../NetworkDevicesRunRoCommandSamples.java | 2 +- .../NetworkDevicesRunRwCommandSamples.java | 2 +- ...vicesUpdateAdministrativeStateSamples.java | 2 +- .../NetworkDevicesUpdateSamples.java | 2 +- .../NetworkDevicesUpgradeSamples.java | 2 +- ...NetworkFabricControllersCreateSamples.java | 4 +- ...NetworkFabricControllersDeleteSamples.java | 2 +- ...cControllersGetByResourceGroupSamples.java | 2 +- ...ControllersListByResourceGroupSamples.java | 2 +- .../NetworkFabricControllersListSamples.java | 2 +- ...NetworkFabricControllersUpdateSamples.java | 2 +- .../NetworkFabricSkusGetSamples.java | 4 +- .../NetworkFabricSkusListSamples.java | 2 +- ...orkFabricsArmConfigurationDiffSamples.java | 2 +- ...etworkFabricsCommitBatchStatusSamples.java | 2 +- ...workFabricsCommitConfigurationSamples.java | 2 +- .../NetworkFabricsCreateSamples.java | 17 +- .../NetworkFabricsDeleteSamples.java | 2 +- .../NetworkFabricsDeprovisionSamples.java | 2 +- ...tworkFabricsDiscardCommitBatchSamples.java | 2 +- ...tworkFabricsGetByResourceGroupSamples.java | 2 +- .../NetworkFabricsGetTopologySamples.java | 2 +- ...workFabricsListByResourceGroupSamples.java | 2 +- .../generated/NetworkFabricsListSamples.java | 2 +- .../NetworkFabricsLockFabricSamples.java | 2 +- .../NetworkFabricsProvisionSamples.java | 2 +- ...orkFabricsRefreshConfigurationSamples.java | 17 +- ...tworkFabricsResyncCertificatesSamples.java | 6 +- .../NetworkFabricsResyncPasswordsSamples.java | 6 +- ...tworkFabricsRotateCertificatesSamples.java | 6 +- .../NetworkFabricsRotatePasswordsSamples.java | 6 +- ...nfraManagementBfdConfigurationSamples.java | 2 +- .../NetworkFabricsUpdateSamples.java | 20 +- ...loadManagementBfdConfigurationSamples.java | 2 +- .../NetworkFabricsUpgradeSamples.java | 2 +- ...rkFabricsValidateConfigurationSamples.java | 2 +- ...FabricsViewDeviceConfigurationSamples.java | 2 +- .../NetworkInterfacesCreateSamples.java | 2 +- .../NetworkInterfacesDeleteSamples.java | 2 +- .../NetworkInterfacesGetSamples.java | 2 +- ...kInterfacesListByNetworkDeviceSamples.java | 2 +- ...facesUpdateAdministrativeStateSamples.java | 2 +- .../NetworkInterfacesUpdateSamples.java | 2 +- .../NetworkMonitorsCreateSamples.java | 2 +- .../NetworkMonitorsDeleteSamples.java | 2 +- ...workMonitorsGetByResourceGroupSamples.java | 2 +- ...orkMonitorsListByResourceGroupSamples.java | 2 +- .../generated/NetworkMonitorsListSamples.java | 2 +- ...itorsUpdateAdministrativeStateSamples.java | 2 +- .../NetworkMonitorsUpdateSamples.java | 2 +- .../NetworkPacketBrokersCreateSamples.java | 2 +- .../NetworkPacketBrokersDeleteSamples.java | 2 +- ...acketBrokersGetByResourceGroupSamples.java | 2 +- ...cketBrokersListByResourceGroupSamples.java | 2 +- .../NetworkPacketBrokersListSamples.java | 2 +- .../NetworkPacketBrokersUpdateSamples.java | 5 +- .../generated/NetworkRacksCreateSamples.java | 2 +- .../generated/NetworkRacksDeleteSamples.java | 2 +- ...NetworkRacksGetByResourceGroupSamples.java | 2 +- ...etworkRacksListByResourceGroupSamples.java | 2 +- .../generated/NetworkRacksListSamples.java | 2 +- .../generated/NetworkRacksUpdateSamples.java | 2 +- .../NetworkTapRulesCreateSamples.java | 2 +- .../NetworkTapRulesDeleteSamples.java | 2 +- ...workTapRulesGetByResourceGroupSamples.java | 2 +- ...orkTapRulesListByResourceGroupSamples.java | 2 +- .../generated/NetworkTapRulesListSamples.java | 2 +- .../NetworkTapRulesResyncSamples.java | 2 +- ...RulesUpdateAdministrativeStateSamples.java | 2 +- .../NetworkTapRulesUpdateSamples.java | 2 +- ...kTapRulesValidateConfigurationSamples.java | 2 +- .../generated/NetworkTapsCreateSamples.java | 2 +- .../generated/NetworkTapsDeleteSamples.java | 2 +- .../NetworkTapsGetByResourceGroupSamples.java | 2 +- ...NetworkTapsListByResourceGroupSamples.java | 2 +- .../generated/NetworkTapsListSamples.java | 2 +- .../generated/NetworkTapsResyncSamples.java | 2 +- ...kTapsUpdateAdministrativeStateSamples.java | 2 +- .../generated/NetworkTapsUpdateSamples.java | 2 +- ...rkToNetworkInterconnectsCreateSamples.java | 2 +- ...rkToNetworkInterconnectsDeleteSamples.java | 2 +- ...tworkToNetworkInterconnectsGetSamples.java | 2 +- ...terconnectsListByNetworkFabricSamples.java | 2 +- ...nectsUpdateAdministrativeStateSamples.java | 6 +- ...tsUpdateBfdAdministrativeStateSamples.java | 2 +- ...ticRouteBfdAdministrativeStateSamples.java | 3 +- ...rkToNetworkInterconnectsUpdateSamples.java | 2 +- .../generated/OperationsListSamples.java | 2 +- ...utePoliciesCommitConfigurationSamples.java | 2 +- .../generated/RoutePoliciesCreateSamples.java | 2 +- .../generated/RoutePoliciesDeleteSamples.java | 2 +- ...outePoliciesGetByResourceGroupSamples.java | 2 +- ...utePoliciesListByResourceGroupSamples.java | 2 +- .../generated/RoutePoliciesListSamples.java | 2 +- ...iciesUpdateAdministrativeStateSamples.java | 2 +- .../generated/RoutePoliciesUpdateSamples.java | 2 +- ...ePoliciesValidateConfigurationSamples.java | 2 +- ...AccessControlListPatchPropertiesTests.java | 8 +- .../AccessControlListPatchTests.java | 8 +- .../AccessControlListPropertiesTests.java | 8 +- .../AccessControlListsCreateMockTests.java | 114 +- ...tByResourceGroupWithResponseMockTests.java | 22 +- ...trolListsListByResourceGroupMockTests.java | 26 +- .../AccessControlListsListMockTests.java | 23 +- .../AccessControlListsListResultTests.java | 4 +- ...ActionIpCommunityPatchPropertiesTests.java | 20 +- .../ActionIpCommunityPropertiesTests.java | 20 +- ...ExtendedCommunityPatchPropertiesTests.java | 22 +- ...ionIpExtendedCommunityPropertiesTests.java | 24 +- .../AggregateRouteConfigurationTests.java | 20 +- ...AggregateRoutePatchConfigurationTests.java | 17 +- .../generated/AggregateRouteTests.java | 9 +- .../generated/AnnotationResourceTests.java | 8 +- ...figurationDiffResponsePropertiesTests.java | 7 +- .../generated/BfdConfigurationTests.java | 12 +- .../generated/BfdPatchConfigurationTests.java | 12 +- .../generated/BgpConfigurationTests.java | 91 +- .../generated/BgpPatchConfigurationTests.java | 85 +- .../BmpConfigurationPatchPropertiesTests.java | 87 +- .../BmpConfigurationPropertiesTests.java | 71 +- .../BmpExportPolicyPatchPropertiesTests.java | 13 +- .../BmpExportPolicyPropertiesTests.java | 13 +- .../generated/CommitBatchDetailsTests.java | 7 +- .../CommitBatchStatusRequestTests.java | 8 +- ...mitBatchStatusResponsePropertiesTests.java | 8 +- .../CommitConfigurationRequestTests.java | 11 +- ...ctionResponseForDeviceROCommandsTests.java | 6 +- ...onditionalDefaultRoutePropertiesTests.java | 41 +- .../generated/ConnectedSubnetPatchTests.java | 12 +- .../ConnectedSubnetRoutePolicyPatchTests.java | 12 +- .../ConnectedSubnetRoutePolicyTests.java | 15 +- .../generated/ConnectedSubnetTests.java | 14 +- .../generated/ControllerServicesTests.java | 9 +- .../DestinationPatchPropertiesTests.java | 38 +- .../generated/DestinationPropertiesTests.java | 32 +- .../DeviceInterfacePropertiesTests.java | 10 +- .../generated/DeviceRoCommandTests.java | 8 +- .../generated/DeviceRwCommandTests.java | 14 +- .../DiscardCommitBatchRequestTests.java | 8 +- ...ardCommitBatchResponsePropertiesTests.java | 4 +- .../generated/EdgeConnectorInnerTests.java | 52 + .../EdgeConnectorListResultTests.java | 24 + .../generated/EdgeConnectorPatchTests.java | 49 + ...EdgeConnectorPatchablePropertiesTests.java | 31 + .../EdgeConnectorPropertiesTests.java | 30 + .../EdgeConnectorsCreateMockTests.java | 63 + ...tByResourceGroupWithResponseMockTests.java | 43 + ...onnectorsListByResourceGroupMockTests.java | 43 + .../EdgeConnectorsListMockTests.java | 43 + ...xportRoutePolicyInformationPatchTests.java | 18 +- .../ExportRoutePolicyInformationTests.java | 19 +- .../ExportRoutePolicyPatchTests.java | 14 +- .../generated/ExportRoutePolicyTests.java | 16 +- ...xternalNetworkBmpPatchPropertiesTests.java | 8 +- .../ExternalNetworkBmpPropertiesTests.java | 8 +- .../generated/ExternalNetworkInnerTests.java | 268 ++-- ...PatchPropertiesOptionAPropertiesTests.java | 133 +- .../ExternalNetworkPatchPropertiesTests.java | 251 ++-- .../generated/ExternalNetworkPatchTests.java | 293 +++-- ...tworkPropertiesOptionAPropertiesTests.java | 120 +- .../ExternalNetworkPropertiesTests.java | 267 ++-- ...lNetworkStaticRouteConfigurationTests.java | 43 +- ...orkStaticRoutePatchConfigurationTests.java | 44 +- ...istrativeStateResponsePropertiesTests.java | 6 +- .../ExternalNetworksCreateMockTests.java | 150 +-- ...ernalNetworksGetWithResponseMockTests.java | 68 +- ...worksListByL3IsolationDomainMockTests.java | 72 +- .../generated/ExternalNetworksListTests.java | 67 +- .../generated/FabricLockPropertiesTests.java | 6 +- .../generated/FeatureFlagPropertiesTests.java | 12 +- .../GetTopologyResponsePropertiesTests.java | 4 +- ...workTapRuleActionPatchPropertiesTests.java | 8 +- ...alNetworkTapRuleActionPropertiesTests.java | 8 +- .../HeaderAddressPropertiesTests.java | 15 +- .../generated/IdentitySelectorPatchTests.java | 9 +- .../generated/IdentitySelectorTests.java | 14 +- ...mportRoutePolicyInformationPatchTests.java | 18 +- .../ImportRoutePolicyInformationTests.java | 15 +- .../ImportRoutePolicyPatchTests.java | 18 +- .../generated/ImportRoutePolicyTests.java | 16 +- .../InfraNetworkOptionalIpTests.java | 41 + .../generated/InfraNetworkTests.java | 41 + .../InfrastructureNetworksTests.java | 134 ++ .../InfrastructureServicesTests.java | 41 + ...nternalNetworkBmpPatchPropertiesTests.java | 14 +- .../InternalNetworkBmpPropertiesTests.java | 25 +- .../generated/InternalNetworkInnerTests.java | 285 +++-- .../InternalNetworkPatchPropertiesTests.java | 275 ++-- .../generated/InternalNetworkPatchTests.java | 263 ++-- .../InternalNetworkPropertiesTests.java | 261 ++-- ...ateBfdAdministrativeStateRequestTests.java | 14 +- ...istrativeStateResponsePropertiesTests.java | 8 +- ...ateBgpAdministrativeStateRequestTests.java | 14 +- ...istrativeStateResponsePropertiesTests.java | 6 +- .../InternalNetworksCreateMockTests.java | 211 ++-- ...ernalNetworksGetWithResponseMockTests.java | 84 +- ...worksListByL3IsolationDomainMockTests.java | 90 +- .../generated/InternalNetworksListTests.java | 59 +- .../generated/InternetGatewayInnerTests.java | 39 +- .../InternetGatewayPatchPropertiesTests.java | 8 +- .../generated/InternetGatewayPatchTests.java | 14 +- .../InternetGatewayPropertiesTests.java | 20 +- .../InternetGatewayRuleInnerTests.java | 63 +- .../InternetGatewayRulePatchTests.java | 13 +- .../InternetGatewayRulePropertiesTests.java | 57 +- .../InternetGatewayRulesCreateMockTests.java | 45 +- ...tByResourceGroupWithResponseMockTests.java | 20 +- ...ewayRulesListByResourceGroupMockTests.java | 23 +- .../InternetGatewayRulesListMockTests.java | 21 +- .../InternetGatewayRulesListResultTests.java | 16 +- .../InternetGatewaysCreateMockTests.java | 30 +- ...tByResourceGroupWithResponseMockTests.java | 18 +- ...tGatewaysListByResourceGroupMockTests.java | 18 +- .../InternetGatewaysListMockTests.java | 14 +- .../InternetGatewaysListResultTests.java | 16 +- .../IpCommunitiesCreateMockTests.java | 2 +- ...tByResourceGroupWithResponseMockTests.java | 16 +- ...mmunitiesListByResourceGroupMockTests.java | 2 +- .../generated/IpCommunitiesListMockTests.java | 2 +- .../IpCommunitiesListResultTests.java | 18 +- .../generated/IpCommunityIdListTests.java | 10 +- .../generated/IpCommunityInnerTests.java | 58 +- .../generated/IpCommunityPatchTests.java | 53 +- .../IpCommunityPatchablePropertiesTests.java | 31 +- .../generated/IpCommunityPropertiesTests.java | 54 +- .../generated/IpCommunityRuleTests.java | 22 +- .../IpExtendedCommunitiesCreateMockTests.java | 2 +- ...tByResourceGroupWithResponseMockTests.java | 2 +- ...mmunitiesListByResourceGroupMockTests.java | 2 +- .../IpExtendedCommunitiesListMockTests.java | 2 +- .../IpExtendedCommunityIdListTests.java | 8 +- .../IpExtendedCommunityInnerTests.java | 53 +- .../IpExtendedCommunityListResultTests.java | 14 +- ...ExtendedCommunityPatchPropertiesTests.java | 27 +- .../IpExtendedCommunityPatchTests.java | 41 +- .../IpExtendedCommunityPropertiesTests.java | 24 +- .../IpExtendedCommunityRuleTests.java | 20 +- .../generated/IpPrefixInnerTests.java | 65 +- .../IpPrefixPatchPropertiesTests.java | 54 +- .../generated/IpPrefixPatchTests.java | 52 +- .../generated/IpPrefixPropertiesTests.java | 52 +- .../generated/IpPrefixRuleTests.java | 32 +- .../generated/IpPrefixesCreateMockTests.java | 2 +- ...tByResourceGroupWithResponseMockTests.java | 2 +- ...pPrefixesListByResourceGroupMockTests.java | 2 +- .../generated/IpPrefixesListMockTests.java | 2 +- .../generated/IpPrefixesListResultTests.java | 18 +- .../IsolationDomainPatchPropertiesTests.java | 19 +- .../IsolationDomainPropertiesTests.java | 16 +- .../L2IsolationDomainInnerTests.java | 60 +- ...L2IsolationDomainPatchPropertiesTests.java | 26 +- .../L2IsolationDomainPatchTests.java | 37 +- .../L2IsolationDomainPropertiesTests.java | 32 +- .../L2IsolationDomainsCreateMockTests.java | 54 +- ...tByResourceGroupWithResponseMockTests.java | 2 +- .../L2IsolationDomainsListMockTests.java | 2 +- .../L2IsolationDomainsListResultTests.java | 22 +- .../L3ExportRoutePolicyPatchTests.java | 18 +- .../generated/L3ExportRoutePolicyTests.java | 15 +- .../L3IsolationDomainInnerTests.java | 110 +- ...L3IsolationDomainPatchPropertiesTests.java | 95 +- .../L3IsolationDomainPatchTests.java | 112 +- .../L3IsolationDomainPropertiesTests.java | 104 +- .../L3IsolationDomainsCreateMockTests.java | 81 +- ...tByResourceGroupWithResponseMockTests.java | 36 +- ...onDomainsListByResourceGroupMockTests.java | 39 +- .../L3IsolationDomainsListMockTests.java | 35 +- .../L3IsolationDomainsListResultTests.java | 38 +- .../L3OptionBPatchPropertiesTests.java | 42 +- .../generated/L3OptionBPropertiesTests.java | 40 +- ...iqueRouteDistinguisherPropertiesTests.java | 2 +- .../Layer2ConfigurationPatchTests.java | 17 +- .../generated/Layer2ConfigurationTests.java | 19 +- .../Layer3IpPrefixPatchPropertiesTests.java | 26 +- .../Layer3IpPrefixPropertiesTests.java | 26 +- ...anagedResourceGroupConfigurationTests.java | 12 +- .../ManagedServiceIdentityPatchTests.java | 6 +- .../ManagedServiceIdentityTests.java | 11 +- ...ntNetworkConfigurationPropertiesTests.java | 227 ++-- ...agementNetworkPatchConfigurationTests.java | 233 ++-- ...veIpv4PrefixLimitPatchPropertiesTests.java | 26 +- .../NativeIpv4PrefixLimitPropertiesTests.java | 32 +- ...veIpv6PrefixLimitPatchPropertiesTests.java | 20 +- .../NativeIpv6PrefixLimitPropertiesTests.java | 20 +- ...orAddressBfdAdministrativeStatusTests.java | 10 +- ...orAddressBgpAdministrativeStatusTests.java | 9 +- .../generated/NeighborAddressPatchTests.java | 8 +- .../generated/NeighborAddressTests.java | 8 +- .../NeighborGroupDestinationPatchTests.java | 17 +- .../NeighborGroupDestinationTests.java | 14 +- .../generated/NeighborGroupInnerTests.java | 41 +- .../NeighborGroupPatchPropertiesTests.java | 21 +- .../generated/NeighborGroupPatchTests.java | 39 +- .../NeighborGroupPropertiesTests.java | 21 +- .../NeighborGroupsCreateMockTests.java | 35 +- ...tByResourceGroupWithResponseMockTests.java | 16 +- ...borGroupsListByResourceGroupMockTests.java | 17 +- .../NeighborGroupsListMockTests.java | 12 +- .../NeighborGroupsListResultTests.java | 17 +- .../NetworkBootstrapDeviceInnerTests.java | 64 - ...NetworkBootstrapDeviceListResultTests.java | 27 - ...rkBootstrapDevicePatchPropertiesTests.java | 24 +- .../NetworkBootstrapDevicePatchTests.java | 36 +- ...NetworkBootstrapDevicePropertiesTests.java | 35 - ...etworkBootstrapDevicesCreateMockTests.java | 72 -- ...tByResourceGroupWithResponseMockTests.java | 46 - ...apDevicesListByResourceGroupMockTests.java | 47 - .../NetworkBootstrapDevicesListMockTests.java | 46 - .../NetworkBootstrapInterfaceInnerTests.java | 20 +- ...workBootstrapInterfaceListResultTests.java | 10 +- ...ootstrapInterfacePatchPropertiesTests.java | 21 +- .../NetworkBootstrapInterfacePatchTests.java | 20 +- ...workBootstrapInterfacePropertiesTests.java | 21 +- ...orkBootstrapInterfacesCreateMockTests.java | 18 +- ...rapInterfacesGetWithResponseMockTests.java | 10 +- ...ListByNetworkBootstrapDeviceMockTests.java | 10 +- ...kDevicePatchParametersPropertiesTests.java | 31 +- .../NetworkDevicePatchParametersTests.java | 43 +- ...eviceRwCommandResponsePropertiesTests.java | 4 +- .../generated/NetworkDeviceSkuInnerTests.java | 26 +- .../NetworkDeviceSkuPropertiesTests.java | 26 +- ...orkDeviceSkusGetWithResponseMockTests.java | 22 +- .../NetworkDeviceSkusListMockTests.java | 19 +- .../NetworkDeviceSkusListResultTests.java | 20 +- .../NetworkDeviceUpgradeRequestTests.java | 12 +- .../generated/NetworkFabricSkuInnerTests.java | 6 +- .../NetworkFabricSkuPropertiesTests.java | 6 +- ...orkFabricSkusGetWithResponseMockTests.java | 8 +- .../NetworkFabricSkusListMockTests.java | 6 +- .../NetworkFabricSkusListResultTests.java | 8 +- .../generated/NetworkInterfaceInnerTests.java | 26 +- .../NetworkInterfacePatchPropertiesTests.java | 12 +- .../generated/NetworkInterfacePatchTests.java | 25 +- .../NetworkInterfacePropertiesTests.java | 12 +- .../NetworkInterfacesCreateMockTests.java | 18 +- ...orkInterfacesGetWithResponseMockTests.java | 10 +- ...nterfacesListByNetworkDeviceMockTests.java | 10 +- .../generated/NetworkInterfacesListTests.java | 11 +- .../generated/NetworkMonitorInnerTests.java | 96 +- .../NetworkMonitorListResultTests.java | 34 +- .../NetworkMonitorPatchPropertiesTests.java | 80 +- .../generated/NetworkMonitorPatchTests.java | 86 +- .../NetworkMonitorPropertiesTests.java | 93 +- .../NetworkMonitorsCreateMockTests.java | 74 +- ...tByResourceGroupWithResponseMockTests.java | 34 +- ...kMonitorsListByResourceGroupMockTests.java | 38 +- .../NetworkMonitorsListMockTests.java | 36 +- .../NetworkPacketBrokerInnerTests.java | 34 +- ...tworkPacketBrokerPatchPropertiesTests.java | 26 + .../NetworkPacketBrokerPatchTests.java | 21 +- .../NetworkPacketBrokerPropertiesTests.java | 11 +- .../NetworkPacketBrokersCreateMockTests.java | 28 +- ...tByResourceGroupWithResponseMockTests.java | 13 +- ...etBrokersListByResourceGroupMockTests.java | 11 +- .../NetworkPacketBrokersListMockTests.java | 12 +- .../NetworkPacketBrokersListResultTests.java | 14 +- .../generated/NetworkRackInnerTests.java | 32 +- .../generated/NetworkRackPatchTests.java | 12 +- .../generated/NetworkRackPropertiesTests.java | 20 +- .../NetworkRacksCreateMockTests.java | 27 +- ...tByResourceGroupWithResponseMockTests.java | 12 +- ...workRacksListByResourceGroupMockTests.java | 14 +- .../generated/NetworkRacksListMockTests.java | 12 +- .../NetworkRacksListResultTests.java | 14 +- .../generated/NetworkTapInnerTests.java | 105 +- .../NetworkTapPatchPropertiesTests.java | 59 +- .../generated/NetworkTapPatchTests.java | 56 +- .../generated/NetworkTapPropertiesTests.java | 53 +- .../NetworkTapRuleActionPatchTests.java | 32 +- .../generated/NetworkTapRuleActionTests.java | 32 +- .../generated/NetworkTapRuleInnerTests.java | 335 +++-- ...etworkTapRuleMatchConditionPatchTests.java | 78 +- .../NetworkTapRuleMatchConditionTests.java | 63 +- ...rkTapRuleMatchConfigurationPatchTests.java | 185 +-- ...NetworkTapRuleMatchConfigurationTests.java | 189 +-- .../NetworkTapRulePatchPropertiesTests.java | 470 ++++--- .../generated/NetworkTapRulePatchTests.java | 462 ++++--- .../NetworkTapRulePropertiesTests.java | 642 +++++----- .../NetworkTapRulesCreateMockTests.java | 110 +- ...tByResourceGroupWithResponseMockTests.java | 28 +- ...kTapRulesListByResourceGroupMockTests.java | 30 +- .../NetworkTapRulesListMockTests.java | 28 +- .../NetworkTapRulesListResultTests.java | 29 +- .../generated/NetworkTapsCreateMockTests.java | 75 +- ...tByResourceGroupWithResponseMockTests.java | 28 +- ...tworkTapsListByResourceGroupMockTests.java | 26 +- .../generated/NetworkTapsListMockTests.java | 26 +- .../generated/NetworkTapsListResultTests.java | 25 +- ...etworkToNetworkInterconnectInnerTests.java | 266 ++-- ...tworkInterconnectPatchPropertiesTests.java | 207 +-- ...etworkToNetworkInterconnectPatchTests.java | 199 ++- ...kToNetworkInterconnectPropertiesTests.java | 255 ++-- ...ToNetworkInterconnectsCreateMockTests.java | 165 +-- ...InterconnectsGetWithResponseMockTests.java | 75 +- ...rconnectsListByNetworkFabricMockTests.java | 76 +- ...etworkToNetworkInterconnectsListTests.java | 65 +- .../generated/NniBmpPatchPropertiesTests.java | 9 +- .../generated/NniBmpPropertiesTests.java | 8 +- .../NniStaticRouteConfigurationTests.java | 41 +- ...NniStaticRoutePatchConfigurationTests.java | 48 +- ...ateBfdAdministrativeStateRequestTests.java | 14 +- ...istrativeStateResponsePropertiesTests.java | 4 +- ...NpbStaticRouteConfigurationPatchTests.java | 49 +- .../NpbStaticRouteConfigurationTests.java | 42 +- .../generated/OperationsListMockTests.java | 2 +- ...yer3ConfigurationPatchPropertiesTests.java | 50 +- .../OptionBLayer3ConfigurationTests.java | 50 +- ...Layer3PrefixLimitPatchPropertiesTests.java | 8 +- ...tionBLayer3PrefixLimitPropertiesTests.java | 10 +- .../generated/PatchInfraNetworkTests.java | 41 + .../PatchInfrastructureNetworksTests.java | 133 ++ .../PatchInfrastructureServicesTests.java | 41 + .../generated/PatchPlatformProxyTests.java | 34 + .../generated/PlatformProxyTests.java | 34 + ...ostUpgradeProfilePatchPropertiesTests.java | 31 + .../PostUpgradeProfilePropertiesTests.java | 31 + ...PreUpgradeProfilePatchPropertiesTests.java | 27 + .../PreUpgradeProfilePropertiesTests.java | 27 + .../PrefixLimitPatchPropertiesTests.java | 20 +- .../generated/PrefixLimitPropertiesTests.java | 20 +- .../generated/ProxyResourceBaseTests.java | 2 +- .../generated/QosPropertiesTests.java | 8 +- .../generated/RebootPropertiesTests.java | 8 +- ...shConfigurationRequestPropertiesTests.java | 37 + .../RoutePoliciesCreateMockTests.java | 105 +- ...tByResourceGroupWithResponseMockTests.java | 31 +- ...ePoliciesListByResourceGroupMockTests.java | 28 +- .../generated/RoutePoliciesListMockTests.java | 28 +- .../RoutePoliciesListResultTests.java | 20 +- .../generated/RoutePolicyInnerTests.java | 184 ++- .../generated/RoutePolicyPatchTests.java | 65 +- .../RoutePolicyPatchablePropertiesTests.java | 212 ++-- .../generated/RoutePolicyPropertiesTests.java | 174 ++- ...tePolicyStatementPatchPropertiesTests.java | 97 +- .../RoutePolicyStatementPropertiesTests.java | 94 +- .../RoutePrefixLimitPatchPropertiesTests.java | 12 +- .../RoutePrefixLimitPropertiesTests.java | 12 +- .../RouteTargetInformationTests.java | 26 +- .../RouteTargetPatchInformationTests.java | 28 +- .../generated/RulePropertiesTests.java | 43 +- .../SecretArchivePatchSettingsTests.java | 37 + .../generated/SecretArchiveSettingsTests.java | 39 + .../StatementActionPatchPropertiesTests.java | 61 +- .../StatementActionPropertiesTests.java | 55 +- ...tatementConditionPatchPropertiesTests.java | 26 +- .../StatementConditionPropertiesTests.java | 26 +- .../StaticRouteConfigurationTests.java | 51 +- .../StaticRoutePatchConfigurationTests.java | 46 +- .../StaticRoutePatchPropertiesTests.java | 19 +- .../generated/StaticRoutePropertiesTests.java | 14 +- .../StaticRouteRoutePolicyPatchTests.java | 18 +- .../StaticRouteRoutePolicyTests.java | 18 +- ...StationConnectionPatchPropertiesTests.java | 20 +- .../StationConnectionPropertiesTests.java | 20 +- .../StorageAccountConfigurationTests.java | 20 +- ...StorageAccountPatchConfigurationTests.java | 19 +- .../SupportedConnectorPropertiesTests.java | 6 +- .../SupportedVersionPropertiesTests.java | 10 +- ...outeDistinguisherPatchPropertiesTests.java | 10 +- ...iqueRouteDistinguisherPropertiesTests.java | 2 +- .../UpdateDeviceAdministrativeStateTests.java | 16 +- .../generated/UpdateVersionTests.java | 8 +- .../UpgradeNetworkFabricPropertiesTests.java | 17 +- ...ProfilePropertiesPatchPropertiesTests.java | 37 + .../UpgradeProfilePropertiesTests.java | 37 + .../generated/UserAssignedIdentityTests.java | 5 +- ...eConfigurationResponsePropertiesTests.java | 19 + ...eConfigurationResponsePropertiesTests.java | 7 +- .../generated/VmProfileTests.java | 24 + ...ConfigurationPatchablePropertiesTests.java | 107 +- .../VpnConfigurationPropertiesTests.java | 110 +- .../VpnOptionAPatchPropertiesTests.java | 54 +- .../generated/VpnOptionAPropertiesTests.java | 54 +- .../VpnOptionBPatchPropertiesTests.java | 40 +- .../generated/VpnOptionBPropertiesTests.java | 39 +- .../tsp-location.yaml | 4 +- 735 files changed, 22464 insertions(+), 9233 deletions(-) create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/FabricsClient.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseImpl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectivityModel.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponse.java rename sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/{fluent/models/ValidateConfigurationResponseInner.java => models/ValidateConfigurationResponseProperties.java} (50%) create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsDeleteSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsUpdateSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsCreateSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsDeleteSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsGetByResourceGroupSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListByResourceGroupSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsUpdateSamples.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorInnerTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorListResultTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchablePropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateMockTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupWithResponseMockTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupMockTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListMockTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkOptionalIpTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureNetworksTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureServicesTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceInnerTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceListResultTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePropertiesTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateMockTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupWithResponseMockTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupMockTests.java delete mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListMockTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchPropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfraNetworkTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureNetworksTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureServicesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchPlatformProxyTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PlatformProxyTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePatchPropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePatchPropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RefreshConfigurationRequestPropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchivePatchSettingsTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchiveSettingsTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesPatchPropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ValidateConfigurationResponsePropertiesTests.java create mode 100644 sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VmProfileTests.java diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md index 713adde255d7b..d33d91fe370ae 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md @@ -1,14 +1,277 @@ # Release History -## 2.1.0-beta.1 (Unreleased) +## 2.1.0-beta.1 (2026-10-22) -### 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 2026-01-15-preview. 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.ValidateConfigurationResponse` was removed + +#### `models.L2IsolationDomains` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` + +#### `models.NetworkTapRules` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String)` + +#### `models.L3IsolationDomain` was modified + +* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` +* `models.ValidateConfigurationResponse validateConfiguration(com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(com.azure.core.util.Context)` + +#### `models.NetworkFabrics` was modified + +* `refreshConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties,com.azure.core.util.Context)` + +#### `models.AccessControlList` was modified + +* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` +* `models.ValidateConfigurationResponse validateConfiguration(com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(com.azure.core.util.Context)` + +#### `models.NetworkTapRule` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(com.azure.core.util.Context)` +* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` + +#### `models.RoutePolicy` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(com.azure.core.util.Context)` +* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` + +#### `models.RoutePolicies` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String)` + +#### `models.L2IsolationDomain` was modified + +* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` +* `models.ValidateConfigurationResponse validateConfiguration(com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(com.azure.core.util.Context)` + +#### `models.AccessControlLists` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` + +#### `models.NetworkFabric` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(models.ValidateConfigurationProperties,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(models.ValidateConfigurationProperties,com.azure.core.util.Context)` +* `refreshConfiguration(com.azure.core.util.Context)` was removed +* `models.ValidateConfigurationResponse validateConfiguration(models.ValidateConfigurationProperties)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(models.ValidateConfigurationProperties)` + +#### `models.L3IsolationDomains` was modified + +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String)` + +### Features Added + +* `models.SecretArchiveSettings` was added + +* `models.PatchInfrastructureNetworks` was added + +* `models.SecretArchivePatchSettings` was added + +* `models.OperationalState` was added + +* `models.PreUpgradeProfileProperties` was added + +* `models.PatchInfrastructureServices` was added + +* `models.PreUpgradeProfilePatchProperties` was added + +* `models.PostUpgradeProfileProperties` was added + +* `models.ManagementMode` was added + +* `models.EdgeConnectorPatchableProperties` was added + +* `models.InfraNetwork` was added + +* `models.EdgeConnector$UpdateStages` was added + +* `models.GenerateBaseConfiguration` was added + +* `models.EdgeConnectorProperties` was added + +* `models.ValidateConfigurationResponseProperties` was added + +* `models.InfraNetworkOptionalIp` was added + +* `models.Fabric$DefinitionStages` was added + +* `models.RefreshConfigurationRequestProperties` was added + +* `models.PatchInfraNetwork` was added + +* `models.EdgeConnector$Update` was added + +* `models.ValidateConfigurationResponseV2` was added + +* `models.VmProfile` was added + +* `models.Fabric$UpdateStages` was added + +* `models.ConfigurationRegenerationType` was added + +* `models.EdgeConnector` was added + +* `models.EdgeConnector$DefinitionStages` was added + +* `models.Fabric$Update` was added + +* `models.Fabric` was added + +* `models.Fabric$Definition` was added + +* `models.UpgradeProfileProperties` was added + +* `models.EdgeConnector$Definition` was added + +* `models.PlatformProxy` was added + +* `models.EdgeConnectors` was added + +* `models.PostUpgradeProfilePatchProperties` was added + +* `models.FabricPatchableProperties` was added + +* `models.Fabrics` was added + +* `models.ConnectivityModel` was added + +* `models.FabricPatch` was added + +* `models.NetworkFabricRefreshDeviceTypes` was added + +* `models.ControllerType` was added + +* `models.PatchPlatformProxy` was added + +* `models.InfrastructureServices` was added + +* `models.InfrastructureNetworks` was added + +* `models.UpgradeProfilePropertiesPatchProperties` was added + +* `models.NetworkPacketBrokerPatchProperties` was added + +* `models.OperationPolicy` was added + +* `models.FabricProperties` was added + +* `models.EdgeConnectorPatch` was added + +#### `models.NetworkPacketBroker$Definition` was modified + +* `withSourceNetworkTapRuleId(java.lang.String)` was added + +#### `models.NetworkBootstrapInterface` was modified + +* `operationalState()` was added + +#### `models.NetworkBootstrapDevice$Definition` was modified + +* `withControlPlaneAcls(java.util.List)` was added + +#### `models.NetworkInterface` was modified + +* `operationalState()` was added + +#### `ManagedNetworkFabricManager` was modified + +* `edgeConnectors()` was added +* `fabrics()` was added + +#### `models.ConfigurationState` was modified + +* `COMMIT_STAGED` was added +* `COMMIT_ROLLBACK_FAILED` was added +* `COMMIT_STAGE_FAILED` was added + +#### `models.NetworkBootstrapDevicePatch` was modified + +* `controlPlaneAcls()` was added +* `withControlPlaneAcls(java.util.List)` was added + +#### `models.NetworkFabricController$Definition` was modified + +* `withVmProfile(models.VmProfile)` was added + +#### `models.NetworkBootstrapDevice$Update` was modified + +* `withControlPlaneAcls(java.util.List)` was added + +#### `models.NetworkFabric$Definition` was modified + +* `withSecretArchiveSettings(models.SecretArchiveSettings)` was added +* `withUpgradeProfile(java.util.List)` was added + +#### `models.NetworkFabrics` was modified + +* `refreshConfiguration(java.lang.String,java.lang.String,models.RefreshConfigurationRequestProperties,com.azure.core.util.Context)` was added + +#### `models.DeviceRole` was modified + +* `TERMINAL_SERVER` was added + +#### `models.NetworkDevice` was modified + +* `operationalState()` was added + +#### `models.NetworkFabricController` was modified + +* `vmProfile()` was added +* `operationalState()` was added + +#### `models.NetworkPacketBrokerPatch` was modified + +* `withProperties(models.NetworkPacketBrokerPatchProperties)` was added +* `properties()` was added + +#### `models.NetworkPacketBroker$Update` was modified + +* `withProperties(models.NetworkPacketBrokerPatchProperties)` was added + +#### `models.NetworkFabricPatch` was modified + +* `withSecretArchiveSettings(models.SecretArchivePatchSettings)` was added +* `withUpgradeProfile(java.util.List)` was added +* `secretArchiveSettings()` was added +* `upgradeProfile()` was added + +#### `models.NetworkFabric` was modified + +* `upgradeProfile()` was added +* `refreshConfiguration(models.RefreshConfigurationRequestProperties,com.azure.core.util.Context)` was added +* `operationalState()` was added +* `secretArchiveSettings()` was added +* `networkBootstrapDeviceId()` was added + +#### `models.NetworkFabric$Update` was modified + +* `withSecretArchiveSettings(models.SecretArchivePatchSettings)` was added +* `withUpgradeProfileForUpdate(java.util.List)` was added + +#### `models.NetworkBootstrapDevice` was modified + +* `secretRotationStatus()` was added +* `controlPlaneAcls()` was added +* `operationalState()` was added + +#### `models.NeighborGroup` was modified + +* `administrativeState()` was added + +#### `models.NetworkPacketBroker` was modified -### Other Changes +* `sourceNetworkTapRuleId()` was added ## 2.0.0 (2026-06-03) diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/README.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/README.md index c8438f527363d..e9eb4580c1e9e 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 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). +This package contains Microsoft Azure SDK for Managed Network Fabric Management SDK. Self service experience for Azure Network Fabric API. Package api-version 2026-01-15-preview. 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 - 2.0.0 + 2.1.0-beta.1 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md index c67bce6e1e7bb..9ac02ba36db91 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md @@ -13,6 +13,15 @@ - [UpdateAdministrativeState](#accesscontrollists_updateadministrativestate) - [ValidateConfiguration](#accesscontrollists_validateconfiguration) +## EdgeConnectors + +- [Create](#edgeconnectors_create) +- [Delete](#edgeconnectors_delete) +- [GetByResourceGroup](#edgeconnectors_getbyresourcegroup) +- [List](#edgeconnectors_list) +- [ListByResourceGroup](#edgeconnectors_listbyresourcegroup) +- [Update](#edgeconnectors_update) + ## ExternalNetworks - [Create](#externalnetworks_create) @@ -24,6 +33,15 @@ - [UpdateBfdAdministrativeState](#externalnetworks_updatebfdadministrativestate) - [UpdateStaticRouteBfdAdministrativeState](#externalnetworks_updatestaticroutebfdadministrativestate) +## Fabrics + +- [Create](#fabrics_create) +- [Delete](#fabrics_delete) +- [GetByResourceGroup](#fabrics_getbyresourcegroup) +- [List](#fabrics_list) +- [ListByResourceGroup](#fabrics_listbyresourcegroup) +- [Update](#fabrics_update) + ## InternalNetworks - [Create](#internalnetworks_create) @@ -338,7 +356,7 @@ import java.util.Map; */ public final class AccessControlListsCreateSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Create.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Create.json */ /** * Sample code: AccessControlLists_Create_MaximumSet_Gen. @@ -403,7 +421,7 @@ public final class AccessControlListsCreateSamples { } /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Create_ControlPlaneAcl.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Create_ControlPlaneAcl.json */ /** * Sample code: AccessControlLists_Create_MaximumSet_Gen - generated by [MaximumSet] rule. @@ -468,7 +486,7 @@ public final class AccessControlListsCreateSamples { */ public final class AccessControlListsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Delete.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Delete.json */ /** * Sample code: AccessControlLists_Delete_MaximumSet_Gen. @@ -490,7 +508,7 @@ public final class AccessControlListsDeleteSamples { */ public final class AccessControlListsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Get.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Get.json */ /** * Sample code: AccessControlLists_Get_MaximumSet_Gen. @@ -513,7 +531,7 @@ public final class AccessControlListsGetByResourceGroupSamples { */ public final class AccessControlListsListSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_ListBySubscription.json */ /** * Sample code: AccessControlLists_ListBySubscription_MaximumSet_Gen. @@ -535,7 +553,7 @@ public final class AccessControlListsListSamples { */ public final class AccessControlListsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_ListByResourceGroup.json */ /** * Sample code: AccessControlLists_ListByResourceGroup_MaximumSet_Gen. @@ -557,7 +575,7 @@ public final class AccessControlListsListByResourceGroupSamples { */ public final class AccessControlListsResyncSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Resync.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Resync.json */ /** * Sample code: AccessControlLists_Resync_MaximumSet_Gen. @@ -612,7 +630,7 @@ import java.util.Map; */ public final class AccessControlListsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Update.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Update.json */ /** * Sample code: AccessControlLists_Update_MaximumSet_Gen. @@ -701,7 +719,7 @@ import java.util.Arrays; */ public final class AccessControlListsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_UpdateAdministrativeState.json */ /** * Sample code: AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen. @@ -726,7 +744,7 @@ public final class AccessControlListsUpdateAdministrativeStateSamples { */ public final class AccessControlListsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_ValidateConfiguration.json */ /** * Sample code: AccessControlLists_ValidateConfiguration_MaximumSet_Gen. @@ -741,6 +759,186 @@ public final class AccessControlListsValidateConfigurationSamples { } ``` +### EdgeConnectors_Create + +```java +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for EdgeConnectors Create. + */ +public final class EdgeConnectorsCreateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Create.json + */ + /** + * Sample code: EdgeConnectors_Create_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsCreateMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors() + .define("example-edgeConnector") + .withRegion("eastus") + .withExistingResourceGroup("example-rg") + .withProperties( + new EdgeConnectorProperties().withConnectivityModel(ConnectivityModel.DIRECT).withVersion("1.0.0")) + .withTags(mapOf("environment", "production", "site", "factory-floor")) + .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; + } +} +``` + +### EdgeConnectors_Delete + +```java +/** + * Samples for EdgeConnectors Delete. + */ +public final class EdgeConnectorsDeleteSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Delete.json + */ + /** + * Sample code: EdgeConnectors_Delete_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsDeleteMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors().delete("example-rg", "example-edgeConnector", com.azure.core.util.Context.NONE); + } +} +``` + +### EdgeConnectors_GetByResourceGroup + +```java +/** + * Samples for EdgeConnectors GetByResourceGroup. + */ +public final class EdgeConnectorsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Get.json + */ + /** + * Sample code: EdgeConnectors_Get_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsGetMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors() + .getByResourceGroupWithResponse("example-rg", "example-edgeConnector", com.azure.core.util.Context.NONE); + } +} +``` + +### EdgeConnectors_List + +```java +/** + * Samples for EdgeConnectors List. + */ +public final class EdgeConnectorsListSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_ListBySubscription.json + */ + /** + * Sample code: EdgeConnectors_ListBySubscription_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsListBySubscriptionMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors().list(com.azure.core.util.Context.NONE); + } +} +``` + +### EdgeConnectors_ListByResourceGroup + +```java +/** + * Samples for EdgeConnectors ListByResourceGroup. + */ +public final class EdgeConnectorsListByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_ListByResourceGroup.json + */ + /** + * Sample code: EdgeConnectors_ListByResourceGroup_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsListByResourceGroupMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE); + } +} +``` + +### EdgeConnectors_Update + +```java +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for EdgeConnectors Update. + */ +public final class EdgeConnectorsUpdateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Update.json + */ + /** + * Sample code: EdgeConnectors_Update_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsUpdateMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + EdgeConnector resource = manager.edgeConnectors() + .getByResourceGroupWithResponse("example-rg", "example-edgeConnector", com.azure.core.util.Context.NONE) + .getValue(); + resource.update() + .withTags(mapOf("environment", "staging")) + .withProperties(new EdgeConnectorPatchableProperties().withVersion("1.1.0")) + .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; + } +} +``` + ### ExternalNetworks_Create ```java @@ -767,7 +965,7 @@ import java.util.Arrays; */ public final class ExternalNetworksCreateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Create.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Create.json */ /** * Sample code: ExternalNetworks_Create_MaximumSet_Gen. @@ -836,7 +1034,7 @@ public final class ExternalNetworksCreateSamples { */ public final class ExternalNetworksDeleteSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Delete.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Delete.json */ /** * Sample code: ExternalNetworks_Delete_MaximumSet_Gen. @@ -859,7 +1057,7 @@ public final class ExternalNetworksDeleteSamples { */ public final class ExternalNetworksGetSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Get.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Get.json */ /** * Sample code: ExternalNetworks_Get_MaximumSet_Gen. @@ -882,7 +1080,7 @@ public final class ExternalNetworksGetSamples { */ public final class ExternalNetworksListByL3IsolationDomainSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_ListByL3IsolationDomain.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_ListByL3IsolationDomain.json */ /** * Sample code: ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen. @@ -924,7 +1122,7 @@ import java.util.Arrays; */ public final class ExternalNetworksUpdateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Update.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Update.json */ /** * Sample code: ExternalNetworks_Update_MaximumSet_Gen. @@ -1000,7 +1198,7 @@ import java.util.Arrays; */ public final class ExternalNetworksUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_UpdateAdministrativeState.json */ /** * Sample code: ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen. @@ -1029,7 +1227,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpda */ public final class ExternalNetworksUpdateBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_UpdateBfdAdministrativeState.json */ /** * Sample code: ExternalNetworks_UpdateBfdAdministrativeState. @@ -1059,7 +1257,7 @@ import java.util.Arrays; */ public final class ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json */ /** * Sample code: ExternalNetworks_UpdateStaticRouteBfdAdministrativeState. @@ -1076,6 +1274,299 @@ public final class ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSample } ``` +### Fabrics_Create + +```java +import com.azure.resourcemanager.managednetworkfabric.models.ControllerType; +import com.azure.resourcemanager.managednetworkfabric.models.FabricProperties; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp; +import com.azure.resourcemanager.managednetworkfabric.models.InfrastructureNetworks; +import com.azure.resourcemanager.managednetworkfabric.models.InfrastructureServices; +import com.azure.resourcemanager.managednetworkfabric.models.ManagementMode; +import com.azure.resourcemanager.managednetworkfabric.models.OperationPolicy; +import com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for Fabrics Create. + */ +public final class FabricsCreateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Create.json + */ + /** + * Sample code: Fabrics_Create_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsCreateMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics() + .define("example-fabric") + .withRegion("eastus") + .withExistingResourceGroup("example-rg") + .withProperties(new FabricProperties() + .withInfrastructureNetworks(new InfrastructureNetworks() + .withManagement(new InfraNetwork().withVlanId(39) + .withIpv4Subnet("10.2.0.0/24") + .withIpv4Gateway("10.2.0.1") + .withIpv4StartAddr("10.2.0.20") + .withIpv4EndAddr("10.2.0.99") + .withMtu(9000)) + .withPxe(new InfraNetwork().withVlanId(40) + .withIpv4Subnet("10.2.1.0/24") + .withIpv4Gateway("10.2.1.1") + .withIpv4StartAddr("10.2.1.20") + .withIpv4EndAddr("10.2.1.99") + .withMtu(9000)) + .withBmc(new InfraNetwork().withVlanId(41) + .withIpv4Subnet("10.2.2.0/24") + .withIpv4Gateway("10.2.2.1") + .withIpv4StartAddr("10.2.2.11") + .withIpv4EndAddr("10.2.2.99") + .withMtu(1500)) + .withStorage(new InfraNetwork().withVlanId(42) + .withIpv4Subnet("10.2.3.0/24") + .withIpv4Gateway("10.2.3.1") + .withIpv4StartAddr("10.2.3.20") + .withIpv4EndAddr("10.2.3.179") + .withMtu(9000)) + .withStorageMgmt(new InfraNetworkOptionalIp().withVlanId(37).withMtu(9000))) + .withInfrastructureServices(new InfrastructureServices() + .withPlatformProxy(new PlatformProxy().withHttpProxy("http://10.2.0.60:3128") + .withHttpsProxy("http://10.2.0.60:3128") + .withNoProxy(Arrays.asList("10.2.0.0/24", "10.2.1.0/24", "10.2.2.0/24", "10.2.3.0/24", + "localhost", "169.254.169.254", ".svc"))) + .withNtpServers(Arrays.asList("10.2.0.100")) + .withDnsServers(Arrays.asList("10.2.0.50"))) + .withEdgeConnectorId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/example-edgeConnector") + .withManagementMode(ManagementMode.UNMANAGED) + .withRackCount(2) + .withFabricSku("2-rack-ha")) + .create(); + } + + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Create_Managed.json + */ + /** + * Sample code: Fabrics_Create_Managed_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void fabricsCreateManagedMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics() + .define("example-managed-fabric") + .withRegion("eastus") + .withExistingResourceGroup("example-rg") + .withProperties(new FabricProperties() + .withInfrastructureNetworks(new InfrastructureNetworks() + .withManagement(new InfraNetwork().withVlanId(39) + .withIpv4Subnet("10.2.0.0/24") + .withIpv4Gateway("10.2.0.1") + .withIpv4StartAddr("10.2.0.20") + .withIpv4EndAddr("10.2.0.99") + .withMtu(9000)) + .withPxe(new InfraNetwork().withVlanId(40) + .withIpv4Subnet("10.2.1.0/24") + .withIpv4Gateway("10.2.1.1") + .withIpv4StartAddr("10.2.1.20") + .withIpv4EndAddr("10.2.1.99") + .withMtu(9000)) + .withBmc(new InfraNetwork().withVlanId(41) + .withIpv4Subnet("10.2.2.0/24") + .withIpv4Gateway("10.2.2.1") + .withIpv4StartAddr("10.2.2.11") + .withIpv4EndAddr("10.2.2.99") + .withMtu(1500)) + .withStorage(new InfraNetwork().withVlanId(42) + .withIpv4Subnet("10.2.3.0/24") + .withIpv4Gateway("10.2.3.1") + .withIpv4StartAddr("10.2.3.20") + .withIpv4EndAddr("10.2.3.179") + .withMtu(9000)) + .withStorageMgmt(new InfraNetworkOptionalIp().withVlanId(37).withMtu(9000))) + .withInfrastructureServices(new InfrastructureServices() + .withPlatformProxy(new PlatformProxy().withHttpProxy("http://10.2.0.60:3128") + .withHttpsProxy("http://10.2.0.60:3128") + .withNoProxy(Arrays.asList("10.2.0.0/24", "10.2.1.0/24", "10.2.2.0/24", "10.2.3.0/24", + "localhost", "169.254.169.254", ".svc"))) + .withNtpServers(Arrays.asList("10.2.0.100")) + .withDnsServers(Arrays.asList("10.2.0.50"))) + .withOperationPolicy(OperationPolicy.VALIDATE_ONLY) + .withControllerEndpoint("https://apic.factory.local") + .withControllerCredentialRef("fakeTokenPlaceholder") + .withEdgeConnectorId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/example-edgeConnector") + .withManagementMode(ManagementMode.MANAGED) + .withControllerType(ControllerType.CISCO_ACI) + .withRackCount(2) + .withFabricSku("2-rack-ha")) + .withTags(mapOf("environment", "production")) + .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; + } +} +``` + +### Fabrics_Delete + +```java +/** + * Samples for Fabrics Delete. + */ +public final class FabricsDeleteSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Delete.json + */ + /** + * Sample code: Fabrics_Delete_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsDeleteMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics().delete("example-rg", "example-fabric", com.azure.core.util.Context.NONE); + } +} +``` + +### Fabrics_GetByResourceGroup + +```java +/** + * Samples for Fabrics GetByResourceGroup. + */ +public final class FabricsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Get.json + */ + /** + * Sample code: Fabrics_Get_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsGetMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics() + .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE); + } +} +``` + +### Fabrics_List + +```java +/** + * Samples for Fabrics List. + */ +public final class FabricsListSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_ListBySubscription.json + */ + /** + * Sample code: Fabrics_ListBySubscription_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void fabricsListBySubscriptionMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics().list(com.azure.core.util.Context.NONE); + } +} +``` + +### Fabrics_ListByResourceGroup + +```java +/** + * Samples for Fabrics ListByResourceGroup. + */ +public final class FabricsListByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_ListByResourceGroup.json + */ + /** + * Sample code: Fabrics_ListByResourceGroup_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void fabricsListByResourceGroupMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE); + } +} +``` + +### Fabrics_Update + +```java +import com.azure.resourcemanager.managednetworkfabric.models.Fabric; +import com.azure.resourcemanager.managednetworkfabric.models.FabricPatchableProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureServices; +import com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for Fabrics Update. + */ +public final class FabricsUpdateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Update.json + */ + /** + * Sample code: Fabrics_Update_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsUpdateMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + Fabric resource = manager.fabrics() + .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE) + .getValue(); + resource.update() + .withTags(mapOf("environment", "staging")) + .withProperties(new FabricPatchableProperties().withInfrastructureServices(new PatchInfrastructureServices() + .withPlatformProxy(new PatchPlatformProxy().withHttpProxy("http://10.2.0.61:3128") + .withHttpsProxy("http://10.2.0.61:3128") + .withNoProxy(Arrays.asList("10.2.0.0/24", "10.2.1.0/24", "localhost"))) + .withNtpServers(Arrays.asList("10.2.0.100", "10.2.0.101")) + .withDnsServers(Arrays.asList("10.2.0.50", "10.2.0.51")))) + .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; + } +} +``` + ### InternalNetworks_Create ```java @@ -1107,7 +1598,7 @@ import java.util.Arrays; */ public final class InternalNetworksCreateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Create.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Create.json */ /** * Sample code: InternalNetworks_Create_MaximumSet_Gen. @@ -1181,7 +1672,7 @@ public final class InternalNetworksCreateSamples { */ public final class InternalNetworksDeleteSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Delete.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Delete.json */ /** * Sample code: InternalNetworks_Delete_MaximumSet_Gen. @@ -1204,7 +1695,7 @@ public final class InternalNetworksDeleteSamples { */ public final class InternalNetworksGetSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Get.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Get.json */ /** * Sample code: InternalNetworks_Get_MaximumSet_Gen. @@ -1228,7 +1719,7 @@ public final class InternalNetworksGetSamples { */ public final class InternalNetworksListByL3IsolationDomainSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_ListByL3IsolationDomain.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_ListByL3IsolationDomain.json */ /** * Sample code: InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen. @@ -1272,7 +1763,7 @@ import java.util.Arrays; */ public final class InternalNetworksUpdateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Update.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Update.json */ /** * Sample code: InternalNetworks_Update_MaximumSet_Gen. @@ -1346,7 +1837,7 @@ import java.util.Arrays; */ public final class InternalNetworksUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen. @@ -1375,7 +1866,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpda */ public final class InternalNetworksUpdateBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateBfdAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateBfdAdministrativeState. @@ -1405,7 +1896,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpda */ public final class InternalNetworksUpdateBgpAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateBgpAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen. @@ -1435,7 +1926,7 @@ import java.util.Arrays; */ public final class InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateStaticRouteBfdAdministrativeState. @@ -1468,7 +1959,7 @@ import java.util.Map; */ public final class InternetGatewayRulesCreateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Create.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Create.json */ /** * Sample code: InternetGatewayRules_Create_MaximumSet_Gen. @@ -1515,7 +2006,7 @@ public final class InternetGatewayRulesCreateSamples { */ public final class InternetGatewayRulesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Delete.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Delete.json */ /** * Sample code: InternetGatewayRules_Delete_MaximumSet_Gen. @@ -1538,7 +2029,7 @@ public final class InternetGatewayRulesDeleteSamples { */ public final class InternetGatewayRulesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Get.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Get.json */ /** * Sample code: InternetGatewayRules_Get_MaximumSet_Gen. @@ -1562,7 +2053,7 @@ public final class InternetGatewayRulesGetByResourceGroupSamples { */ public final class InternetGatewayRulesListSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_ListBySubscription.json */ /** * Sample code: InternetGatewayRules_ListBySubscription_MaximumSet_Gen. @@ -1584,7 +2075,7 @@ public final class InternetGatewayRulesListSamples { */ public final class InternetGatewayRulesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_ListByResourceGroup.json */ /** * Sample code: InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen. @@ -1611,7 +2102,7 @@ import java.util.Map; */ public final class InternetGatewayRulesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Update.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Update.json */ /** * Sample code: InternetGatewayRules_Update_MaximumSet_Gen. @@ -1653,7 +2144,7 @@ import java.util.Map; */ public final class InternetGatewaysCreateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Create.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Create.json */ /** * Sample code: InternetGateways_Create_MaximumSet_Gen. @@ -1699,7 +2190,7 @@ public final class InternetGatewaysCreateSamples { */ public final class InternetGatewaysDeleteSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Delete.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Delete.json */ /** * Sample code: InternetGateways_Delete_MaximumSet_Gen. @@ -1721,7 +2212,7 @@ public final class InternetGatewaysDeleteSamples { */ public final class InternetGatewaysGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Get.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Get.json */ /** * Sample code: InternetGateways_Get_MaximumSet_Gen. @@ -1744,7 +2235,7 @@ public final class InternetGatewaysGetByResourceGroupSamples { */ public final class InternetGatewaysListSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_ListBySubscription.json */ /** * Sample code: InternetGateways_ListBySubscription_MaximumSet_Gen. @@ -1766,7 +2257,7 @@ public final class InternetGatewaysListSamples { */ public final class InternetGatewaysListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_ListByResourceGroup.json */ /** * Sample code: InternetGateways_ListByResourceGroup_MaximumSet_Gen. @@ -1792,7 +2283,7 @@ import java.util.Map; */ public final class InternetGatewaysUpdateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Update.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Update.json */ /** * Sample code: InternetGateways_Update_MaximumSet_Gen. @@ -1840,7 +2331,7 @@ import java.util.Map; */ public final class IpCommunitiesCreateSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Create.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Create.json */ /** * Sample code: IpCommunities_Create_MaximumSet_Gen. @@ -1884,7 +2375,7 @@ public final class IpCommunitiesCreateSamples { */ public final class IpCommunitiesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Delete.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Delete.json */ /** * Sample code: IpCommunities_Delete_MaximumSet_Gen. @@ -1906,7 +2397,7 @@ public final class IpCommunitiesDeleteSamples { */ public final class IpCommunitiesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Get.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Get.json */ /** * Sample code: IpCommunities_Get_MaximumSet_Gen. @@ -1929,7 +2420,7 @@ public final class IpCommunitiesGetByResourceGroupSamples { */ public final class IpCommunitiesListSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_ListBySubscription.json */ /** * Sample code: IpCommunities_ListBySubscription_MaximumSet_Gen. @@ -1951,7 +2442,7 @@ public final class IpCommunitiesListSamples { */ public final class IpCommunitiesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_ListByResourceGroup.json */ /** * Sample code: IpCommunities_ListByResourceGroup_MaximumSet_Gen. @@ -1981,7 +2472,7 @@ import java.util.Map; */ public final class IpCommunitiesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Update.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Update.json */ /** * Sample code: IpCommunities_Update_MaximumSet_Gen. @@ -2030,7 +2521,7 @@ import java.util.Map; */ public final class IpExtendedCommunitiesCreateSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Create.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Create.json */ /** * Sample code: IpExtendedCommunities_Create_MaximumSet_Gen. @@ -2074,7 +2565,7 @@ public final class IpExtendedCommunitiesCreateSamples { */ public final class IpExtendedCommunitiesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Delete.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Delete.json */ /** * Sample code: IpExtendedCommunities_Delete_MaximumSet_Gen. @@ -2097,7 +2588,7 @@ public final class IpExtendedCommunitiesDeleteSamples { */ public final class IpExtendedCommunitiesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Get.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Get.json */ /** * Sample code: IpExtendedCommunities_Get_MaximumSet_Gen. @@ -2121,7 +2612,7 @@ public final class IpExtendedCommunitiesGetByResourceGroupSamples { */ public final class IpExtendedCommunitiesListSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_ListBySubscription.json */ /** * Sample code: IpExtendedCommunities_ListBySubscription_MaximumSet_Gen. @@ -2143,7 +2634,7 @@ public final class IpExtendedCommunitiesListSamples { */ public final class IpExtendedCommunitiesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_ListByResourceGroup.json */ /** * Sample code: IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen. @@ -2172,7 +2663,7 @@ import java.util.Map; */ public final class IpExtendedCommunitiesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Update.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Update.json */ /** * Sample code: IpExtendedCommunities_Update_MaximumSet_Gen. @@ -2224,7 +2715,7 @@ import java.util.Map; */ public final class IpPrefixesCreateSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Create.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Create.json */ /** * Sample code: IpPrefixes_Create_MaximumSet_Gen. @@ -2269,7 +2760,7 @@ public final class IpPrefixesCreateSamples { */ public final class IpPrefixesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Delete.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Delete.json */ /** * Sample code: IpPrefixes_Delete_MaximumSet_Gen. @@ -2291,7 +2782,7 @@ public final class IpPrefixesDeleteSamples { */ public final class IpPrefixesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Get.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Get.json */ /** * Sample code: IpPrefixes_Get_MaximumSet_Gen. @@ -2314,7 +2805,7 @@ public final class IpPrefixesGetByResourceGroupSamples { */ public final class IpPrefixesListSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_ListBySubscription.json */ /** * Sample code: IpPrefixes_ListBySubscription_MaximumSet_Gen. @@ -2336,7 +2827,7 @@ public final class IpPrefixesListSamples { */ public final class IpPrefixesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_ListByResourceGroup.json */ /** * Sample code: IpPrefixes_ListByResourceGroup_MaximumSet_Gen. @@ -2366,7 +2857,7 @@ import java.util.Map; */ public final class IpPrefixesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Update.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Update.json */ /** * Sample code: IpPrefixes_Update_MaximumSet_Gen. @@ -2411,7 +2902,7 @@ public final class IpPrefixesUpdateSamples { */ public final class L2IsolationDomainsCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_CommitConfiguration.json */ /** * Sample code: L2IsolationDomains_CommitConfiguration_MaximumSet_Gen. @@ -2441,7 +2932,7 @@ import java.util.Map; */ public final class L2IsolationDomainsCreateSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Create.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Create.json */ /** * Sample code: L2IsolationDomains_Create_MaximumSet_Gen. @@ -2490,7 +2981,7 @@ public final class L2IsolationDomainsCreateSamples { */ public final class L2IsolationDomainsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Delete.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Delete.json */ /** * Sample code: L2IsolationDomains_Delete_MaximumSet_Gen. @@ -2512,7 +3003,7 @@ public final class L2IsolationDomainsDeleteSamples { */ public final class L2IsolationDomainsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Get.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Get.json */ /** * Sample code: L2IsolationDomains_Get_MaximumSet_Gen. @@ -2535,7 +3026,7 @@ public final class L2IsolationDomainsGetByResourceGroupSamples { */ public final class L2IsolationDomainsListSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_ListBySubscription.json */ /** * Sample code: L2IsolationDomains_ListBySubscription_MaximumSet_Gen. @@ -2557,7 +3048,7 @@ public final class L2IsolationDomainsListSamples { */ public final class L2IsolationDomainsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_ListByResourceGroup.json */ /** * Sample code: L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen. @@ -2586,7 +3077,7 @@ import java.util.Map; */ public final class L2IsolationDomainsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Update.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Update.json */ /** * Sample code: L2IsolationDomains_Update_MaximumSet_Gen. @@ -2635,7 +3126,7 @@ import java.util.Arrays; */ public final class L2IsolationDomainsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_UpdateAdministrativeState.json */ /** * Sample code: L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen. @@ -2660,7 +3151,7 @@ public final class L2IsolationDomainsUpdateAdministrativeStateSamples { */ public final class L2IsolationDomainsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_ValidateConfiguration.json */ /** * Sample code: L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen. @@ -2683,7 +3174,7 @@ public final class L2IsolationDomainsValidateConfigurationSamples { */ public final class L3IsolationDomainsCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_CommitConfiguration.json */ /** * Sample code: L3IsolationDomains_CommitConfiguration_MaximumSet_Gen. @@ -2722,7 +3213,7 @@ import java.util.Map; */ public final class L3IsolationDomainsCreateSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Create.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Create.json */ /** * Sample code: L3IsolationDomains_Create_MaximumSet_Gen. @@ -2784,7 +3275,7 @@ public final class L3IsolationDomainsCreateSamples { */ public final class L3IsolationDomainsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Delete.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Delete.json */ /** * Sample code: L3IsolationDomains_Delete_MaximumSet_Gen. @@ -2806,7 +3297,7 @@ public final class L3IsolationDomainsDeleteSamples { */ public final class L3IsolationDomainsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Get.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Get.json */ /** * Sample code: L3IsolationDomains_Get_MaximumSet_Gen. @@ -2829,7 +3320,7 @@ public final class L3IsolationDomainsGetByResourceGroupSamples { */ public final class L3IsolationDomainsListSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_ListBySubscription.json */ /** * Sample code: L3IsolationDomains_ListBySubscription_MaximumSet_Gen. @@ -2851,7 +3342,7 @@ public final class L3IsolationDomainsListSamples { */ public final class L3IsolationDomainsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_ListByResourceGroup.json */ /** * Sample code: L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen. @@ -2891,7 +3382,7 @@ import java.util.Map; */ public final class L3IsolationDomainsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Update.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Update.json */ /** * Sample code: L3IsolationDomains_Update_MaximumSet_Gen. @@ -2956,7 +3447,7 @@ import java.util.Arrays; */ public final class L3IsolationDomainsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_UpdateAdministrativeState.json */ /** * Sample code: L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen. @@ -2981,7 +3472,7 @@ public final class L3IsolationDomainsUpdateAdministrativeStateSamples { */ public final class L3IsolationDomainsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_ValidateConfiguration.json */ /** * Sample code: L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen. @@ -3012,7 +3503,7 @@ import java.util.Map; */ public final class NeighborGroupsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Create.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Create.json */ /** * Sample code: NeighborGroups_Create_MaximumSet_Gen. @@ -3058,7 +3549,7 @@ public final class NeighborGroupsCreateSamples { */ public final class NeighborGroupsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Delete.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Delete.json */ /** * Sample code: NeighborGroups_Delete_MaximumSet_Gen. @@ -3080,7 +3571,7 @@ public final class NeighborGroupsDeleteSamples { */ public final class NeighborGroupsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Get.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Get.json */ /** * Sample code: NeighborGroups_Get_MaximumSet_Gen. @@ -3103,7 +3594,7 @@ public final class NeighborGroupsGetByResourceGroupSamples { */ public final class NeighborGroupsListSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_ListBySubscription.json */ /** * Sample code: NeighborGroups_ListBySubscription_MaximumSet_Gen. @@ -3125,7 +3616,7 @@ public final class NeighborGroupsListSamples { */ public final class NeighborGroupsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_ListByResourceGroup.json */ /** * Sample code: NeighborGroups_ListByResourceGroup_MaximumSet_Gen. @@ -3147,7 +3638,7 @@ public final class NeighborGroupsListByResourceGroupSamples { */ public final class NeighborGroupsResyncSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Resync.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Resync.json */ /** * Sample code: NeighborGroups_Resync. @@ -3178,7 +3669,7 @@ import java.util.Map; */ public final class NeighborGroupsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Update.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Update.json */ /** * Sample code: NeighborGroups_Update_MaximumSet_Gen. @@ -3222,6 +3713,7 @@ public final class NeighborGroupsUpdateSamples { import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -3230,7 +3722,7 @@ import java.util.Map; */ public final class NetworkBootstrapDevicesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Create.json */ /** * Sample code: NetworkBootstrapDevices_Create_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3250,6 +3742,8 @@ public final class NetworkBootstrapDevicesCreateSamples { .withAnnotation("annotation") .withHostName("NFA-Device") .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX") + .withControlPlaneAcls(Arrays.asList( + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")) .withNetworkDeviceSku("DeviceSku") .create(); } @@ -3276,7 +3770,7 @@ public final class NetworkBootstrapDevicesCreateSamples { */ public final class NetworkBootstrapDevicesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Delete.json */ /** * Sample code: NetworkBootstrapDevices_Delete_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3299,7 +3793,7 @@ public final class NetworkBootstrapDevicesDeleteSamples { */ public final class NetworkBootstrapDevicesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Get.json */ /** * Sample code: NetworkBootstrapDevices_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] @@ -3323,7 +3817,7 @@ public final class NetworkBootstrapDevicesGetByResourceGroupSamples { */ public final class NetworkBootstrapDevicesListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_ListBySubscription.json */ /** * Sample code: NetworkBootstrapDevices_ListBySubscription. @@ -3345,7 +3839,7 @@ public final class NetworkBootstrapDevicesListSamples { */ public final class NetworkBootstrapDevicesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_ListByResourceGroup.json */ /** * Sample code: NetworkBootstrapDevices_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule - generated @@ -3369,7 +3863,7 @@ public final class NetworkBootstrapDevicesListByResourceGroupSamples { */ public final class NetworkBootstrapDevicesRebootSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Reboot.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Reboot.json */ /** * Sample code: NetworkBootstrapDevices_Reboot_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3392,7 +3886,7 @@ public final class NetworkBootstrapDevicesRebootSamples { */ public final class NetworkBootstrapDevicesRefreshConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_RefreshConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_RefreshConfiguration.json */ /** * Sample code: NetworkBootstrapDevices_RefreshConfiguration_MaximumSet - generated by [MaximumSet] rule - generated @@ -3417,7 +3911,7 @@ public final class NetworkBootstrapDevicesRefreshConfigurationSamples { */ public final class NetworkBootstrapDevicesResyncPasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ResyncPasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_ResyncPasswords.json */ /** * Sample code: Resync the latest passwords to the Network Bootstrap Device. - generated by [MaximumSet] rule - @@ -3441,6 +3935,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdent import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -3449,7 +3944,7 @@ import java.util.Map; */ public final class NetworkBootstrapDevicesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Update.json */ /** * Sample code: NetworkBootstrapDevices_Update_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3469,6 +3964,8 @@ public final class NetworkBootstrapDevicesUpdateSamples { .withAnnotation("annotation") .withHostName("NFA-Device") .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX") + .withControlPlaneAcls(Arrays.asList( + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")) .apply(); } @@ -3498,7 +3995,7 @@ import java.util.Arrays; */ public final class NetworkBootstrapDevicesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_UpdateAdministrativeState.json */ /** * Sample code: NetworkBootstrapDevices_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule - @@ -3529,7 +4026,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion; */ public final class NetworkBootstrapDevicesUpgradeSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Upgrade.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Upgrade.json */ /** * Sample code: NetworkBootstrapDevices_Upgrade_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3554,7 +4051,7 @@ public final class NetworkBootstrapDevicesUpgradeSamples { */ public final class NetworkBootstrapInterfacesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Create.json */ /** * Sample code: NetworkBootstrapInterfaces_Create_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3568,7 +4065,6 @@ public final class NetworkBootstrapInterfacesCreateSamples { .define("example-interface") .withExistingNetworkBootstrapDevice("example-rg", "example-device") .withAdditionalDescription("additionalDescription") - .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX") .withAnnotation("annotation") .create(); } @@ -3583,7 +4079,7 @@ public final class NetworkBootstrapInterfacesCreateSamples { */ public final class NetworkBootstrapInterfacesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Delete.json */ /** * Sample code: NetworkBootstrapInterfaces_Delete_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3607,7 +4103,7 @@ public final class NetworkBootstrapInterfacesDeleteSamples { */ public final class NetworkBootstrapInterfacesGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Get.json */ /** * Sample code: NetworkBootstrapInterfaces_Get_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3631,7 +4127,7 @@ public final class NetworkBootstrapInterfacesGetSamples { */ public final class NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice.json */ /** * Sample code: NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice_MaximumSet - generated by [MaximumSet] rule @@ -3658,7 +4154,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInt */ public final class NetworkBootstrapInterfacesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Update.json */ /** * Sample code: NetworkBootstrapInterfaces_Update_MaximumSet - generated by [MaximumSet] rule - generated by @@ -3671,10 +4167,7 @@ public final class NetworkBootstrapInterfacesUpdateSamples { 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(); + resource.update().withAnnotation("annotation").apply(); } } ``` @@ -3691,15 +4184,17 @@ import java.util.Arrays; */ public final class NetworkBootstrapInterfacesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_UpdateAdministrativeState.json */ /** - * Sample code: NetworkBootstrapInterfaces_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule. + * Sample code: NetworkBootstrapInterfaces_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule - + * generated by [MaximumSet] rule. * * @param manager Entry point to ManagedNetworkFabricManager. */ - public static void networkBootstrapInterfacesUpdateAdministrativeStateMaximumSetGeneratedByMaximumSetRule( - com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + public static void + networkBootstrapInterfacesUpdateAdministrativeStateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { manager.networkBootstrapInterfaces() .updateAdministrativeState("example-rg", "example-device", "example-interface", new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE), @@ -3716,7 +4211,7 @@ public final class NetworkBootstrapInterfacesUpdateAdministrativeStateSamples { */ public final class NetworkDeviceSkusGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDeviceSkus_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkDeviceSkus_Get.json */ /** * Sample code: NetworkDeviceSkus_Get_MaximumSet_Gen. @@ -3738,7 +4233,7 @@ public final class NetworkDeviceSkusGetSamples { */ public final class NetworkDeviceSkusListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDeviceSkus_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkDeviceSkus_ListBySubscription.json */ /** * Sample code: NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen. @@ -3768,7 +4263,7 @@ import java.util.Map; */ public final class NetworkDevicesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Create.json */ /** * Sample code: NetworkDevices_Create_MaximumSet_Gen. @@ -3819,7 +4314,7 @@ public final class NetworkDevicesCreateSamples { */ public final class NetworkDevicesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Delete.json */ /** * Sample code: NetworkDevices_Delete_MaximumSet_Gen. @@ -3841,7 +4336,7 @@ public final class NetworkDevicesDeleteSamples { */ public final class NetworkDevicesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Get.json */ /** * Sample code: NetworkDevices_Get_MaximumSet_Gen. @@ -3864,7 +4359,7 @@ public final class NetworkDevicesGetByResourceGroupSamples { */ public final class NetworkDevicesListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ListBySubscription.json */ /** * Sample code: NetworkDevices_ListBySubscription_MaximumSet_Gen. @@ -3886,7 +4381,7 @@ public final class NetworkDevicesListSamples { */ public final class NetworkDevicesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ListByResourceGroup.json */ /** * Sample code: NetworkDevices_ListByResourceGroup_MaximumSet_Gen. @@ -3911,7 +4406,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.RebootType; */ public final class NetworkDevicesRebootSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Reboot.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Reboot.json */ /** * Sample code: NetworkDevices_Reboot_MaximumSet_Gen. @@ -3936,7 +4431,7 @@ public final class NetworkDevicesRebootSamples { */ public final class NetworkDevicesRefreshConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_RefreshConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_RefreshConfiguration.json */ /** * Sample code: NetworkDevices_RefreshConfiguration_MaximumSet_Gen. @@ -3958,7 +4453,7 @@ public final class NetworkDevicesRefreshConfigurationSamples { */ public final class NetworkDevicesResyncCertificatesSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncCertificates.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncCertificates.json */ /** * Sample code: Successful certificate resync. @@ -3971,7 +4466,7 @@ public final class NetworkDevicesResyncCertificatesSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncCertificates_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncCertificates_Error.json */ /** * Sample code: Error while performing certificate resync. @@ -3993,7 +4488,7 @@ public final class NetworkDevicesResyncCertificatesSamples { */ public final class NetworkDevicesResyncPasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncPasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncPasswords.json */ /** * Sample code: Successful password resync. @@ -4006,7 +4501,7 @@ public final class NetworkDevicesResyncPasswordsSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncPasswords_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncPasswords_Error.json */ /** * Sample code: Error while performing password resync. @@ -4030,7 +4525,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.DeviceRoCommand; */ public final class NetworkDevicesRunRoCommandSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_RunRoCommand.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_RunRoCommand.json */ /** * Sample code: NetworkDevices_RunRoCommand_MaximumSet_Gen. @@ -4056,7 +4551,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.DeviceRwCommand; */ public final class NetworkDevicesRunRwCommandSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_RunRwCommand.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_RunRwCommand.json */ /** * Sample code: NetworkDevices_RunRwCommand_MaximumSet_Gen. @@ -4091,7 +4586,7 @@ import java.util.Map; */ public final class NetworkDevicesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Update.json */ /** * Sample code: NetworkDevices_Update_MaximumSet_Gen. @@ -4145,7 +4640,7 @@ import java.util.Arrays; */ public final class NetworkDevicesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_UpdateAdministrativeState.json */ /** * Sample code: NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen. @@ -4173,7 +4668,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgrad */ public final class NetworkDevicesUpgradeSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Upgrade.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Upgrade.json */ /** * Sample code: NetworkDevices_Upgrade_MaximumSet_Gen - generated by [MaximumSet] rule. @@ -4200,6 +4695,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdent import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.NfcSku; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import com.azure.resourcemanager.managednetworkfabric.models.VmProfile; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -4209,7 +4705,7 @@ import java.util.Map; */ public final class NetworkFabricControllersCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Create.json */ /** * Sample code: NetworkFabricControllers_Create_MaximumSet_Gen. @@ -4240,6 +4736,7 @@ public final class NetworkFabricControllersCreateSamples { .withIpv4AddressSpace("172.253.0.0/19") .withIpv6AddressSpace("::/60") .withNfcSku(NfcSku.STANDARD) + .withVmProfile(new VmProfile().withVmSkuName("Standard_D4s_v3")) .create(); } @@ -4265,7 +4762,7 @@ public final class NetworkFabricControllersCreateSamples { */ public final class NetworkFabricControllersDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Delete.json */ /** * Sample code: NetworkFabricControllers_Delete_MaximumSet_Gen. @@ -4288,7 +4785,7 @@ public final class NetworkFabricControllersDeleteSamples { */ public final class NetworkFabricControllersGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Get.json */ /** * Sample code: NetworkFabricControllers_Get_MaximumSet_Gen. @@ -4312,7 +4809,7 @@ public final class NetworkFabricControllersGetByResourceGroupSamples { */ public final class NetworkFabricControllersListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_ListBySubscription.json */ /** * Sample code: NetworkFabricControllers_ListBySubscription_MaximumSet_Gen. @@ -4334,7 +4831,7 @@ public final class NetworkFabricControllersListSamples { */ public final class NetworkFabricControllersListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_ListByResourceGroup.json */ /** * Sample code: NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen. @@ -4365,7 +4862,7 @@ import java.util.Map; */ public final class NetworkFabricControllersUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Update.json */ /** * Sample code: NetworkFabricControllers_Update_MaximumSet_Gen. @@ -4414,7 +4911,7 @@ public final class NetworkFabricControllersUpdateSamples { */ public final class NetworkFabricSkusGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricSkus_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricSkus_Get.json */ /** * Sample code: NetworkFabricSkus_Get_MaximumSet_Gen. @@ -4423,7 +4920,7 @@ public final class NetworkFabricSkusGetSamples { */ public static void networkFabricSkusGetMaximumSetGen( com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { - manager.networkFabricSkus().getWithResponse("example-fabricsku", com.azure.core.util.Context.NONE); + manager.networkFabricSkus().getWithResponse("wxample-fabricsku", com.azure.core.util.Context.NONE); } } ``` @@ -4436,7 +4933,7 @@ public final class NetworkFabricSkusGetSamples { */ public final class NetworkFabricSkusListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricSkus_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricSkus_ListBySubscription.json */ /** * Sample code: NetworkFabricSkus_ListBySubscription_MaximumSet_Gen. @@ -4458,7 +4955,7 @@ public final class NetworkFabricSkusListSamples { */ public final class NetworkFabricsArmConfigurationDiffSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ArmConfigurationDiff.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ArmConfigurationDiff.json */ /** * Sample code: NetworkFabrics_ArmConfigurationDiff_MaximumSet. @@ -4482,7 +4979,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRe */ public final class NetworkFabricsCommitBatchStatusSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_CommitBatchStatus.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_CommitBatchStatus.json */ /** * Sample code: NetworkFabrics_CommitBatchStatus_MaximumSet. @@ -4507,7 +5004,7 @@ public final class NetworkFabricsCommitBatchStatusSamples { */ public final class NetworkFabricsCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_CommitConfiguration.json */ /** * Sample code: NetworkFabrics_CommitConfiguration_MaximumSet_Gen. @@ -4534,11 +5031,15 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdent 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.PostUpgradeProfileProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties; import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings; 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.UpgradeProfileProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties; import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties; @@ -4552,7 +5053,7 @@ import java.util.Map; */ public final class NetworkFabricsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Create.json */ /** * Sample code: NetworkFabrics_Create_MaximumSet_Gen. @@ -4642,6 +5143,17 @@ public final class NetworkFabricsCreateSamples { .withStorageArrayCount(1) .withAuthorizedTransceiver( new AuthorizedTransceiverProperties().withVendor("vendorX").withKey("fakeTokenPlaceholder")) + .withSecretArchiveSettings(new SecretArchiveSettings().withAssociatedIdentity(new IdentitySelector() + .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity")) + .withVaultUri("https://myvault.vault.azure.net/")) + .withUpgradeProfile(Arrays.asList(new UpgradeProfileProperties() + .withPreUpgradeProfile( + new PreUpgradeProfileProperties().withMaxEnteringMaintenanceTimeoutInSeconds(300)) + .withPostUpgradeProfile( + new PostUpgradeProfileProperties().withMaxExitingMaintenanceTimeoutInSeconds(3000) + .withMlagReloadDelayTimeoutInSeconds(900)))) .withAnnotation("annotation") .create(); } @@ -4668,7 +5180,7 @@ public final class NetworkFabricsCreateSamples { */ public final class NetworkFabricsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Delete.json */ /** * Sample code: NetworkFabrics_Delete_MaximumSet_Gen. @@ -4690,7 +5202,7 @@ public final class NetworkFabricsDeleteSamples { */ public final class NetworkFabricsDeprovisionSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Deprovision.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Deprovision.json */ /** * Sample code: NetworkFabrics_Deprovision_MaximumSet_Gen. @@ -4714,7 +5226,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchR */ public final class NetworkFabricsDiscardCommitBatchSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_DiscardCommitBatch.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_DiscardCommitBatch.json */ /** * Sample code: NetworkFabrics_DiscardCommitBatch. @@ -4738,7 +5250,7 @@ public final class NetworkFabricsDiscardCommitBatchSamples { */ public final class NetworkFabricsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Get.json */ /** * Sample code: NetworkFabrics_Get_MaximumSet_Gen. @@ -4761,7 +5273,7 @@ public final class NetworkFabricsGetByResourceGroupSamples { */ public final class NetworkFabricsGetTopologySamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_GetTopology.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_GetTopology.json */ /** * Sample code: NetworkFabrics_GetTopology_MaximumSet_Gen. @@ -4783,7 +5295,7 @@ public final class NetworkFabricsGetTopologySamples { */ public final class NetworkFabricsListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ListBySubscription.json */ /** * Sample code: NetworkFabrics_ListBySubscription_MaximumSet_Gen. @@ -4805,7 +5317,7 @@ public final class NetworkFabricsListSamples { */ public final class NetworkFabricsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ListByResourceGroup.json */ /** * Sample code: NetworkFabrics_ListByResourceGroup_MaximumSet_Gen. @@ -4831,7 +5343,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockTy */ public final class NetworkFabricsLockFabricSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_LockFabric.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_LockFabric.json */ /** * Sample code: NetworkFabrics_LockFabric_MaximumSet. @@ -4857,7 +5369,7 @@ public final class NetworkFabricsLockFabricSamples { */ public final class NetworkFabricsProvisionSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Provision.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Provision.json */ /** * Sample code: NetworkFabrics_Provision_MaximumSet_Gen. @@ -4874,12 +5386,18 @@ public final class NetworkFabricsProvisionSamples { ### NetworkFabrics_RefreshConfiguration ```java +import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationRegenerationType; +import com.azure.resourcemanager.managednetworkfabric.models.GenerateBaseConfiguration; +import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRefreshDeviceTypes; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; +import java.util.Arrays; + /** * Samples for NetworkFabrics RefreshConfiguration. */ public final class NetworkFabricsRefreshConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RefreshConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RefreshConfiguration.json */ /** * Sample code: NetworkFabrics_RefreshConfiguration_MaximumSet_Gen. @@ -4888,7 +5406,14 @@ public final class NetworkFabricsRefreshConfigurationSamples { */ public static void networkFabricsRefreshConfigurationMaximumSetGen( com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { - manager.networkFabrics().refreshConfiguration("example-rg", "example-fabric", com.azure.core.util.Context.NONE); + manager.networkFabrics() + .refreshConfiguration("example-rg", "example-fabric", + new RefreshConfigurationRequestProperties() + .withGenerateBaseConfiguration(GenerateBaseConfiguration.DISABLED) + .withConfigurationRegenerationType(ConfigurationRegenerationType.fromString("Full")) + .withDeviceTypes( + Arrays.asList(NetworkFabricRefreshDeviceTypes.CE, NetworkFabricRefreshDeviceTypes.TOR)), + com.azure.core.util.Context.NONE); } } ``` @@ -4901,7 +5426,7 @@ public final class NetworkFabricsRefreshConfigurationSamples { */ public final class NetworkFabricsResyncCertificatesSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncCertificates.json */ /** * Sample code: Successful certificate resync for all Network Devices. @@ -4914,7 +5439,7 @@ public final class NetworkFabricsResyncCertificatesSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncCertificates_Error.json */ /** * Sample code: Total failure to resync certificates. @@ -4927,7 +5452,7 @@ public final class NetworkFabricsResyncCertificatesSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncCertificates_PartialSuccess.json */ /** * Sample code: Partial failure to resync certificates for some devices. @@ -4949,7 +5474,7 @@ public final class NetworkFabricsResyncCertificatesSamples { */ public final class NetworkFabricsResyncPasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncPasswords_PartialSuccess.json */ /** * Sample code: Partial failure to resync passwords for some devices. @@ -4962,7 +5487,7 @@ public final class NetworkFabricsResyncPasswordsSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncPasswords_Error.json */ /** * Sample code: Total failure to resync passwords. @@ -4975,7 +5500,7 @@ public final class NetworkFabricsResyncPasswordsSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncPasswords.json */ /** * Sample code: Successful password resync for the Terminal Server and all Network Devices. @@ -4997,7 +5522,7 @@ public final class NetworkFabricsResyncPasswordsSamples { */ public final class NetworkFabricsRotateCertificatesSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotateCertificates_Error.json */ /** * Sample code: Total failure to rotate certificates. @@ -5010,7 +5535,7 @@ public final class NetworkFabricsRotateCertificatesSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotateCertificates_PartialSuccess.json */ /** * Sample code: Partial failure to rotate certificates for some devices. @@ -5023,7 +5548,7 @@ public final class NetworkFabricsRotateCertificatesSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotateCertificates.json */ /** * Sample code: Successful certificate rotation for all Network Devices. @@ -5045,7 +5570,7 @@ public final class NetworkFabricsRotateCertificatesSamples { */ public final class NetworkFabricsRotatePasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotatePasswords.json */ /** * Sample code: Successful password rotation for the Terminal Server and all Network Devices. @@ -5058,7 +5583,7 @@ public final class NetworkFabricsRotatePasswordsSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotatePasswords_Error.json */ /** * Sample code: Total failure to rotate passwords. @@ -5071,7 +5596,7 @@ public final class NetworkFabricsRotatePasswordsSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotatePasswords_PartialSuccess.json */ /** * Sample code: Partial failure to rotate passwords for some devices. @@ -5098,13 +5623,17 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPa 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.PostUpgradeProfilePatchProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties; 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.SecretArchivePatchSettings; 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.UpgradeProfilePropertiesPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties; import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties; @@ -5118,7 +5647,7 @@ import java.util.Map; */ public final class NetworkFabricsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Update_QoS.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Update_QoS.json */ /** * Sample code: NetworkFabrics_Update_QoS_Enable. @@ -5136,7 +5665,7 @@ public final class NetworkFabricsUpdateSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Update.json */ /** * Sample code: NetworkFabrics_Update_MaximumSet_Gen. @@ -5225,6 +5754,18 @@ public final class NetworkFabricsUpdateSamples { .withQosConfiguration(new QosPatchProperties().withQosConfigurationState(QosConfigurationState.ENABLED)) .withFeatureFlags(Arrays.asList(new FeatureFlagProperties().withFeatureFlagName("uniqueRdConfiguration") .withFeatureFlagValue("Enabled"))) + .withSecretArchiveSettings(new SecretArchivePatchSettings() + .withAssociatedIdentity(new IdentitySelectorPatch() + .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity")) + .withVaultUri("https://myvault.vault.azure.net/")) + .withUpgradeProfileForUpdate(Arrays.asList(new UpgradeProfilePropertiesPatchProperties() + .withPreUpgradeProfile( + new PreUpgradeProfilePatchProperties().withMaxEnteringMaintenanceTimeoutInSeconds(300)) + .withPostUpgradeProfile( + new PostUpgradeProfilePatchProperties().withMaxExitingMaintenanceTimeoutInSeconds(3000) + .withMlagReloadDelayTimeoutInSeconds(900)))) .apply(); } @@ -5254,7 +5795,7 @@ import java.util.Arrays; */ public final class NetworkFabricsUpdateInfraManagementBfdConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json */ /** * Sample code: NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen. @@ -5283,7 +5824,7 @@ import java.util.Arrays; */ public final class NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json */ /** * Sample code: NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen. @@ -5311,7 +5852,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabri */ public final class NetworkFabricsUpgradeSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Upgrade.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Upgrade.json */ /** * Sample code: NetworkFabrics_Upgrade_MaximumSet_Gen. @@ -5339,7 +5880,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurati */ public final class NetworkFabricsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ValidateConfiguration.json */ /** * Sample code: NetworkFabrics_ValidateConfiguration_MaximumSet_Gen. @@ -5364,7 +5905,7 @@ public final class NetworkFabricsValidateConfigurationSamples { */ public final class NetworkFabricsViewDeviceConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ViewDeviceConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ViewDeviceConfiguration.json */ /** * Sample code: NetworkFabrics_ViewDeviceConfiguration_MaximumSet. @@ -5387,7 +5928,7 @@ public final class NetworkFabricsViewDeviceConfigurationSamples { */ public final class NetworkInterfacesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Create.json */ /** * Sample code: NetworkInterfaces_Create_MaximumSet_Gen. @@ -5414,7 +5955,7 @@ public final class NetworkInterfacesCreateSamples { */ public final class NetworkInterfacesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Delete.json */ /** * Sample code: NetworkInterfaces_Delete_MaximumSet_Gen. @@ -5437,7 +5978,7 @@ public final class NetworkInterfacesDeleteSamples { */ public final class NetworkInterfacesGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Get.json */ /** * Sample code: NetworkInterfaces_Get_MaximumSet_Gen. @@ -5460,7 +6001,7 @@ public final class NetworkInterfacesGetSamples { */ public final class NetworkInterfacesListByNetworkDeviceSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_ListByNetworkDevice.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_ListByNetworkDevice.json */ /** * Sample code: NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen. @@ -5485,7 +6026,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterface; */ public final class NetworkInterfacesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Update.json */ /** * Sample code: NetworkInterfaces_Update_MaximumSet_Gen. @@ -5514,7 +6055,7 @@ import java.util.Arrays; */ public final class NetworkInterfacesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_UpdateAdministrativeState.json */ /** * Sample code: NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen. @@ -5550,7 +6091,7 @@ import java.util.Map; */ public final class NetworkMonitorsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Create.json */ /** * Sample code: NetworkMonitors_Create. @@ -5609,7 +6150,7 @@ public final class NetworkMonitorsCreateSamples { */ public final class NetworkMonitorsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Delete.json */ /** * Sample code: NetworkMonitors_Delete_MaximumSet. @@ -5631,7 +6172,7 @@ public final class NetworkMonitorsDeleteSamples { */ public final class NetworkMonitorsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Get.json */ /** * Sample code: NetworkMonitors_Get_MaximumSet. @@ -5654,7 +6195,7 @@ public final class NetworkMonitorsGetByResourceGroupSamples { */ public final class NetworkMonitorsListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_ListBySubscription.json */ /** * Sample code: NetworkMonitors_ListBySubscription. @@ -5676,7 +6217,7 @@ public final class NetworkMonitorsListSamples { */ public final class NetworkMonitorsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_ListByResourceGroup.json */ /** * Sample code: NetworkMonitors_ListByResourceGroup. @@ -5710,7 +6251,7 @@ import java.util.Map; */ public final class NetworkMonitorsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Update.json */ /** * Sample code: NetworkMonitors_Update. @@ -5772,7 +6313,7 @@ import java.util.Arrays; */ public final class NetworkMonitorsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_UpdateAdministrativeState.json */ /** * Sample code: NetworkMonitors_UpdateAdministrativeState. @@ -5803,7 +6344,7 @@ import java.util.Map; */ public final class NetworkPacketBrokersCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Create.json */ /** * Sample code: NetworkPacketBrokers_Create_MaximumSet_Gen. @@ -5846,7 +6387,7 @@ public final class NetworkPacketBrokersCreateSamples { */ public final class NetworkPacketBrokersDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Delete.json */ /** * Sample code: NetworkPacketBrokers_Delete_MaximumSet_Gen. @@ -5869,7 +6410,7 @@ public final class NetworkPacketBrokersDeleteSamples { */ public final class NetworkPacketBrokersGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Get.json */ /** * Sample code: NetworkPacketBrokers_Get_MaximumSet_Gen. @@ -5893,7 +6434,7 @@ public final class NetworkPacketBrokersGetByResourceGroupSamples { */ public final class NetworkPacketBrokersListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_ListBySubscription.json */ /** * Sample code: NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen. @@ -5915,7 +6456,7 @@ public final class NetworkPacketBrokersListSamples { */ public final class NetworkPacketBrokersListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_ListByResourceGroup.json */ /** * Sample code: NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen. @@ -5935,6 +6476,7 @@ public final class NetworkPacketBrokersListByResourceGroupSamples { 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.NetworkPacketBrokerPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import java.util.HashMap; import java.util.Map; @@ -5944,7 +6486,7 @@ import java.util.Map; */ public final class NetworkPacketBrokersUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Update.json */ /** * Sample code: NetworkPacketBrokers_Update_MaximumSet_Gen. @@ -5959,6 +6501,8 @@ public final class NetworkPacketBrokersUpdateSamples { .getValue(); resource.update() .withTags(mapOf("keyId", "fakeTokenPlaceholder")) + .withProperties(new NetworkPacketBrokerPatchProperties().withSourceNetworkTapRuleId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule")) .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE) .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity()))) .apply(); @@ -5990,7 +6534,7 @@ import java.util.Map; */ public final class NetworkRacksCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Create.json */ /** * Sample code: NetworkRacks_Create_MaximumSet_Gen. @@ -6033,7 +6577,7 @@ public final class NetworkRacksCreateSamples { */ public final class NetworkRacksDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Delete.json */ /** * Sample code: NetworkRacks_Delete_MaximumSet_Gen. @@ -6055,7 +6599,7 @@ public final class NetworkRacksDeleteSamples { */ public final class NetworkRacksGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Get.json */ /** * Sample code: NetworkRacks_Get_MaximumSet_Gen. @@ -6078,7 +6622,7 @@ public final class NetworkRacksGetByResourceGroupSamples { */ public final class NetworkRacksListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_ListBySubscription.json */ /** * Sample code: NetworkRacks_ListBySubscription_MaximumSet_Gen. @@ -6100,7 +6644,7 @@ public final class NetworkRacksListSamples { */ public final class NetworkRacksListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_ListByResourceGroup.json */ /** * Sample code: NetworkRacks_ListByResourceGroup_MaximumSet_Gen. @@ -6126,7 +6670,7 @@ import java.util.Map; */ public final class NetworkRacksUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Update.json */ /** * Sample code: NetworkRacks_Update_MaximumSet_Gen. @@ -6192,7 +6736,7 @@ import java.util.Map; */ public final class NetworkTapRulesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Create.json */ /** * Sample code: NetworkTapRules_Create_MaximumSet_Gen. @@ -6278,7 +6822,7 @@ public final class NetworkTapRulesCreateSamples { */ public final class NetworkTapRulesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Delete.json */ /** * Sample code: NetworkTapRules_Delete_MaximumSet_Gen. @@ -6300,7 +6844,7 @@ public final class NetworkTapRulesDeleteSamples { */ public final class NetworkTapRulesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Get.json */ /** * Sample code: NetworkTapRules_Get_MaximumSet_Gen. @@ -6323,7 +6867,7 @@ public final class NetworkTapRulesGetByResourceGroupSamples { */ public final class NetworkTapRulesListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_ListBySubscription.json */ /** * Sample code: NetworkTapRules_ListBySubscription_MaximumSet_Gen. @@ -6345,7 +6889,7 @@ public final class NetworkTapRulesListSamples { */ public final class NetworkTapRulesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_ListByResourceGroup.json */ /** * Sample code: NetworkTapRules_ListByResourceGroup_MaximumSet_Gen. @@ -6367,7 +6911,7 @@ public final class NetworkTapRulesListByResourceGroupSamples { */ public final class NetworkTapRulesResyncSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Resync.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Resync.json */ /** * Sample code: NetworkTapRules_Resync_MaximumSet_Gen. @@ -6419,7 +6963,7 @@ import java.util.Map; */ public final class NetworkTapRulesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Update.json */ /** * Sample code: NetworkTapRules_Update_MaximumSet_Gen. @@ -6508,7 +7052,7 @@ import java.util.Arrays; */ public final class NetworkTapRulesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_UpdateAdministrativeState.json */ /** * Sample code: NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen. @@ -6535,7 +7079,7 @@ public final class NetworkTapRulesUpdateAdministrativeStateSamples { */ public final class NetworkTapRulesValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_ValidateConfiguration.json */ /** * Sample code: NetworkTapRules_ValidateConfiguration_MaximumSet_Gen. @@ -6570,7 +7114,7 @@ import java.util.Map; */ public final class NetworkTapsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Create.json */ /** * Sample code: NetworkTaps_Create_MaximumSet_Gen. @@ -6624,7 +7168,7 @@ public final class NetworkTapsCreateSamples { */ public final class NetworkTapsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Delete.json */ /** * Sample code: NetworkTaps_Delete_MaximumSet_Gen. @@ -6646,7 +7190,7 @@ public final class NetworkTapsDeleteSamples { */ public final class NetworkTapsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Get.json */ /** * Sample code: NetworkTaps_Get_MaximumSet_Gen. @@ -6669,7 +7213,7 @@ public final class NetworkTapsGetByResourceGroupSamples { */ public final class NetworkTapsListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_ListBySubscription.json */ /** * Sample code: NetworkTaps_ListBySubscription_MaximumSet_Gen. @@ -6691,7 +7235,7 @@ public final class NetworkTapsListSamples { */ public final class NetworkTapsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_ListByResourceGroup.json */ /** * Sample code: NetworkTaps_ListByResourceGroup_MaximumSet_Gen. @@ -6713,7 +7257,7 @@ public final class NetworkTapsListByResourceGroupSamples { */ public final class NetworkTapsResyncSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Resync.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Resync.json */ /** * Sample code: NetworkTaps_Resync_MaximumSet_Gen. @@ -6748,7 +7292,7 @@ import java.util.Map; */ public final class NetworkTapsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Update.json */ /** * Sample code: NetworkTaps_Update_MaximumSet_Gen. @@ -6805,7 +7349,7 @@ import java.util.Arrays; */ public final class NetworkTapsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_UpdateAdministrativeState.json */ /** * Sample code: NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen. @@ -6848,7 +7392,7 @@ import java.util.Arrays; */ public final class NetworkToNetworkInterconnectsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Create.json */ /** * Sample code: NetworkToNetworkInterconnects_Create_MaximumSet_Gen. @@ -6918,7 +7462,7 @@ public final class NetworkToNetworkInterconnectsCreateSamples { */ public final class NetworkToNetworkInterconnectsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Delete.json */ /** * Sample code: NetworkToNetworkInterconnects_Delete_MaximumSet_Gen. @@ -6941,7 +7485,7 @@ public final class NetworkToNetworkInterconnectsDeleteSamples { */ public final class NetworkToNetworkInterconnectsGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Get.json */ /** * Sample code: NetworkToNetworkInterconnects_Get_MaximumSet_Gen. @@ -6964,7 +7508,7 @@ public final class NetworkToNetworkInterconnectsGetSamples { */ public final class NetworkToNetworkInterconnectsListByNetworkFabricSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_ListByNetworkFabric.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json */ /** * Sample code: NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen. @@ -7002,7 +7546,7 @@ import java.util.Arrays; */ public final class NetworkToNetworkInterconnectsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Update.json */ /** * Sample code: NetworkToNetworkInterconnects_Update_MaximumSet_Gen. @@ -7070,7 +7614,7 @@ import java.util.Arrays; */ public final class NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json */ /** * Sample code: NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen. @@ -7081,9 +7625,7 @@ public final class NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { manager.networkToNetworkInterconnects() .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), + new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE), com.azure.core.util.Context.NONE); } } @@ -7101,7 +7643,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.RouteType; */ public final class NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json */ /** * Sample code: NetworkToNetworkInterconnects_UpdateBfdAdministrativeState. @@ -7129,9 +7671,10 @@ import java.util.Arrays; /** * Samples for NetworkToNetworkInterconnects UpdateNpbStaticRouteBfdAdministrativeState. */ -public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStSamples { +public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json + * x-ms-original-file: + * 2026-01-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json */ /** * Sample code: NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState. @@ -7156,7 +7699,7 @@ public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministr */ public final class OperationsListSamples { /* - * x-ms-original-file: 2025-07-15/Operations_List.json + * x-ms-original-file: 2026-01-15-preview/Operations_List.json */ /** * Sample code: Operations_List_MaximumSet_Gen. @@ -7178,7 +7721,7 @@ public final class OperationsListSamples { */ public final class RoutePoliciesCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_CommitConfiguration.json */ /** * Sample code: RoutePolicies_CommitConfiguration_MaximumSet_Gen. @@ -7216,7 +7759,7 @@ import java.util.Map; */ public final class RoutePoliciesCreateSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Create.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Create.json */ /** * Sample code: RoutePolicies_Create_MaximumSet_Gen. @@ -7285,7 +7828,7 @@ public final class RoutePoliciesCreateSamples { */ public final class RoutePoliciesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Delete.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Delete.json */ /** * Sample code: RoutePolicies_Delete_MaximumSet_Gen. @@ -7307,7 +7850,7 @@ public final class RoutePoliciesDeleteSamples { */ public final class RoutePoliciesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Get.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Get.json */ /** * Sample code: RoutePolicies_Get_MaximumSet_Gen. @@ -7330,7 +7873,7 @@ public final class RoutePoliciesGetByResourceGroupSamples { */ public final class RoutePoliciesListSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_ListBySubscription.json */ /** * Sample code: RoutePolicies_ListBySubscription_MaximumSet_Gen. @@ -7352,7 +7895,7 @@ public final class RoutePoliciesListSamples { */ public final class RoutePoliciesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_ListByResourceGroup.json */ /** * Sample code: RoutePolicies_ListByResourceGroup_MaximumSet_Gen. @@ -7389,7 +7932,7 @@ import java.util.Map; */ public final class RoutePoliciesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Update.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Update.json */ /** * Sample code: RoutePolicies_Update_MaximumSet_Gen. @@ -7459,7 +8002,7 @@ import java.util.Arrays; */ public final class RoutePoliciesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_UpdateAdministrativeState.json */ /** * Sample code: RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen. @@ -7484,7 +8027,7 @@ public final class RoutePoliciesUpdateAdministrativeStateSamples { */ public final class RoutePoliciesValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/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 3ebd0a34fae2a..25ce74a1d5e8e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/pom.xml +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/pom.xml @@ -18,7 +18,7 @@ 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 api-version 2025-07-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 2026-01-15-preview. https://github.com/Azure/azure-sdk-for-java @@ -45,6 +45,7 @@ UTF-8 0 0 + 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 2011a02ae3086..6d43a94a6f1f4 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 @@ -26,7 +26,9 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient; import com.azure.resourcemanager.managednetworkfabric.implementation.AccessControlListsImpl; +import com.azure.resourcemanager.managednetworkfabric.implementation.EdgeConnectorsImpl; import com.azure.resourcemanager.managednetworkfabric.implementation.ExternalNetworksImpl; +import com.azure.resourcemanager.managednetworkfabric.implementation.FabricsImpl; import com.azure.resourcemanager.managednetworkfabric.implementation.InternalNetworksImpl; import com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewayRulesImpl; import com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewaysImpl; @@ -54,7 +56,9 @@ import com.azure.resourcemanager.managednetworkfabric.implementation.OperationsImpl; import com.azure.resourcemanager.managednetworkfabric.implementation.RoutePoliciesImpl; import com.azure.resourcemanager.managednetworkfabric.models.AccessControlLists; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectors; import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworks; +import com.azure.resourcemanager.managednetworkfabric.models.Fabrics; import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworks; import com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayRules; import com.azure.resourcemanager.managednetworkfabric.models.InternetGateways; @@ -147,6 +151,10 @@ public final class ManagedNetworkFabricManager { private NetworkBootstrapInterfaces networkBootstrapInterfaces; + private EdgeConnectors edgeConnectors; + + private Fabrics fabrics; + private final ManagedNetworkFabricManagementClient clientObject; private ManagedNetworkFabricManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) { @@ -690,6 +698,30 @@ public NetworkBootstrapInterfaces networkBootstrapInterfaces() { return networkBootstrapInterfaces; } + /** + * Gets the resource collection API of EdgeConnectors. It manages EdgeConnector. + * + * @return Resource collection API of EdgeConnectors. + */ + public EdgeConnectors edgeConnectors() { + if (this.edgeConnectors == null) { + this.edgeConnectors = new EdgeConnectorsImpl(clientObject.getEdgeConnectors(), this); + } + return edgeConnectors; + } + + /** + * Gets the resource collection API of Fabrics. It manages Fabric. + * + * @return Resource collection API of Fabrics. + */ + public Fabrics fabrics() { + if (this.fabrics == null) { + this.fabrics = new FabricsImpl(clientObject.getFabrics(), this); + } + return fabrics; + } + /** * Gets wrapped service client ManagedNetworkFabricManagementClient providing direct access to the underlying * auto-generated API implementation, based on Azure REST API. 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 bc361ccb8aa6b..57e80895cd60d 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 @@ -14,7 +14,7 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -404,7 +404,7 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String accessControlListName); /** @@ -419,7 +419,7 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String accessControlListName, Context context); /** @@ -433,7 +433,7 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String accessControlListName); + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String accessControlListName); /** * Implements the operation to the underlying resources. @@ -447,6 +447,6 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String accessControlListName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String accessControlListName, Context context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java new file mode 100644 index 0000000000000..c39c66604afed --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java @@ -0,0 +1,277 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +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.EdgeConnectorInner; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch; + +/** + * An instance of this class provides access to all the operations defined in EdgeConnectorsClient. + */ +public interface EdgeConnectorsClient { + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 specified EdgeConnector along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String edgeConnectorName, + Context context); + + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 specified EdgeConnector. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EdgeConnectorInner getByResourceGroup(String resourceGroupName, String edgeConnectorName); + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EdgeConnectorInner> beginCreate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorInner body); + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EdgeConnectorInner> beginCreate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorInner body, Context context); + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EdgeConnectorInner create(String resourceGroupName, String edgeConnectorName, EdgeConnectorInner body); + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EdgeConnectorInner create(String resourceGroupName, String edgeConnectorName, EdgeConnectorInner body, + Context context); + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EdgeConnectorInner> beginUpdate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorPatch body); + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EdgeConnectorInner> beginUpdate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorPatch body, Context context); + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @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 edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EdgeConnectorInner update(String resourceGroupName, String edgeConnectorName, EdgeConnectorPatch body); + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @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 edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EdgeConnectorInner update(String resourceGroupName, String edgeConnectorName, EdgeConnectorPatch body, + Context context); + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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, Void> beginDelete(String resourceGroupName, String edgeConnectorName); + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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, Void> beginDelete(String resourceGroupName, String edgeConnectorName, Context context); + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String edgeConnectorName); + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String edgeConnectorName, Context context); + + /** + * Lists EdgeConnectors by resource group. + * + * @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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists EdgeConnectors by resource group. + * + * @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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists EdgeConnectors by 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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Lists EdgeConnectors by 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 the response of a EdgeConnector 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/FabricsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/FabricsClient.java new file mode 100644 index 0000000000000..16a001a52ebad --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/FabricsClient.java @@ -0,0 +1,270 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +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.FabricInner; +import com.azure.resourcemanager.managednetworkfabric.models.FabricPatch; + +/** + * An instance of this class provides access to all the operations defined in FabricsClient. + */ +public interface FabricsClient { + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 specified Fabric along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String fabricName, Context context); + + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 specified Fabric. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + FabricInner getByResourceGroup(String resourceGroupName, String fabricName); + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, FabricInner> beginCreate(String resourceGroupName, String fabricName, + FabricInner body); + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, FabricInner> beginCreate(String resourceGroupName, String fabricName, + FabricInner body, Context context); + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + FabricInner create(String resourceGroupName, String fabricName, FabricInner body); + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + FabricInner create(String resourceGroupName, String fabricName, FabricInner body, Context context); + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, FabricInner> beginUpdate(String resourceGroupName, String fabricName, + FabricPatch body); + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, FabricInner> beginUpdate(String resourceGroupName, String fabricName, + FabricPatch body, Context context); + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @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 represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + FabricInner update(String resourceGroupName, String fabricName, FabricPatch body); + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @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 represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + FabricInner update(String resourceGroupName, String fabricName, FabricPatch body, Context context); + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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, Void> beginDelete(String resourceGroupName, String fabricName); + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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, Void> beginDelete(String resourceGroupName, String fabricName, Context context); + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String fabricName); + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String fabricName, Context context); + + /** + * Lists Fabrics by resource group. + * + * @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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists Fabrics by resource group. + * + * @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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists Fabrics by 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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Lists Fabrics by 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 the response of a Fabric 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/L2IsolationDomainsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java index a0238fe0c964a..ef404b82335d0 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 @@ -14,7 +14,7 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -351,7 +351,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l2IsolationDomainName); /** @@ -366,7 +366,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l2IsolationDomainName, Context context); /** @@ -380,7 +380,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String l2IsolationDomainName); + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l2IsolationDomainName); /** * Validates the configuration of the resources. @@ -394,7 +394,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String l2IsolationDomainName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l2IsolationDomainName, 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 9e47515d958a6..c9cda6a9dbd19 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 @@ -14,7 +14,7 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -355,7 +355,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l3IsolationDomainName); /** @@ -370,7 +370,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l3IsolationDomainName, Context context); /** @@ -384,7 +384,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String l3IsolationDomainName); + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l3IsolationDomainName); /** * Validates the configuration of the resources. @@ -398,7 +398,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String l3IsolationDomainName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l3IsolationDomainName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java index 83504c087e976..5a35994cdb38d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java @@ -234,4 +234,18 @@ public interface ManagedNetworkFabricManagementClient { * @return the NetworkBootstrapInterfacesClient object. */ NetworkBootstrapInterfacesClient getNetworkBootstrapInterfaces(); + + /** + * Gets the EdgeConnectorsClient object to access its operations. + * + * @return the EdgeConnectorsClient object. + */ + EdgeConnectorsClient getEdgeConnectors(); + + /** + * Gets the FabricsClient object to access its operations. + * + * @return the FabricsClient object. + */ + FabricsClient getFabrics(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java index 41e98d71b5eed..afed9bb29d0d6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java @@ -23,13 +23,14 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner; import com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest; import com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationRequest; import com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatch; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties; import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties; @@ -480,6 +481,7 @@ OperationStatusResultInner upgrade(String resourceGroupName, String networkFabri * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @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. @@ -487,8 +489,9 @@ OperationStatusResultInner upgrade(String resourceGroupName, String networkFabri * @return the {@link SyncPoller} for polling of the current status of an async operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, OperationStatusResultInner> - beginRefreshConfiguration(String resourceGroupName, String networkFabricName, Context context); + SyncPoller, OperationStatusResultInner> beginRefreshConfiguration( + String resourceGroupName, String networkFabricName, RefreshConfigurationRequestProperties body, + Context context); /** * Refreshes the configuration of the underlying resources in the given Network Fabric instance. @@ -508,6 +511,7 @@ OperationStatusResultInner upgrade(String resourceGroupName, String networkFabri * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @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. @@ -516,7 +520,7 @@ OperationStatusResultInner upgrade(String resourceGroupName, String networkFabri */ @ServiceMethod(returns = ReturnType.SINGLE) OperationStatusResultInner refreshConfiguration(String resourceGroupName, String networkFabricName, - Context context); + RefreshConfigurationRequestProperties body, Context context); /** * Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric @@ -662,7 +666,7 @@ UpdateAdministrativeStateResponseInner updateInfraManagementBfdConfiguration(Str * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body); @@ -679,7 +683,7 @@ UpdateAdministrativeStateResponseInner updateInfraManagementBfdConfiguration(Str * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body, Context context); @@ -695,7 +699,7 @@ UpdateAdministrativeStateResponseInner updateInfraManagementBfdConfiguration(Str * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkFabricName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body); /** @@ -711,7 +715,7 @@ ValidateConfigurationResponseInner validateConfiguration(String resourceGroupNam * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkFabricName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java index 4535193990221..2c754789ce2d6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java @@ -14,7 +14,7 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRulePatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -403,7 +403,7 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkTapRuleName); /** @@ -418,7 +418,7 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkTapRuleName, Context context); /** @@ -432,7 +432,7 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkTapRuleName); + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String networkTapRuleName); /** * Implements the operation to the underlying resources. @@ -446,6 +446,6 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkTapRuleName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String networkTapRuleName, Context context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java index e5f95a00bb498..755012f4909ec 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java @@ -14,7 +14,7 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -344,7 +344,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String routePolicyName); /** @@ -359,7 +359,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ValidateConfigurationResponseInner> + SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String routePolicyName, Context context); /** @@ -373,7 +373,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName); + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String routePolicyName); /** * Validates the configuration of the resources. @@ -387,7 +387,7 @@ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resource * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName, + ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String routePolicyName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java new file mode 100644 index 0000000000000..8c248d17034d5 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java @@ -0,0 +1,182 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; +import com.azure.core.management.SystemData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import java.io.IOException; +import java.util.Map; + +/** + * EdgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is connected to + * Azure. + */ +@Fluent +public final class EdgeConnectorInner extends Resource { + /* + * EdgeConnector properties. + */ + private EdgeConnectorProperties properties; + + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + private SystemData systemData; + + /* + * The type of the resource. + */ + private String type; + + /* + * The name of the resource. + */ + private String name; + + /* + * Fully qualified resource Id for the resource. + */ + private String id; + + /** + * Creates an instance of EdgeConnectorInner class. + */ + public EdgeConnectorInner() { + } + + /** + * Get the properties property: EdgeConnector properties. + * + * @return the properties value. + */ + public EdgeConnectorProperties properties() { + return this.properties; + } + + /** + * Set the properties property: EdgeConnector properties. + * + * @param properties the properties value to set. + * @return the EdgeConnectorInner object itself. + */ + public EdgeConnectorInner withProperties(EdgeConnectorProperties properties) { + this.properties = properties; + return this; + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + public SystemData systemData() { + return this.systemData; + } + + /** + * Get the type property: The type of the resource. + * + * @return the type value. + */ + @Override + public String type() { + return this.type; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + @Override + public String name() { + return this.name; + } + + /** + * Get the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + + /** + * {@inheritDoc} + */ + @Override + public EdgeConnectorInner withLocation(String location) { + super.withLocation(location); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public EdgeConnectorInner withTags(Map tags) { + super.withTags(tags); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", location()); + jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EdgeConnectorInner from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EdgeConnectorInner if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EdgeConnectorInner. + */ + public static EdgeConnectorInner fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EdgeConnectorInner deserializedEdgeConnectorInner = new EdgeConnectorInner(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedEdgeConnectorInner.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedEdgeConnectorInner.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedEdgeConnectorInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedEdgeConnectorInner.withLocation(reader.getString()); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedEdgeConnectorInner.withTags(tags); + } else if ("properties".equals(fieldName)) { + deserializedEdgeConnectorInner.properties = EdgeConnectorProperties.fromJson(reader); + } else if ("systemData".equals(fieldName)) { + deserializedEdgeConnectorInner.systemData = SystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedEdgeConnectorInner; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java new file mode 100644 index 0000000000000..4f7b01f72d33b --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java @@ -0,0 +1,181 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; +import com.azure.core.management.SystemData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.models.FabricProperties; +import java.io.IOException; +import java.util.Map; + +/** + * Represents a physical network deployment hosting infrastructure network configuration. + */ +@Fluent +public final class FabricInner extends Resource { + /* + * Fabric properties. + */ + private FabricProperties properties; + + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + private SystemData systemData; + + /* + * The type of the resource. + */ + private String type; + + /* + * The name of the resource. + */ + private String name; + + /* + * Fully qualified resource Id for the resource. + */ + private String id; + + /** + * Creates an instance of FabricInner class. + */ + public FabricInner() { + } + + /** + * Get the properties property: Fabric properties. + * + * @return the properties value. + */ + public FabricProperties properties() { + return this.properties; + } + + /** + * Set the properties property: Fabric properties. + * + * @param properties the properties value to set. + * @return the FabricInner object itself. + */ + public FabricInner withProperties(FabricProperties properties) { + this.properties = properties; + return this; + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + public SystemData systemData() { + return this.systemData; + } + + /** + * Get the type property: The type of the resource. + * + * @return the type value. + */ + @Override + public String type() { + return this.type; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + @Override + public String name() { + return this.name; + } + + /** + * Get the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + + /** + * {@inheritDoc} + */ + @Override + public FabricInner withLocation(String location) { + super.withLocation(location); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FabricInner withTags(Map tags) { + super.withTags(tags); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", location()); + jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricInner from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricInner if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FabricInner. + */ + public static FabricInner fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FabricInner deserializedFabricInner = new FabricInner(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedFabricInner.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedFabricInner.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedFabricInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedFabricInner.withLocation(reader.getString()); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedFabricInner.withTags(tags); + } else if ("properties".equals(fieldName)) { + deserializedFabricInner.properties = FabricProperties.fromJson(reader); + } else if ("systemData".equals(fieldName)) { + deserializedFabricInner.systemData = SystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedFabricInner; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java index c531687617386..804bc4962acbd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java @@ -10,6 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; @@ -246,6 +247,15 @@ public ConfigurationState configurationState() { return this.innerProperties() == null ? null : this.innerProperties().configurationState(); } + /** + * Get the administrativeState property: Administrative state of the resource. + * + * @return the administrativeState value. + */ + public AdministrativeState administrativeState() { + return this.innerProperties() == null ? null : this.innerProperties().administrativeState(); + } + /** * {@inheritDoc} */ diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java index c093a4a6e4aa6..8bbaa627d542a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java @@ -9,6 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination; @@ -61,6 +62,11 @@ public final class NeighborGroupProperties implements JsonSerializable controlPlaneAcls() { + return this.innerProperties() == null ? null : this.innerProperties().controlPlaneAcls(); + } + + /** + * Set the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @param controlPlaneAcls the controlPlaneAcls value to set. + * @return the NetworkBootstrapDeviceInner object itself. + */ + public NetworkBootstrapDeviceInner withControlPlaneAcls(List controlPlaneAcls) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkBootstrapDeviceProperties(); + } + this.innerProperties().withControlPlaneAcls(controlPlaneAcls); + return this; + } + /** * Get the version property: Current version of the device as defined in SKU. * @@ -328,6 +354,25 @@ public ConfigurationState configurationState() { return this.innerProperties() == null ? null : this.innerProperties().configurationState(); } + /** + * Get the operationalState property: Operational state of networkBootstrapDevice indicating if the device is + * reachable and services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.innerProperties() == null ? null : this.innerProperties().operationalState(); + } + + /** + * Get the secretRotationStatus property: Secret rotation status for the terminal server's secrets. + * + * @return the secretRotationStatus value. + */ + public List secretRotationStatus() { + return this.innerProperties() == null ? null : this.innerProperties().secretRotationStatus(); + } + /** * {@inheritDoc} */ diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java index 3876a144f36fa..717e94d9455d0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java @@ -10,6 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.List; /** * Network Bootstrap Device Patch properties. @@ -32,6 +33,11 @@ public final class NetworkBootstrapDevicePatchProperties */ private String serialNumber; + /* + * Control Plane Access Control List ARM resource IDs. + */ + private List controlPlaneAcls; + /** * Creates an instance of NetworkBootstrapDevicePatchProperties class. */ @@ -100,6 +106,26 @@ public NetworkBootstrapDevicePatchProperties withSerialNumber(String serialNumbe return this; } + /** + * Get the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @return the controlPlaneAcls value. + */ + public List controlPlaneAcls() { + return this.controlPlaneAcls; + } + + /** + * Set the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @param controlPlaneAcls the controlPlaneAcls value to set. + * @return the NetworkBootstrapDevicePatchProperties object itself. + */ + public NetworkBootstrapDevicePatchProperties withControlPlaneAcls(List controlPlaneAcls) { + this.controlPlaneAcls = controlPlaneAcls; + return this; + } + /** * {@inheritDoc} */ @@ -109,6 +135,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("annotation", this.annotation); jsonWriter.writeStringField("hostName", this.hostName); jsonWriter.writeStringField("serialNumber", this.serialNumber); + jsonWriter.writeArrayField("controlPlaneAcls", this.controlPlaneAcls, + (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); } @@ -134,6 +162,9 @@ public static NetworkBootstrapDevicePatchProperties fromJson(JsonReader jsonRead deserializedNetworkBootstrapDevicePatchProperties.hostName = reader.getString(); } else if ("serialNumber".equals(fieldName)) { deserializedNetworkBootstrapDevicePatchProperties.serialNumber = reader.getString(); + } else if ("controlPlaneAcls".equals(fieldName)) { + List controlPlaneAcls = reader.readArray(reader1 -> reader1.getString()); + deserializedNetworkBootstrapDevicePatchProperties.controlPlaneAcls = controlPlaneAcls; } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java index 3991acea4403c..9f1f6d92ffa7c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java @@ -11,8 +11,11 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; +import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus; import java.io.IOException; +import java.util.List; /** * Network Bootstrap Device Properties defines the properties of the resource. @@ -34,6 +37,11 @@ public final class NetworkBootstrapDeviceProperties implements JsonSerializable< */ private String serialNumber; + /* + * Control Plane Access Control List ARM resource IDs. + */ + private List controlPlaneAcls; + /* * Current version of the device as defined in SKU. */ @@ -89,6 +97,16 @@ public final class NetworkBootstrapDeviceProperties implements JsonSerializable< */ private ConfigurationState configurationState; + /* + * Operational state of networkBootstrapDevice indicating if the device is reachable and services are available. + */ + private OperationalState operationalState; + + /* + * Secret rotation status for the terminal server's secrets. + */ + private List secretRotationStatus; + /** * Creates an instance of NetworkBootstrapDeviceProperties class. */ @@ -157,6 +175,26 @@ public NetworkBootstrapDeviceProperties withSerialNumber(String serialNumber) { return this; } + /** + * Get the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @return the controlPlaneAcls value. + */ + public List controlPlaneAcls() { + return this.controlPlaneAcls; + } + + /** + * Set the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @param controlPlaneAcls the controlPlaneAcls value to set. + * @return the NetworkBootstrapDeviceProperties object itself. + */ + public NetworkBootstrapDeviceProperties withControlPlaneAcls(List controlPlaneAcls) { + this.controlPlaneAcls = controlPlaneAcls; + return this; + } + /** * Get the version property: Current version of the device as defined in SKU. * @@ -267,6 +305,25 @@ public ConfigurationState configurationState() { return this.configurationState; } + /** + * Get the operationalState property: Operational state of networkBootstrapDevice indicating if the device is + * reachable and services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.operationalState; + } + + /** + * Get the secretRotationStatus property: Secret rotation status for the terminal server's secrets. + * + * @return the secretRotationStatus value. + */ + public List secretRotationStatus() { + return this.secretRotationStatus; + } + /** * {@inheritDoc} */ @@ -276,6 +333,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("annotation", this.annotation); jsonWriter.writeStringField("hostName", this.hostName); jsonWriter.writeStringField("serialNumber", this.serialNumber); + jsonWriter.writeArrayField("controlPlaneAcls", this.controlPlaneAcls, + (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("networkDeviceSku", this.networkDeviceSku); return jsonWriter.writeEndObject(); } @@ -302,6 +361,9 @@ public static NetworkBootstrapDeviceProperties fromJson(JsonReader jsonReader) t deserializedNetworkBootstrapDeviceProperties.hostName = reader.getString(); } else if ("serialNumber".equals(fieldName)) { deserializedNetworkBootstrapDeviceProperties.serialNumber = reader.getString(); + } else if ("controlPlaneAcls".equals(fieldName)) { + List controlPlaneAcls = reader.readArray(reader1 -> reader1.getString()); + deserializedNetworkBootstrapDeviceProperties.controlPlaneAcls = controlPlaneAcls; } else if ("version".equals(fieldName)) { deserializedNetworkBootstrapDeviceProperties.version = reader.getString(); } else if ("networkDeviceSku".equals(fieldName)) { @@ -327,6 +389,13 @@ public static NetworkBootstrapDeviceProperties fromJson(JsonReader jsonReader) t } else if ("configurationState".equals(fieldName)) { deserializedNetworkBootstrapDeviceProperties.configurationState = ConfigurationState.fromString(reader.getString()); + } else if ("operationalState".equals(fieldName)) { + deserializedNetworkBootstrapDeviceProperties.operationalState + = OperationalState.fromString(reader.getString()); + } else if ("secretRotationStatus".equals(fieldName)) { + List secretRotationStatus + = reader.readArray(reader1 -> SecretRotationStatus.fromJson(reader1)); + deserializedNetworkBootstrapDeviceProperties.secretRotationStatus = secretRotationStatus; } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java index 5ac848745767f..333f573dde600 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java @@ -13,6 +13,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import com.azure.resourcemanager.managednetworkfabric.models.InterfaceType; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import java.io.IOException; @@ -229,6 +230,16 @@ public NetworkBootstrapInterfaceInner withSerialNumber(String serialNumber) { return this; } + /** + * Get the operationalState property: Operational state of networkBootstrapInterface indicating if the interface is + * reachable. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.innerProperties() == null ? null : this.innerProperties().operationalState(); + } + /** * Get the annotation property: Switch configuration description. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java index c8010e02eea2f..b795435cae1a2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java @@ -12,6 +12,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.AnnotationResource; import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import com.azure.resourcemanager.managednetworkfabric.models.InterfaceType; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import java.io.IOException; @@ -75,6 +76,11 @@ public final class NetworkBootstrapInterfaceProperties extends AnnotationResourc */ private String serialNumber; + /* + * Operational state of networkBootstrapInterface indicating if the interface is reachable + */ + private OperationalState operationalState; + /** * Creates an instance of NetworkBootstrapInterfaceProperties class. */ @@ -204,6 +210,16 @@ public NetworkBootstrapInterfaceProperties withSerialNumber(String serialNumber) return this; } + /** + * Get the operationalState property: Operational state of networkBootstrapInterface indicating if the interface is + * reachable. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.operationalState; + } + /** * {@inheritDoc} */ @@ -269,6 +285,9 @@ public static NetworkBootstrapInterfaceProperties fromJson(JsonReader jsonReader deserializedNetworkBootstrapInterfaceProperties.ipv6Address = reader.getString(); } else if ("serialNumber".equals(fieldName)) { deserializedNetworkBootstrapInterfaceProperties.serialNumber = reader.getString(); + } else if ("operationalState".equals(fieldName)) { + deserializedNetworkBootstrapInterfaceProperties.operationalState + = OperationalState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java index 0afc9f71c5519..a2706c67a1651 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java @@ -17,6 +17,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRole; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus; import java.io.IOException; @@ -359,6 +360,16 @@ public AdministrativeState administrativeState() { return this.innerProperties() == null ? null : this.innerProperties().administrativeState(); } + /** + * Get the operationalState property: Operational state of networkDevice indicating if the device is reachable and + * services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.innerProperties() == null ? null : this.innerProperties().operationalState(); + } + /** * Get the secretRotationStatus property: Secret rotation status for the device's secrets. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java index a83bba23fac5c..ae2e4825b3bff 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java @@ -15,6 +15,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRole; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus; import java.io.IOException; @@ -101,6 +102,11 @@ public final class NetworkDeviceProperties implements JsonSerializable secretRotationStatus = reader.readArray(reader1 -> SecretRotationStatus.fromJson(reader1)); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java index 59b869c35dc38..98cff8e13f49b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java @@ -17,7 +17,9 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; import com.azure.resourcemanager.managednetworkfabric.models.NfcSku; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; +import com.azure.resourcemanager.managednetworkfabric.models.VmProfile; import java.io.IOException; import java.util.List; import java.util.Map; @@ -406,6 +408,39 @@ public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } + /** + * Get the operationalState property: Operational state of networkFabricController indicating if the resources of + * the controller are reachable and services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.innerProperties() == null ? null : this.innerProperties().operationalState(); + } + + /** + * Get the vmProfile property: The VM profile configuration for the NFC's associated compute (VM) resources. + * + * @return the vmProfile value. + */ + public VmProfile vmProfile() { + return this.innerProperties() == null ? null : this.innerProperties().vmProfile(); + } + + /** + * Set the vmProfile property: The VM profile configuration for the NFC's associated compute (VM) resources. + * + * @param vmProfile the vmProfile value to set. + * @return the NetworkFabricControllerInner object itself. + */ + public NetworkFabricControllerInner withVmProfile(VmProfile vmProfile) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkFabricControllerProperties(); + } + this.innerProperties().withVmProfile(vmProfile); + return this; + } + /** * {@inheritDoc} */ diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java index 7ce12358f4c32..2116f1a079269 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java @@ -15,7 +15,9 @@ import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.NfcSku; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; +import com.azure.resourcemanager.managednetworkfabric.models.VmProfile; import java.io.IOException; import java.util.List; @@ -98,6 +100,17 @@ public final class NetworkFabricControllerProperties implements JsonSerializable */ private ProvisioningState provisioningState; + /* + * Operational state of networkFabricController indicating if the resources of the controller are reachable and + * services are available. + */ + private OperationalState operationalState; + + /* + * The VM profile configuration for the NFC's associated compute (VM) resources. + */ + private VmProfile vmProfile; + /** * Creates an instance of NetworkFabricControllerProperties class. */ @@ -337,6 +350,36 @@ public ProvisioningState provisioningState() { return this.provisioningState; } + /** + * Get the operationalState property: Operational state of networkFabricController indicating if the resources of + * the controller are reachable and services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.operationalState; + } + + /** + * Get the vmProfile property: The VM profile configuration for the NFC's associated compute (VM) resources. + * + * @return the vmProfile value. + */ + public VmProfile vmProfile() { + return this.vmProfile; + } + + /** + * Set the vmProfile property: The VM profile configuration for the NFC's associated compute (VM) resources. + * + * @param vmProfile the vmProfile value to set. + * @return the NetworkFabricControllerProperties object itself. + */ + public NetworkFabricControllerProperties withVmProfile(VmProfile vmProfile) { + this.vmProfile = vmProfile; + return this; + } + /** * {@inheritDoc} */ @@ -356,6 +399,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("ipv4AddressSpace", this.ipv4AddressSpace); jsonWriter.writeStringField("ipv6AddressSpace", this.ipv6AddressSpace); jsonWriter.writeStringField("nfcSku", this.nfcSku == null ? null : this.nfcSku.toString()); + jsonWriter.writeJsonField("vmProfile", this.vmProfile); return jsonWriter.writeEndObject(); } @@ -417,6 +461,11 @@ public static NetworkFabricControllerProperties fromJson(JsonReader jsonReader) } else if ("provisioningState".equals(fieldName)) { deserializedNetworkFabricControllerProperties.provisioningState = ProvisioningState.fromString(reader.getString()); + } else if ("operationalState".equals(fieldName)) { + deserializedNetworkFabricControllerProperties.operationalState + = OperationalState.fromString(reader.getString()); + } else if ("vmProfile".equals(fieldName)) { + deserializedNetworkFabricControllerProperties.vmProfile = VmProfile.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java index 74b38f461981c..2f48ec02653c4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java @@ -18,12 +18,15 @@ import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.QosProperties; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings; import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary; import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties; import java.io.IOException; import java.util.List; import java.util.Map; @@ -386,6 +389,16 @@ public NetworkFabricInner withFabricAsn(long fabricAsn) { return this; } + /** + * Get the networkBootstrapDeviceId property: Azure resource ID for the NetworkBootstrapDevice belonging to this + * Network Fabric. + * + * @return the networkBootstrapDeviceId value. + */ + public String networkBootstrapDeviceId() { + return this.innerProperties() == null ? null : this.innerProperties().networkBootstrapDeviceId(); + } + /** * Get the terminalServerConfiguration property: Network and credentials configuration currently applied to terminal * server. @@ -680,6 +693,16 @@ public AdministrativeState administrativeState() { return this.innerProperties() == null ? null : this.innerProperties().administrativeState(); } + /** + * Get the operationalState property: Operational state of networkFabric indicating if the resources of the fabric + * are reachable and services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.innerProperties() == null ? null : this.innerProperties().operationalState(); + } + /** * Get the qosConfiguration property: NetworkFabric QoS Configuration. * @@ -703,6 +726,56 @@ public NetworkFabricInner withQosConfiguration(QosProperties qosConfiguration) { return this; } + /** + * Get the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @return the secretArchiveSettings value. + */ + public SecretArchiveSettings secretArchiveSettings() { + return this.innerProperties() == null ? null : this.innerProperties().secretArchiveSettings(); + } + + /** + * Set the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @param secretArchiveSettings the secretArchiveSettings value to set. + * @return the NetworkFabricInner object itself. + */ + public NetworkFabricInner withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkFabricProperties(); + } + this.innerProperties().withSecretArchiveSettings(secretArchiveSettings); + return this; + } + + /** + * Get the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @return the upgradeProfile value. + */ + public List upgradeProfile() { + return this.innerProperties() == null ? null : this.innerProperties().upgradeProfile(); + } + + /** + * Set the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @param upgradeProfile the upgradeProfile value to set. + * @return the NetworkFabricInner object itself. + */ + public NetworkFabricInner withUpgradeProfile(List upgradeProfile) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkFabricProperties(); + } + this.innerProperties().withUpgradeProfile(upgradeProfile); + return this; + } + /** * Get the annotation property: Switch configuration description. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java index c1f5eb90c1e20..8f0326e398826 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java @@ -13,9 +13,11 @@ import com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPatchConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchivePatchSettings; import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.TerminalServerPatchConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherPatchProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfilePropertiesPatchProperties; import java.io.IOException; import java.util.List; @@ -104,6 +106,16 @@ public final class NetworkFabricPatchProperties implements JsonSerializable upgradeProfile; + /** * Creates an instance of NetworkFabricPatchProperties class. */ @@ -437,6 +449,51 @@ public AuthorizedTransceiverPatchProperties authorizedTransceiver() { return this; } + /** + * Get the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @return the secretArchiveSettings value. + */ + public SecretArchivePatchSettings secretArchiveSettings() { + return this.secretArchiveSettings; + } + + /** + * Set the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @param secretArchiveSettings the secretArchiveSettings value to set. + * @return the NetworkFabricPatchProperties object itself. + */ + public NetworkFabricPatchProperties withSecretArchiveSettings(SecretArchivePatchSettings secretArchiveSettings) { + this.secretArchiveSettings = secretArchiveSettings; + return this; + } + + /** + * Get the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @return the upgradeProfile value. + */ + public List upgradeProfile() { + return this.upgradeProfile; + } + + /** + * Set the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @param upgradeProfile the upgradeProfile value to set. + * @return the NetworkFabricPatchProperties object itself. + */ + public NetworkFabricPatchProperties + withUpgradeProfile(List upgradeProfile) { + this.upgradeProfile = upgradeProfile; + return this; + } + /** * {@inheritDoc} */ @@ -461,6 +518,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("qosConfiguration", this.qosConfiguration); jsonWriter.writeArrayField("featureFlags", this.featureFlags, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("authorizedTransceiver", this.authorizedTransceiver); + jsonWriter.writeJsonField("secretArchiveSettings", this.secretArchiveSettings); + jsonWriter.writeArrayField("upgradeProfile", this.upgradeProfile, + (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -522,6 +582,13 @@ public static NetworkFabricPatchProperties fromJson(JsonReader jsonReader) throw } else if ("authorizedTransceiver".equals(fieldName)) { deserializedNetworkFabricPatchProperties.authorizedTransceiver = AuthorizedTransceiverPatchProperties.fromJson(reader); + } else if ("secretArchiveSettings".equals(fieldName)) { + deserializedNetworkFabricPatchProperties.secretArchiveSettings + = SecretArchivePatchSettings.fromJson(reader); + } else if ("upgradeProfile".equals(fieldName)) { + List upgradeProfile + = reader.readArray(reader1 -> UpgradeProfilePropertiesPatchProperties.fromJson(reader1)); + deserializedNetworkFabricPatchProperties.upgradeProfile = upgradeProfile; } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java index 2cdccbb1f2059..cb35fd1e02917 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java @@ -16,12 +16,15 @@ import com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.QosProperties; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings; import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary; import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties; import java.io.IOException; import java.util.List; @@ -87,6 +90,11 @@ public final class NetworkFabricProperties extends AnnotationResource { */ private long fabricAsn; + /* + * Azure resource ID for the NetworkBootstrapDevice belonging to this Network Fabric. + */ + private String networkBootstrapDeviceId; + /* * Network and credentials configuration currently applied to terminal server. */ @@ -179,11 +187,27 @@ public final class NetworkFabricProperties extends AnnotationResource { */ private AdministrativeState administrativeState; + /* + * Operational state of networkFabric indicating if the resources of the fabric are reachable and services are + * available. + */ + private OperationalState operationalState; + /* * NetworkFabric QoS Configuration */ private QosProperties qosConfiguration; + /* + * The settings for a customer secret archive that may be used to hold copies of credentials for the Network Fabric. + */ + private SecretArchiveSettings secretArchiveSettings; + + /* + * The upgrade profile to be used by devices in the network fabric during device operations + */ + private List upgradeProfile; + /** * Creates an instance of NetworkFabricProperties class. */ @@ -395,6 +419,16 @@ public NetworkFabricProperties withFabricAsn(long fabricAsn) { return this; } + /** + * Get the networkBootstrapDeviceId property: Azure resource ID for the NetworkBootstrapDevice belonging to this + * Network Fabric. + * + * @return the networkBootstrapDeviceId value. + */ + public String networkBootstrapDeviceId() { + return this.networkBootstrapDeviceId; + } + /** * Get the terminalServerConfiguration property: Network and credentials configuration currently applied to terminal * server. @@ -663,6 +697,16 @@ public AdministrativeState administrativeState() { return this.administrativeState; } + /** + * Get the operationalState property: Operational state of networkFabric indicating if the resources of the fabric + * are reachable and services are available. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.operationalState; + } + /** * Get the qosConfiguration property: NetworkFabric QoS Configuration. * @@ -683,6 +727,50 @@ public NetworkFabricProperties withQosConfiguration(QosProperties qosConfigurati return this; } + /** + * Get the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @return the secretArchiveSettings value. + */ + public SecretArchiveSettings secretArchiveSettings() { + return this.secretArchiveSettings; + } + + /** + * Set the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @param secretArchiveSettings the secretArchiveSettings value to set. + * @return the NetworkFabricProperties object itself. + */ + public NetworkFabricProperties withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings) { + this.secretArchiveSettings = secretArchiveSettings; + return this; + } + + /** + * Get the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @return the upgradeProfile value. + */ + public List upgradeProfile() { + return this.upgradeProfile; + } + + /** + * Set the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @param upgradeProfile the upgradeProfile value to set. + * @return the NetworkFabricProperties object itself. + */ + public NetworkFabricProperties withUpgradeProfile(List upgradeProfile) { + this.upgradeProfile = upgradeProfile; + return this; + } + /** * {@inheritDoc} */ @@ -720,6 +808,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeNumberField("storageArrayCount", this.storageArrayCount); jsonWriter.writeJsonField("authorizedTransceiver", this.authorizedTransceiver); jsonWriter.writeJsonField("qosConfiguration", this.qosConfiguration); + jsonWriter.writeJsonField("secretArchiveSettings", this.secretArchiveSettings); + jsonWriter.writeArrayField("upgradeProfile", this.upgradeProfile, + (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -773,6 +864,8 @@ public static NetworkFabricProperties fromJson(JsonReader jsonReader) throws IOE deserializedNetworkFabricProperties.rackCount = reader.getNullable(JsonReader::getInt); } else if ("ipv6Prefix".equals(fieldName)) { deserializedNetworkFabricProperties.ipv6Prefix = reader.getString(); + } else if ("networkBootstrapDeviceId".equals(fieldName)) { + deserializedNetworkFabricProperties.networkBootstrapDeviceId = reader.getString(); } else if ("racks".equals(fieldName)) { List racks = reader.readArray(reader1 -> reader1.getString()); deserializedNetworkFabricProperties.racks = racks; @@ -818,8 +911,17 @@ public static NetworkFabricProperties fromJson(JsonReader jsonReader) throws IOE } else if ("administrativeState".equals(fieldName)) { deserializedNetworkFabricProperties.administrativeState = AdministrativeState.fromString(reader.getString()); + } else if ("operationalState".equals(fieldName)) { + deserializedNetworkFabricProperties.operationalState + = OperationalState.fromString(reader.getString()); } else if ("qosConfiguration".equals(fieldName)) { deserializedNetworkFabricProperties.qosConfiguration = QosProperties.fromJson(reader); + } else if ("secretArchiveSettings".equals(fieldName)) { + deserializedNetworkFabricProperties.secretArchiveSettings = SecretArchiveSettings.fromJson(reader); + } else if ("upgradeProfile".equals(fieldName)) { + List upgradeProfile + = reader.readArray(reader1 -> UpgradeProfileProperties.fromJson(reader1)); + deserializedNetworkFabricProperties.upgradeProfile = upgradeProfile; } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java index f02f163901264..9af3890985400 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java @@ -15,6 +15,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.InterfaceType; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import java.io.IOException; @@ -249,6 +250,16 @@ public ConfigurationState configurationState() { return this.innerProperties() == null ? null : this.innerProperties().configurationState(); } + /** + * Get the operationalState property: Operational state of networkInterface indicating if the interface is + * reachable. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.innerProperties() == null ? null : this.innerProperties().operationalState(); + } + /** * Get the annotation property: Switch configuration description. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java index 255ba549da901..14eefd5448518 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java @@ -13,6 +13,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import com.azure.resourcemanager.managednetworkfabric.models.InterfaceType; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import java.io.IOException; @@ -81,6 +82,11 @@ public final class NetworkInterfaceProperties extends AnnotationResource { */ private ConfigurationState configurationState; + /* + * Operational state of networkInterface indicating if the interface is reachable + */ + private OperationalState operationalState; + /** * Creates an instance of NetworkInterfaceProperties class. */ @@ -206,6 +212,16 @@ public ConfigurationState configurationState() { return this.configurationState; } + /** + * Get the operationalState property: Operational state of networkInterface indicating if the interface is + * reachable. + * + * @return the operationalState value. + */ + public OperationalState operationalState() { + return this.operationalState; + } + /** * {@inheritDoc} */ @@ -270,6 +286,9 @@ public static NetworkInterfaceProperties fromJson(JsonReader jsonReader) throws } else if ("configurationState".equals(fieldName)) { deserializedNetworkInterfaceProperties.configurationState = ConfigurationState.fromString(reader.getString()); + } else if ("operationalState".equals(fieldName)) { + deserializedNetworkInterfaceProperties.operationalState + = OperationalState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java index 0e6fcfa3feb7e..c39f10860a4e3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java @@ -205,6 +205,29 @@ public List neighborGroupIds() { return this.innerProperties() == null ? null : this.innerProperties().neighborGroupIds(); } + /** + * Get the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @return the sourceNetworkTapRuleId value. + */ + public String sourceNetworkTapRuleId() { + return this.innerProperties() == null ? null : this.innerProperties().sourceNetworkTapRuleId(); + } + + /** + * Set the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @param sourceNetworkTapRuleId the sourceNetworkTapRuleId value to set. + * @return the NetworkPacketBrokerInner object itself. + */ + public NetworkPacketBrokerInner withSourceNetworkTapRuleId(String sourceNetworkTapRuleId) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkPacketBrokerProperties(); + } + this.innerProperties().withSourceNetworkTapRuleId(sourceNetworkTapRuleId); + return this; + } + /** * Get the lastOperation property: Details of the last operation performed on the resource. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java index d07e04af8f22a..edf818006db4a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java @@ -45,6 +45,11 @@ public final class NetworkPacketBrokerProperties implements JsonSerializable neighborGroupIds; + /* + * ARM resource ID of the source Network Tap Rule. + */ + private String sourceNetworkTapRuleId; + /* * Details of the last operation performed on the resource */ @@ -123,6 +128,26 @@ public List neighborGroupIds() { return this.neighborGroupIds; } + /** + * Get the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @return the sourceNetworkTapRuleId value. + */ + public String sourceNetworkTapRuleId() { + return this.sourceNetworkTapRuleId; + } + + /** + * Set the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @param sourceNetworkTapRuleId the sourceNetworkTapRuleId value to set. + * @return the NetworkPacketBrokerProperties object itself. + */ + public NetworkPacketBrokerProperties withSourceNetworkTapRuleId(String sourceNetworkTapRuleId) { + this.sourceNetworkTapRuleId = sourceNetworkTapRuleId; + return this; + } + /** * Get the lastOperation property: Details of the last operation performed on the resource. * @@ -157,6 +182,7 @@ public ConfigurationState configurationState() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("networkFabricId", this.networkFabricId); + jsonWriter.writeStringField("sourceNetworkTapRuleId", this.sourceNetworkTapRuleId); return jsonWriter.writeEndObject(); } @@ -191,6 +217,8 @@ public static NetworkPacketBrokerProperties fromJson(JsonReader jsonReader) thro } else if ("neighborGroupIds".equals(fieldName)) { List neighborGroupIds = reader.readArray(reader1 -> reader1.getString()); deserializedNetworkPacketBrokerProperties.neighborGroupIds = neighborGroupIds; + } else if ("sourceNetworkTapRuleId".equals(fieldName)) { + deserializedNetworkPacketBrokerProperties.sourceNetworkTapRuleId = reader.getString(); } else if ("lastOperation".equals(fieldName)) { deserializedNetworkPacketBrokerProperties.lastOperation = LastOperationProperties.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java new file mode 100644 index 0000000000000..406f348694472 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java @@ -0,0 +1,244 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.management.exception.ManagementError; +import com.azure.core.util.CoreUtils; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseProperties; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; +import java.util.List; + +/** + * The response of the action validate configuration. + */ +@Immutable +public final class ValidateConfigurationResponseV2Inner + implements JsonSerializable { + /* + * Fully qualified ID for the async operation. + */ + private String id; + + /* + * Name of the async operation. + */ + private String name; + + /* + * Operation status. + */ + private String status; + + /* + * Percent of the operation that is complete. + */ + private Double percentComplete; + + /* + * The start time of the operation. + */ + private OffsetDateTime startTime; + + /* + * The end time of the operation. + */ + private OffsetDateTime endTime; + + /* + * The operations list. + */ + private List operations; + + /* + * If present, details of the operation error. + */ + private ManagementError error; + + /* + * Fully qualified ID of the resource against which the original async operation was started. + */ + private String resourceId; + + /* + * Network Device Run Rw Command Response properties. + */ + private ValidateConfigurationResponseProperties properties; + + /** + * Creates an instance of ValidateConfigurationResponseV2Inner class. + */ + private ValidateConfigurationResponseV2Inner() { + } + + /** + * Get the id property: Fully qualified ID for the async operation. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the name property: Name of the async operation. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the status property: Operation status. + * + * @return the status value. + */ + public String status() { + return this.status; + } + + /** + * Get the percentComplete property: Percent of the operation that is complete. + * + * @return the percentComplete value. + */ + public Double percentComplete() { + return this.percentComplete; + } + + /** + * Get the startTime property: The start time of the operation. + * + * @return the startTime value. + */ + public OffsetDateTime startTime() { + return this.startTime; + } + + /** + * Get the endTime property: The end time of the operation. + * + * @return the endTime value. + */ + public OffsetDateTime endTime() { + return this.endTime; + } + + /** + * Get the operations property: The operations list. + * + * @return the operations value. + */ + public List operations() { + return this.operations; + } + + /** + * Get the error property: If present, details of the operation error. + * + * @return the error value. + */ + public ManagementError error() { + return this.error; + } + + /** + * Get the resourceId property: Fully qualified ID of the resource against which the original async operation was + * started. + * + * @return the resourceId value. + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Get the properties property: Network Device Run Rw Command Response properties. + * + * @return the properties value. + */ + public ValidateConfigurationResponseProperties properties() { + return this.properties; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("status", this.status); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeNumberField("percentComplete", this.percentComplete); + jsonWriter.writeStringField("startTime", + this.startTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.startTime)); + jsonWriter.writeStringField("endTime", + this.endTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.endTime)); + jsonWriter.writeArrayField("operations", this.operations, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("error", this.error); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ValidateConfigurationResponseV2Inner from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ValidateConfigurationResponseV2Inner if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ValidateConfigurationResponseV2Inner. + */ + public static ValidateConfigurationResponseV2Inner fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ValidateConfigurationResponseV2Inner deserializedValidateConfigurationResponseV2Inner + = new ValidateConfigurationResponseV2Inner(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("status".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.status = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.name = reader.getString(); + } else if ("percentComplete".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.percentComplete + = reader.getNullable(JsonReader::getDouble); + } else if ("startTime".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.startTime = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("endTime".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.endTime = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("operations".equals(fieldName)) { + List operations + = reader.readArray(reader1 -> OperationStatusResultInner.fromJson(reader1)); + deserializedValidateConfigurationResponseV2Inner.operations = operations; + } else if ("error".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.error = ManagementError.fromJson(reader); + } else if ("resourceId".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.resourceId = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedValidateConfigurationResponseV2Inner.properties + = ValidateConfigurationResponseProperties.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedValidateConfigurationResponseV2Inner; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java index acb2651b9e4ae..8fe028778df55 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java @@ -29,7 +29,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import java.time.OffsetDateTime; import java.util.Collections; import java.util.List; @@ -268,11 +268,11 @@ public CommonPostActionResponseForStateUpdate resync(Context context) { return serviceManager.accessControlLists().resync(resourceGroupName, accessControlListName, context); } - public ValidateConfigurationResponse validateConfiguration() { + public ValidateConfigurationResponseV2 validateConfiguration() { return serviceManager.accessControlLists().validateConfiguration(resourceGroupName, accessControlListName); } - public ValidateConfigurationResponse validateConfiguration(Context context) { + public ValidateConfigurationResponseV2 validateConfiguration(Context context) { return serviceManager.accessControlLists() .validateConfiguration(resourceGroupName, accessControlListName, context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java index d966b82d6a259..ecd4d04eb9a8b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java @@ -38,7 +38,7 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.implementation.models.AccessControlListsListResult; import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -1488,13 +1488,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link PollerFlux} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ValidateConfigurationResponseInner> + private PollerFlux, ValidateConfigurationResponseV2Inner> beginValidateConfigurationAsync(String resourceGroupName, String accessControlListName) { Mono>> mono = validateConfigurationWithResponseAsync(resourceGroupName, accessControlListName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ValidateConfigurationResponseInner.class, - ValidateConfigurationResponseInner.class, this.client.getContext()); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), ValidateConfigurationResponseV2Inner.class, + ValidateConfigurationResponseV2Inner.class, this.client.getContext()); } /** @@ -1508,11 +1508,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String accessControlListName) { Response response = validateConfigurationWithResponse(resourceGroupName, accessControlListName); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, Context.NONE); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, + Context.NONE); } /** @@ -1527,12 +1528,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String accessControlListName, Context context) { Response response = validateConfigurationWithResponse(resourceGroupName, accessControlListName, context); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, context); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, context); } /** @@ -1546,7 +1547,7 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the response of the action validate configuration on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono validateConfigurationAsync(String resourceGroupName, + private Mono validateConfigurationAsync(String resourceGroupName, String accessControlListName) { return beginValidateConfigurationAsync(resourceGroupName, accessControlListName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1563,7 +1564,7 @@ private Mono validateConfigurationAsync(Stri * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String accessControlListName) { return beginValidateConfiguration(resourceGroupName, accessControlListName).getFinalResult(); } @@ -1580,7 +1581,7 @@ public ValidateConfigurationResponseInner validateConfiguration(String resourceG * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String accessControlListName, Context context) { return beginValidateConfiguration(resourceGroupName, accessControlListName, context).getFinalResult(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java index dcc5ffc358510..8c9b12a27d4a6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java @@ -13,13 +13,13 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.AccessControlList; import com.azure.resourcemanager.managednetworkfabric.models.AccessControlLists; import com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForStateUpdate; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; public final class AccessControlListsImpl implements AccessControlLists { private static final ClientLogger LOGGER = new ClientLogger(AccessControlListsImpl.class); @@ -124,22 +124,23 @@ public CommonPostActionResponseForStateUpdate resync(String resourceGroupName, S } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String accessControlListName) { - ValidateConfigurationResponseInner inner + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, + String accessControlListName) { + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, accessControlListName); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String accessControlListName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String accessControlListName, Context context) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, accessControlListName, context); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java new file mode 100644 index 0000000000000..82ace75de07ab --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java @@ -0,0 +1,184 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.management.Region; +import com.azure.core.management.SystemData; +import com.azure.core.util.Context; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import java.util.Collections; +import java.util.Map; + +public final class EdgeConnectorImpl implements EdgeConnector, EdgeConnector.Definition, EdgeConnector.Update { + private EdgeConnectorInner innerObject; + + private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager; + + public String id() { + return this.innerModel().id(); + } + + public String name() { + return this.innerModel().name(); + } + + public String type() { + return this.innerModel().type(); + } + + public String location() { + return this.innerModel().location(); + } + + public Map tags() { + Map inner = this.innerModel().tags(); + if (inner != null) { + return Collections.unmodifiableMap(inner); + } else { + return Collections.emptyMap(); + } + } + + public EdgeConnectorProperties properties() { + return this.innerModel().properties(); + } + + public SystemData systemData() { + return this.innerModel().systemData(); + } + + public Region region() { + return Region.fromName(this.regionName()); + } + + public String regionName() { + return this.location(); + } + + public String resourceGroupName() { + return resourceGroupName; + } + + public EdgeConnectorInner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() { + return this.serviceManager; + } + + private String resourceGroupName; + + private String edgeConnectorName; + + private EdgeConnectorPatch updateBody; + + public EdgeConnectorImpl withExistingResourceGroup(String resourceGroupName) { + this.resourceGroupName = resourceGroupName; + return this; + } + + public EdgeConnector create() { + this.innerObject = serviceManager.serviceClient() + .getEdgeConnectors() + .create(resourceGroupName, edgeConnectorName, this.innerModel(), Context.NONE); + return this; + } + + public EdgeConnector create(Context context) { + this.innerObject = serviceManager.serviceClient() + .getEdgeConnectors() + .create(resourceGroupName, edgeConnectorName, this.innerModel(), context); + return this; + } + + EdgeConnectorImpl(String name, + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerObject = new EdgeConnectorInner(); + this.serviceManager = serviceManager; + this.edgeConnectorName = name; + } + + public EdgeConnectorImpl update() { + this.updateBody = new EdgeConnectorPatch(); + return this; + } + + public EdgeConnector apply() { + this.innerObject = serviceManager.serviceClient() + .getEdgeConnectors() + .update(resourceGroupName, edgeConnectorName, updateBody, Context.NONE); + return this; + } + + public EdgeConnector apply(Context context) { + this.innerObject = serviceManager.serviceClient() + .getEdgeConnectors() + .update(resourceGroupName, edgeConnectorName, updateBody, context); + return this; + } + + EdgeConnectorImpl(EdgeConnectorInner innerObject, + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups"); + this.edgeConnectorName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "edgeConnectors"); + } + + public EdgeConnector refresh() { + this.innerObject = serviceManager.serviceClient() + .getEdgeConnectors() + .getByResourceGroupWithResponse(resourceGroupName, edgeConnectorName, Context.NONE) + .getValue(); + return this; + } + + public EdgeConnector refresh(Context context) { + this.innerObject = serviceManager.serviceClient() + .getEdgeConnectors() + .getByResourceGroupWithResponse(resourceGroupName, edgeConnectorName, context) + .getValue(); + return this; + } + + public EdgeConnectorImpl withRegion(Region location) { + this.innerModel().withLocation(location.toString()); + return this; + } + + public EdgeConnectorImpl withRegion(String location) { + this.innerModel().withLocation(location); + return this; + } + + public EdgeConnectorImpl withProperties(EdgeConnectorProperties properties) { + this.innerModel().withProperties(properties); + return this; + } + + public EdgeConnectorImpl withTags(Map tags) { + if (isInCreateMode()) { + this.innerModel().withTags(tags); + return this; + } else { + this.updateBody.withTags(tags); + return this; + } + } + + public EdgeConnectorImpl withProperties(EdgeConnectorPatchableProperties properties) { + this.updateBody.withProperties(properties); + return this; + } + + private boolean isInCreateMode() { + return this.innerModel() == null || this.innerModel().id() == null; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java new file mode 100644 index 0000000000000..6c4db7ec205a5 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java @@ -0,0 +1,1116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Patch; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Put; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.management.polling.PollResult; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner; +import com.azure.resourcemanager.managednetworkfabric.implementation.models.EdgeConnectorListResult; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch; +import java.nio.ByteBuffer; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in EdgeConnectorsClient. + */ +public final class EdgeConnectorsClientImpl implements EdgeConnectorsClient { + /** + * The proxy service used to perform REST calls. + */ + private final EdgeConnectorsService service; + + /** + * The service client containing this operation class. + */ + private final ManagedNetworkFabricManagementClientImpl client; + + /** + * Initializes an instance of EdgeConnectorsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + EdgeConnectorsClientImpl(ManagedNetworkFabricManagementClientImpl client) { + this.service + = RestProxy.create(EdgeConnectorsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for ManagedNetworkFabricManagementClientEdgeConnectors to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "ManagedNetworkFabricManagementClientEdgeConnectors") + public interface EdgeConnectorsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response getByResourceGroupSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, @HeaderParam("Accept") String accept, + Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> create(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") EdgeConnectorInner body, + Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response createSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") EdgeConnectorInner body, + Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> update(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") EdgeConnectorPatch body, + Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response updateSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") EdgeConnectorPatch body, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/{edgeConnectorName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response deleteSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("edgeConnectorName") String edgeConnectorName, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listByResourceGroupSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/edgeConnectors") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByResourceGroupNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listByResourceGroupNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listBySubscriptionNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listBySubscriptionNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified EdgeConnector along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String edgeConnectorName) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified EdgeConnector on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getByResourceGroupAsync(String resourceGroupName, String edgeConnectorName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, edgeConnectorName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified EdgeConnector along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String edgeConnectorName, Context context) { + final String accept = "application/json"; + return service.getByResourceGroupSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, accept, context); + } + + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified EdgeConnector. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public EdgeConnectorInner getByResourceGroup(String resourceGroupName, String edgeConnectorName) { + return getByResourceGroupWithResponse(resourceGroupName, edgeConnectorName, Context.NONE).getValue(); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> createWithResponseAsync(String resourceGroupName, String edgeConnectorName, + EdgeConnectorInner body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.create(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, contentType, accept, body, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response createWithResponse(String resourceGroupName, String edgeConnectorName, + EdgeConnectorInner body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, contentType, accept, body, + Context.NONE); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response createWithResponse(String resourceGroupName, String edgeConnectorName, + EdgeConnectorInner body, Context context) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, contentType, accept, body, context); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, EdgeConnectorInner> beginCreateAsync(String resourceGroupName, + String edgeConnectorName, EdgeConnectorInner body) { + Mono>> mono = createWithResponseAsync(resourceGroupName, edgeConnectorName, body); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + EdgeConnectorInner.class, EdgeConnectorInner.class, this.client.getContext()); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EdgeConnectorInner> beginCreate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorInner body) { + Response response = createWithResponse(resourceGroupName, edgeConnectorName, body); + return this.client.getLroResult(response, EdgeConnectorInner.class, + EdgeConnectorInner.class, Context.NONE); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EdgeConnectorInner> beginCreate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorInner body, Context context) { + Response response = createWithResponse(resourceGroupName, edgeConnectorName, body, context); + return this.client.getLroResult(response, EdgeConnectorInner.class, + EdgeConnectorInner.class, context); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono createAsync(String resourceGroupName, String edgeConnectorName, + EdgeConnectorInner body) { + return beginCreateAsync(resourceGroupName, edgeConnectorName, body).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public EdgeConnectorInner create(String resourceGroupName, String edgeConnectorName, EdgeConnectorInner body) { + return beginCreate(resourceGroupName, edgeConnectorName, body).getFinalResult(); + } + + /** + * Creates or updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body Request payload. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public EdgeConnectorInner create(String resourceGroupName, String edgeConnectorName, EdgeConnectorInner body, + Context context) { + return beginCreate(resourceGroupName, edgeConnectorName, body, context).getFinalResult(); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> updateWithResponseAsync(String resourceGroupName, String edgeConnectorName, + EdgeConnectorPatch body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, contentType, accept, body, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response updateWithResponse(String resourceGroupName, String edgeConnectorName, + EdgeConnectorPatch body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, contentType, accept, body, + Context.NONE); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response updateWithResponse(String resourceGroupName, String edgeConnectorName, + EdgeConnectorPatch body, Context context) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, contentType, accept, body, context); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, EdgeConnectorInner> beginUpdateAsync(String resourceGroupName, + String edgeConnectorName, EdgeConnectorPatch body) { + Mono>> mono = updateWithResponseAsync(resourceGroupName, edgeConnectorName, body); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + EdgeConnectorInner.class, EdgeConnectorInner.class, this.client.getContext()); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EdgeConnectorInner> beginUpdate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorPatch body) { + Response response = updateWithResponse(resourceGroupName, edgeConnectorName, body); + return this.client.getLroResult(response, EdgeConnectorInner.class, + EdgeConnectorInner.class, Context.NONE); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 edgeConnector represents the mechanism by which a collection of + * on-prem infrastructure (Fabric) is connected to Azure. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EdgeConnectorInner> beginUpdate(String resourceGroupName, + String edgeConnectorName, EdgeConnectorPatch body, Context context) { + Response response = updateWithResponse(resourceGroupName, edgeConnectorName, body, context); + return this.client.getLroResult(response, EdgeConnectorInner.class, + EdgeConnectorInner.class, context); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono updateAsync(String resourceGroupName, String edgeConnectorName, + EdgeConnectorPatch body) { + return beginUpdateAsync(resourceGroupName, edgeConnectorName, body).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public EdgeConnectorInner update(String resourceGroupName, String edgeConnectorName, EdgeConnectorPatch body) { + return beginUpdate(resourceGroupName, edgeConnectorName, body).getFinalResult(); + } + + /** + * Updates an EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param body EdgeConnector properties to update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return edgeConnector represents the mechanism by which a collection of on-prem infrastructure (Fabric) is + * connected to Azure. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public EdgeConnectorInner update(String resourceGroupName, String edgeConnectorName, EdgeConnectorPatch body, + Context context) { + return beginUpdate(resourceGroupName, edgeConnectorName, body, context).getFinalResult(); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String edgeConnectorName) { + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response deleteWithResponse(String resourceGroupName, String edgeConnectorName) { + return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, Context.NONE); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response deleteWithResponse(String resourceGroupName, String edgeConnectorName, + Context context) { + return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, edgeConnectorName, context); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String edgeConnectorName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, edgeConnectorName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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) + public SyncPoller, Void> beginDelete(String resourceGroupName, String edgeConnectorName) { + Response response = deleteWithResponse(resourceGroupName, edgeConnectorName); + return this.client.getLroResult(response, Void.class, Void.class, Context.NONE); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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) + public SyncPoller, Void> beginDelete(String resourceGroupName, String edgeConnectorName, + Context context) { + Response response = deleteWithResponse(resourceGroupName, edgeConnectorName, context); + return this.client.getLroResult(response, Void.class, Void.class, context); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String edgeConnectorName) { + return beginDeleteAsync(resourceGroupName, edgeConnectorName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String edgeConnectorName) { + beginDelete(resourceGroupName, edgeConnectorName).getFinalResult(); + } + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String edgeConnectorName, Context context) { + beginDelete(resourceGroupName, edgeConnectorName, context).getFinalResult(); + } + + /** + * Lists EdgeConnectors by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists EdgeConnectors by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + } + + /** + * Lists EdgeConnectors by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupSinglePage(String resourceGroupName) { + final String accept = "application/json"; + Response res = service.listByResourceGroupSync(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists EdgeConnectors by resource group. + * + * @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 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupSinglePage(String resourceGroupName, Context context) { + final String accept = "application/json"; + Response res = service.listByResourceGroupSync(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists EdgeConnectors by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePage(nextLink)); + } + + /** + * Lists EdgeConnectors by resource group. + * + * @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 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 a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePage(nextLink, context)); + } + + /** + * Lists EdgeConnectors by subscription. + * + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists EdgeConnectors by subscription. + * + * @throws 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 a EdgeConnector list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), + nextLink -> listBySubscriptionNextSinglePageAsync(nextLink)); + } + + /** + * Lists EdgeConnectors by subscription. + * + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listSinglePage() { + final String accept = "application/json"; + Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists EdgeConnectors by subscription. + * + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listSinglePage(Context context) { + final String accept = "application/json"; + Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists EdgeConnectors by subscription. + * + * @throws 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 a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(() -> listSinglePage(), nextLink -> listBySubscriptionNextSinglePage(nextLink)); + } + + /** + * Lists EdgeConnectors by subscription. + * + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(() -> listSinglePage(context), + nextLink -> listBySubscriptionNextSinglePage(nextLink, context)); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupNextSinglePage(String nextLink) { + final String accept = "application/json"; + Response res + = service.listByResourceGroupNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupNextSinglePage(String nextLink, Context context) { + final String accept = "application/json"; + Response res + = service.listByResourceGroupNextSync(nextLink, this.client.getEndpoint(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listBySubscriptionNextSinglePage(String nextLink) { + final String accept = "application/json"; + Response res + = service.listBySubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a EdgeConnector list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listBySubscriptionNextSinglePage(String nextLink, Context context) { + final String accept = "application/json"; + Response res + = service.listBySubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java new file mode 100644 index 0000000000000..bc108a4167b2f --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectors; + +public final class EdgeConnectorsImpl implements EdgeConnectors { + private static final ClientLogger LOGGER = new ClientLogger(EdgeConnectorsImpl.class); + + private final EdgeConnectorsClient innerClient; + + private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager; + + public EdgeConnectorsImpl(EdgeConnectorsClient innerClient, + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerClient = innerClient; + this.serviceManager = serviceManager; + } + + public Response getByResourceGroupWithResponse(String resourceGroupName, String edgeConnectorName, + Context context) { + Response inner + = this.serviceClient().getByResourceGroupWithResponse(resourceGroupName, edgeConnectorName, context); + return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(), + new EdgeConnectorImpl(inner.getValue(), this.manager())); + } + + public EdgeConnector getByResourceGroup(String resourceGroupName, String edgeConnectorName) { + EdgeConnectorInner inner = this.serviceClient().getByResourceGroup(resourceGroupName, edgeConnectorName); + if (inner != null) { + return new EdgeConnectorImpl(inner, this.manager()); + } else { + return null; + } + } + + public void deleteByResourceGroup(String resourceGroupName, String edgeConnectorName) { + this.serviceClient().delete(resourceGroupName, edgeConnectorName); + } + + public void delete(String resourceGroupName, String edgeConnectorName, Context context) { + this.serviceClient().delete(resourceGroupName, edgeConnectorName, context); + } + + public PagedIterable listByResourceGroup(String resourceGroupName) { + PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName); + return ResourceManagerUtils.mapPage(inner, inner1 -> new EdgeConnectorImpl(inner1, this.manager())); + } + + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName, context); + return ResourceManagerUtils.mapPage(inner, inner1 -> new EdgeConnectorImpl(inner1, this.manager())); + } + + public PagedIterable list() { + PagedIterable inner = this.serviceClient().list(); + return ResourceManagerUtils.mapPage(inner, inner1 -> new EdgeConnectorImpl(inner1, this.manager())); + } + + public PagedIterable list(Context context) { + PagedIterable inner = this.serviceClient().list(context); + return ResourceManagerUtils.mapPage(inner, inner1 -> new EdgeConnectorImpl(inner1, this.manager())); + } + + public EdgeConnector getById(String id) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String edgeConnectorName = ResourceManagerUtils.getValueFromIdByName(id, "edgeConnectors"); + if (edgeConnectorName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'edgeConnectors'.", id))); + } + return this.getByResourceGroupWithResponse(resourceGroupName, edgeConnectorName, Context.NONE).getValue(); + } + + public Response getByIdWithResponse(String id, Context context) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String edgeConnectorName = ResourceManagerUtils.getValueFromIdByName(id, "edgeConnectors"); + if (edgeConnectorName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'edgeConnectors'.", id))); + } + return this.getByResourceGroupWithResponse(resourceGroupName, edgeConnectorName, context); + } + + public void deleteById(String id) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String edgeConnectorName = ResourceManagerUtils.getValueFromIdByName(id, "edgeConnectors"); + if (edgeConnectorName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'edgeConnectors'.", id))); + } + this.delete(resourceGroupName, edgeConnectorName, Context.NONE); + } + + public void deleteByIdWithResponse(String id, Context context) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String edgeConnectorName = ResourceManagerUtils.getValueFromIdByName(id, "edgeConnectors"); + if (edgeConnectorName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'edgeConnectors'.", id))); + } + this.delete(resourceGroupName, edgeConnectorName, context); + } + + private EdgeConnectorsClient serviceClient() { + return this.innerClient; + } + + private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() { + return this.serviceManager; + } + + public EdgeConnectorImpl define(String name) { + return new EdgeConnectorImpl(name, this.manager()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java new file mode 100644 index 0000000000000..810b5403351bb --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java @@ -0,0 +1,182 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.management.Region; +import com.azure.core.management.SystemData; +import com.azure.core.util.Context; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner; +import com.azure.resourcemanager.managednetworkfabric.models.Fabric; +import com.azure.resourcemanager.managednetworkfabric.models.FabricPatch; +import com.azure.resourcemanager.managednetworkfabric.models.FabricPatchableProperties; +import com.azure.resourcemanager.managednetworkfabric.models.FabricProperties; +import java.util.Collections; +import java.util.Map; + +public final class FabricImpl implements Fabric, Fabric.Definition, Fabric.Update { + private FabricInner innerObject; + + private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager; + + public String id() { + return this.innerModel().id(); + } + + public String name() { + return this.innerModel().name(); + } + + public String type() { + return this.innerModel().type(); + } + + public String location() { + return this.innerModel().location(); + } + + public Map tags() { + Map inner = this.innerModel().tags(); + if (inner != null) { + return Collections.unmodifiableMap(inner); + } else { + return Collections.emptyMap(); + } + } + + public FabricProperties properties() { + return this.innerModel().properties(); + } + + public SystemData systemData() { + return this.innerModel().systemData(); + } + + public Region region() { + return Region.fromName(this.regionName()); + } + + public String regionName() { + return this.location(); + } + + public String resourceGroupName() { + return resourceGroupName; + } + + public FabricInner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() { + return this.serviceManager; + } + + private String resourceGroupName; + + private String fabricName; + + private FabricPatch updateBody; + + public FabricImpl withExistingResourceGroup(String resourceGroupName) { + this.resourceGroupName = resourceGroupName; + return this; + } + + public Fabric create() { + this.innerObject = serviceManager.serviceClient() + .getFabrics() + .create(resourceGroupName, fabricName, this.innerModel(), Context.NONE); + return this; + } + + public Fabric create(Context context) { + this.innerObject = serviceManager.serviceClient() + .getFabrics() + .create(resourceGroupName, fabricName, this.innerModel(), context); + return this; + } + + FabricImpl(String name, com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerObject = new FabricInner(); + this.serviceManager = serviceManager; + this.fabricName = name; + } + + public FabricImpl update() { + this.updateBody = new FabricPatch(); + return this; + } + + public Fabric apply() { + this.innerObject = serviceManager.serviceClient() + .getFabrics() + .update(resourceGroupName, fabricName, updateBody, Context.NONE); + return this; + } + + public Fabric apply(Context context) { + this.innerObject + = serviceManager.serviceClient().getFabrics().update(resourceGroupName, fabricName, updateBody, context); + return this; + } + + FabricImpl(FabricInner innerObject, + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups"); + this.fabricName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "fabrics"); + } + + public Fabric refresh() { + this.innerObject = serviceManager.serviceClient() + .getFabrics() + .getByResourceGroupWithResponse(resourceGroupName, fabricName, Context.NONE) + .getValue(); + return this; + } + + public Fabric refresh(Context context) { + this.innerObject = serviceManager.serviceClient() + .getFabrics() + .getByResourceGroupWithResponse(resourceGroupName, fabricName, context) + .getValue(); + return this; + } + + public FabricImpl withRegion(Region location) { + this.innerModel().withLocation(location.toString()); + return this; + } + + public FabricImpl withRegion(String location) { + this.innerModel().withLocation(location); + return this; + } + + public FabricImpl withProperties(FabricProperties properties) { + this.innerModel().withProperties(properties); + return this; + } + + public FabricImpl withTags(Map tags) { + if (isInCreateMode()) { + this.innerModel().withTags(tags); + return this; + } else { + this.updateBody.withTags(tags); + return this; + } + } + + public FabricImpl withProperties(FabricPatchableProperties properties) { + this.updateBody.withProperties(properties); + return this; + } + + private boolean isInCreateMode() { + return this.innerModel() == null || this.innerModel().id() == null; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java new file mode 100644 index 0000000000000..d89c6e93cd80b --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java @@ -0,0 +1,1096 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Patch; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Put; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.management.polling.PollResult; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner; +import com.azure.resourcemanager.managednetworkfabric.implementation.models.FabricListResult; +import com.azure.resourcemanager.managednetworkfabric.models.FabricPatch; +import java.nio.ByteBuffer; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in FabricsClient. + */ +public final class FabricsClientImpl implements FabricsClient { + /** + * The proxy service used to perform REST calls. + */ + private final FabricsService service; + + /** + * The service client containing this operation class. + */ + private final ManagedNetworkFabricManagementClientImpl client; + + /** + * Initializes an instance of FabricsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + FabricsClientImpl(ManagedNetworkFabricManagementClientImpl client) { + this.service = RestProxy.create(FabricsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for ManagedNetworkFabricManagementClientFabrics to be used by the proxy + * service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "ManagedNetworkFabricManagementClientFabrics") + public interface FabricsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response getByResourceGroupSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + @HeaderParam("Accept") String accept, Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> create(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FabricInner body, Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response createSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FabricInner body, Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> update(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FabricPatch body, Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response updateSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FabricPatch body, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics/{fabricName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response deleteSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fabricName") String fabricName, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/fabrics") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listByResourceGroupSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/fabrics") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/fabrics") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByResourceGroupNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listByResourceGroupNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listBySubscriptionNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listBySubscriptionNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified Fabric along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String fabricName) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified Fabric on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getByResourceGroupAsync(String resourceGroupName, String fabricName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, fabricName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified Fabric along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, String fabricName, + Context context) { + final String accept = "application/json"; + return service.getByResourceGroupSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, accept, context); + } + + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 specified Fabric. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public FabricInner getByResourceGroup(String resourceGroupName, String fabricName) { + return getByResourceGroupWithResponse(resourceGroupName, fabricName, Context.NONE).getValue(); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> createWithResponseAsync(String resourceGroupName, String fabricName, + FabricInner body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.create(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, contentType, accept, body, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response createWithResponse(String resourceGroupName, String fabricName, FabricInner body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, contentType, accept, body, Context.NONE); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response createWithResponse(String resourceGroupName, String fabricName, FabricInner body, + Context context) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, contentType, accept, body, context); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, FabricInner> beginCreateAsync(String resourceGroupName, + String fabricName, FabricInner body) { + Mono>> mono = createWithResponseAsync(resourceGroupName, fabricName, body); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + FabricInner.class, FabricInner.class, this.client.getContext()); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, FabricInner> beginCreate(String resourceGroupName, String fabricName, + FabricInner body) { + Response response = createWithResponse(resourceGroupName, fabricName, body); + return this.client.getLroResult(response, FabricInner.class, FabricInner.class, + Context.NONE); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, FabricInner> beginCreate(String resourceGroupName, String fabricName, + FabricInner body, Context context) { + Response response = createWithResponse(resourceGroupName, fabricName, body, context); + return this.client.getLroResult(response, FabricInner.class, FabricInner.class, + context); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono createAsync(String resourceGroupName, String fabricName, FabricInner body) { + return beginCreateAsync(resourceGroupName, fabricName, body).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public FabricInner create(String resourceGroupName, String fabricName, FabricInner body) { + return beginCreate(resourceGroupName, fabricName, body).getFinalResult(); + } + + /** + * Creates or updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Request payload. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public FabricInner create(String resourceGroupName, String fabricName, FabricInner body, Context context) { + return beginCreate(resourceGroupName, fabricName, body, context).getFinalResult(); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> updateWithResponseAsync(String resourceGroupName, String fabricName, + FabricPatch body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, contentType, accept, body, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response updateWithResponse(String resourceGroupName, String fabricName, FabricPatch body) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, contentType, accept, body, Context.NONE); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response updateWithResponse(String resourceGroupName, String fabricName, FabricPatch body, + Context context) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, contentType, accept, body, context); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, FabricInner> beginUpdateAsync(String resourceGroupName, + String fabricName, FabricPatch body) { + Mono>> mono = updateWithResponseAsync(resourceGroupName, fabricName, body); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + FabricInner.class, FabricInner.class, this.client.getContext()); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, FabricInner> beginUpdate(String resourceGroupName, String fabricName, + FabricPatch body) { + Response response = updateWithResponse(resourceGroupName, fabricName, body); + return this.client.getLroResult(response, FabricInner.class, FabricInner.class, + Context.NONE); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 represents a physical network deployment hosting infrastructure + * network configuration. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, FabricInner> beginUpdate(String resourceGroupName, String fabricName, + FabricPatch body, Context context) { + Response response = updateWithResponse(resourceGroupName, fabricName, body, context); + return this.client.getLroResult(response, FabricInner.class, FabricInner.class, + context); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono updateAsync(String resourceGroupName, String fabricName, FabricPatch body) { + return beginUpdateAsync(resourceGroupName, fabricName, body).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public FabricInner update(String resourceGroupName, String fabricName, FabricPatch body) { + return beginUpdate(resourceGroupName, fabricName, body).getFinalResult(); + } + + /** + * Updates a Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param body Fabric properties to update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a physical network deployment hosting infrastructure network configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public FabricInner update(String resourceGroupName, String fabricName, FabricPatch body, Context context) { + return beginUpdate(resourceGroupName, fabricName, body, context).getFinalResult(); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String fabricName) { + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response deleteWithResponse(String resourceGroupName, String fabricName) { + return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, Context.NONE); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response deleteWithResponse(String resourceGroupName, String fabricName, Context context) { + return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, fabricName, context); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String fabricName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, fabricName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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) + public SyncPoller, Void> beginDelete(String resourceGroupName, String fabricName) { + Response response = deleteWithResponse(resourceGroupName, fabricName); + return this.client.getLroResult(response, Void.class, Void.class, Context.NONE); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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) + public SyncPoller, Void> beginDelete(String resourceGroupName, String fabricName, + Context context) { + Response response = deleteWithResponse(resourceGroupName, fabricName, context); + return this.client.getLroResult(response, Void.class, Void.class, context); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String fabricName) { + return beginDeleteAsync(resourceGroupName, fabricName).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String fabricName) { + beginDelete(resourceGroupName, fabricName).getFinalResult(); + } + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String fabricName, Context context) { + beginDelete(resourceGroupName, fabricName, context).getFinalResult(); + } + + /** + * Lists Fabrics by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists Fabrics by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + } + + /** + * Lists Fabrics by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupSinglePage(String resourceGroupName) { + final String accept = "application/json"; + Response res = service.listByResourceGroupSync(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists Fabrics by resource group. + * + * @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 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupSinglePage(String resourceGroupName, Context context) { + final String accept = "application/json"; + Response res = service.listByResourceGroupSync(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists Fabrics by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePage(nextLink)); + } + + /** + * Lists Fabrics by resource group. + * + * @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 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 a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePage(nextLink, context)); + } + + /** + * Lists Fabrics by subscription. + * + * @throws 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 a Fabric list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists Fabrics by subscription. + * + * @throws 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 a Fabric list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), + nextLink -> listBySubscriptionNextSinglePageAsync(nextLink)); + } + + /** + * Lists Fabrics by subscription. + * + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listSinglePage() { + final String accept = "application/json"; + Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists Fabrics by subscription. + * + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listSinglePage(Context context) { + final String accept = "application/json"; + Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Lists Fabrics by subscription. + * + * @throws 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 a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(() -> listSinglePage(), nextLink -> listBySubscriptionNextSinglePage(nextLink)); + } + + /** + * Lists Fabrics by subscription. + * + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(() -> listSinglePage(context), + nextLink -> listBySubscriptionNextSinglePage(nextLink, context)); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupNextSinglePage(String nextLink) { + final String accept = "application/json"; + Response res + = service.listByResourceGroupNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByResourceGroupNextSinglePage(String nextLink, Context context) { + final String accept = "application/json"; + Response res + = service.listByResourceGroupNextSync(nextLink, this.client.getEndpoint(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listBySubscriptionNextSinglePage(String nextLink) { + final String accept = "application/json"; + Response res + = service.listBySubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 a Fabric list operation along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listBySubscriptionNextSinglePage(String nextLink, Context context) { + final String accept = "application/json"; + Response res + = service.listBySubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java new file mode 100644 index 0000000000000..d2ddfee81124d --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner; +import com.azure.resourcemanager.managednetworkfabric.models.Fabric; +import com.azure.resourcemanager.managednetworkfabric.models.Fabrics; + +public final class FabricsImpl implements Fabrics { + private static final ClientLogger LOGGER = new ClientLogger(FabricsImpl.class); + + private final FabricsClient innerClient; + + private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager; + + public FabricsImpl(FabricsClient innerClient, + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerClient = innerClient; + this.serviceManager = serviceManager; + } + + public Response getByResourceGroupWithResponse(String resourceGroupName, String fabricName, + Context context) { + Response inner + = this.serviceClient().getByResourceGroupWithResponse(resourceGroupName, fabricName, context); + return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(), + new FabricImpl(inner.getValue(), this.manager())); + } + + public Fabric getByResourceGroup(String resourceGroupName, String fabricName) { + FabricInner inner = this.serviceClient().getByResourceGroup(resourceGroupName, fabricName); + if (inner != null) { + return new FabricImpl(inner, this.manager()); + } else { + return null; + } + } + + public void deleteByResourceGroup(String resourceGroupName, String fabricName) { + this.serviceClient().delete(resourceGroupName, fabricName); + } + + public void delete(String resourceGroupName, String fabricName, Context context) { + this.serviceClient().delete(resourceGroupName, fabricName, context); + } + + public PagedIterable listByResourceGroup(String resourceGroupName) { + PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName); + return ResourceManagerUtils.mapPage(inner, inner1 -> new FabricImpl(inner1, this.manager())); + } + + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName, context); + return ResourceManagerUtils.mapPage(inner, inner1 -> new FabricImpl(inner1, this.manager())); + } + + public PagedIterable list() { + PagedIterable inner = this.serviceClient().list(); + return ResourceManagerUtils.mapPage(inner, inner1 -> new FabricImpl(inner1, this.manager())); + } + + public PagedIterable list(Context context) { + PagedIterable inner = this.serviceClient().list(context); + return ResourceManagerUtils.mapPage(inner, inner1 -> new FabricImpl(inner1, this.manager())); + } + + public Fabric getById(String id) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String fabricName = ResourceManagerUtils.getValueFromIdByName(id, "fabrics"); + if (fabricName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'fabrics'.", id))); + } + return this.getByResourceGroupWithResponse(resourceGroupName, fabricName, Context.NONE).getValue(); + } + + public Response getByIdWithResponse(String id, Context context) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String fabricName = ResourceManagerUtils.getValueFromIdByName(id, "fabrics"); + if (fabricName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'fabrics'.", id))); + } + return this.getByResourceGroupWithResponse(resourceGroupName, fabricName, context); + } + + public void deleteById(String id) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String fabricName = ResourceManagerUtils.getValueFromIdByName(id, "fabrics"); + if (fabricName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'fabrics'.", id))); + } + this.delete(resourceGroupName, fabricName, Context.NONE); + } + + public void deleteByIdWithResponse(String id, Context context) { + String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String fabricName = ResourceManagerUtils.getValueFromIdByName(id, "fabrics"); + if (fabricName == null) { + throw LOGGER.logExceptionAsError(new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'fabrics'.", id))); + } + this.delete(resourceGroupName, fabricName, context); + } + + private FabricsClient serviceClient() { + return this.innerClient; + } + + private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() { + return this.serviceManager; + } + + public FabricImpl define(String name) { + return new FabricImpl(name, this.manager()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java index 1233bde7ca865..fe907646362cd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java @@ -20,7 +20,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import java.util.Collections; import java.util.Map; @@ -209,11 +209,11 @@ public UpdateAdministrativeStateResponse updateAdministrativeState(UpdateAdminis .updateAdministrativeState(resourceGroupName, l2IsolationDomainName, body, context); } - public ValidateConfigurationResponse validateConfiguration() { + public ValidateConfigurationResponseV2 validateConfiguration() { return serviceManager.l2IsolationDomains().validateConfiguration(resourceGroupName, l2IsolationDomainName); } - public ValidateConfigurationResponse validateConfiguration(Context context) { + public ValidateConfigurationResponseV2 validateConfiguration(Context context) { return serviceManager.l2IsolationDomains() .validateConfiguration(resourceGroupName, l2IsolationDomainName, context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java index 264017e5a8758..72725c957b252 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java @@ -38,7 +38,7 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.implementation.models.L2IsolationDomainsListResult; import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -1327,13 +1327,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link PollerFlux} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ValidateConfigurationResponseInner> + private PollerFlux, ValidateConfigurationResponseV2Inner> beginValidateConfigurationAsync(String resourceGroupName, String l2IsolationDomainName) { Mono>> mono = validateConfigurationWithResponseAsync(resourceGroupName, l2IsolationDomainName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ValidateConfigurationResponseInner.class, - ValidateConfigurationResponseInner.class, this.client.getContext()); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), ValidateConfigurationResponseV2Inner.class, + ValidateConfigurationResponseV2Inner.class, this.client.getContext()); } /** @@ -1347,11 +1347,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l2IsolationDomainName) { Response response = validateConfigurationWithResponse(resourceGroupName, l2IsolationDomainName); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, Context.NONE); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, + Context.NONE); } /** @@ -1366,12 +1367,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l2IsolationDomainName, Context context) { Response response = validateConfigurationWithResponse(resourceGroupName, l2IsolationDomainName, context); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, context); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, context); } /** @@ -1385,7 +1386,7 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the response of the action validate configuration on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono validateConfigurationAsync(String resourceGroupName, + private Mono validateConfigurationAsync(String resourceGroupName, String l2IsolationDomainName) { return beginValidateConfigurationAsync(resourceGroupName, l2IsolationDomainName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1402,7 +1403,7 @@ private Mono validateConfigurationAsync(Stri * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l2IsolationDomainName) { return beginValidateConfiguration(resourceGroupName, l2IsolationDomainName).getFinalResult(); } @@ -1419,7 +1420,7 @@ public ValidateConfigurationResponseInner validateConfiguration(String resourceG * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l2IsolationDomainName, Context context) { return beginValidateConfiguration(resourceGroupName, l2IsolationDomainName, context).getFinalResult(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java index c4a7ab89df0fb..7fd18913fb25b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java @@ -13,13 +13,13 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForStateUpdate; import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomain; import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomains; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; public final class L2IsolationDomainsImpl implements L2IsolationDomains { private static final ClientLogger LOGGER = new ClientLogger(L2IsolationDomainsImpl.class); @@ -103,22 +103,23 @@ public UpdateAdministrativeStateResponse updateAdministrativeState(String resour } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l2IsolationDomainName) { - ValidateConfigurationResponseInner inner + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, + String l2IsolationDomainName) { + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, l2IsolationDomainName); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l2IsolationDomainName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String l2IsolationDomainName, Context context) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, l2IsolationDomainName, context); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java index e4d9c068201df..10b2883997401 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java @@ -32,7 +32,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicyPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import java.util.Collections; import java.util.Map; @@ -241,11 +241,11 @@ public UpdateAdministrativeStateResponse updateAdministrativeState(UpdateAdminis .updateAdministrativeState(resourceGroupName, l3IsolationDomainName, body, context); } - public ValidateConfigurationResponse validateConfiguration() { + public ValidateConfigurationResponseV2 validateConfiguration() { return serviceManager.l3IsolationDomains().validateConfiguration(resourceGroupName, l3IsolationDomainName); } - public ValidateConfigurationResponse validateConfiguration(Context context) { + public ValidateConfigurationResponseV2 validateConfiguration(Context context) { return serviceManager.l3IsolationDomains() .validateConfiguration(resourceGroupName, l3IsolationDomainName, context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java index 13e6de4f9a7fc..fd8a2dacf01e7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java @@ -38,7 +38,7 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.implementation.models.L3IsolationDomainsListResult; import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -1336,13 +1336,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link PollerFlux} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ValidateConfigurationResponseInner> + private PollerFlux, ValidateConfigurationResponseV2Inner> beginValidateConfigurationAsync(String resourceGroupName, String l3IsolationDomainName) { Mono>> mono = validateConfigurationWithResponseAsync(resourceGroupName, l3IsolationDomainName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ValidateConfigurationResponseInner.class, - ValidateConfigurationResponseInner.class, this.client.getContext()); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), ValidateConfigurationResponseV2Inner.class, + ValidateConfigurationResponseV2Inner.class, this.client.getContext()); } /** @@ -1356,11 +1356,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l3IsolationDomainName) { Response response = validateConfigurationWithResponse(resourceGroupName, l3IsolationDomainName); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, Context.NONE); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, + Context.NONE); } /** @@ -1375,12 +1376,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String l3IsolationDomainName, Context context) { Response response = validateConfigurationWithResponse(resourceGroupName, l3IsolationDomainName, context); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, context); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, context); } /** @@ -1394,7 +1395,7 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the response of the action validate configuration on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono validateConfigurationAsync(String resourceGroupName, + private Mono validateConfigurationAsync(String resourceGroupName, String l3IsolationDomainName) { return beginValidateConfigurationAsync(resourceGroupName, l3IsolationDomainName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1411,7 +1412,7 @@ private Mono validateConfigurationAsync(Stri * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l3IsolationDomainName) { return beginValidateConfiguration(resourceGroupName, l3IsolationDomainName).getFinalResult(); } @@ -1428,7 +1429,7 @@ public ValidateConfigurationResponseInner validateConfiguration(String resourceG * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String l3IsolationDomainName, Context context) { return beginValidateConfiguration(resourceGroupName, l3IsolationDomainName, context).getFinalResult(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java index c2c817d5bdccb..cb60108d2e70b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java @@ -13,13 +13,13 @@ 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.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForStateUpdate; import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomain; import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomains; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; public final class L3IsolationDomainsImpl implements L3IsolationDomains { private static final ClientLogger LOGGER = new ClientLogger(L3IsolationDomainsImpl.class); @@ -103,22 +103,23 @@ public UpdateAdministrativeStateResponse updateAdministrativeState(String resour } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l3IsolationDomainName) { - ValidateConfigurationResponseInner inner + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, + String l3IsolationDomainName) { + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, l3IsolationDomainName); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l3IsolationDomainName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String l3IsolationDomainName, Context context) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, l3IsolationDomainName, context); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java index 5258fe9e300d6..810c613727841 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java @@ -27,7 +27,9 @@ import com.azure.core.util.serializer.SerializerAdapter; import com.azure.core.util.serializer.SerializerEncoding; import com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient; +import com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient; import com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient; +import com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient; import com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient; import com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient; import com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient; @@ -530,6 +532,34 @@ public NetworkBootstrapInterfacesClient getNetworkBootstrapInterfaces() { return this.networkBootstrapInterfaces; } + /** + * The EdgeConnectorsClient object to access its operations. + */ + private final EdgeConnectorsClient edgeConnectors; + + /** + * Gets the EdgeConnectorsClient object to access its operations. + * + * @return the EdgeConnectorsClient object. + */ + public EdgeConnectorsClient getEdgeConnectors() { + return this.edgeConnectors; + } + + /** + * The FabricsClient object to access its operations. + */ + private final FabricsClient fabrics; + + /** + * Gets the FabricsClient object to access its operations. + * + * @return the FabricsClient object. + */ + public FabricsClient getFabrics() { + return this.fabrics; + } + /** * Initializes an instance of ManagedNetworkFabricManagementClient client. * @@ -547,7 +577,7 @@ public NetworkBootstrapInterfacesClient getNetworkBootstrapInterfaces() { this.defaultPollInterval = defaultPollInterval; this.endpoint = endpoint; this.subscriptionId = subscriptionId; - this.apiVersion = "2025-07-15"; + this.apiVersion = "2026-01-15-preview"; this.operations = new OperationsClientImpl(this); this.accessControlLists = new AccessControlListsClientImpl(this); this.internetGatewayRules = new InternetGatewayRulesClientImpl(this); @@ -575,6 +605,8 @@ public NetworkBootstrapInterfacesClient getNetworkBootstrapInterfaces() { this.networkMonitors = new NetworkMonitorsClientImpl(this); this.networkBootstrapDevices = new NetworkBootstrapDevicesClientImpl(this); this.networkBootstrapInterfaces = new NetworkBootstrapInterfacesClientImpl(this); + this.edgeConnectors = new EdgeConnectorsClientImpl(this); + this.fabrics = new FabricsClientImpl(this); } /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java index fa5b850b4e8fe..f9d6b65d6ba13 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java @@ -8,6 +8,7 @@ import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupInner; +import com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; @@ -107,6 +108,10 @@ public ConfigurationState configurationState() { return this.innerModel().configurationState(); } + public AdministrativeState administrativeState() { + return this.innerModel().administrativeState(); + } + public Region region() { return Region.fromName(this.regionName()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java index 0ad57d55f37fd..8f6a3399303a7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java @@ -19,10 +19,13 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDeviceResyncPasswordsResponse; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDeviceUpdateAdministrativeStateResponse; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDeviceUpgradeResponse; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; +import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus; import com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion; import java.util.Collections; +import java.util.List; import java.util.Map; public final class NetworkBootstrapDeviceImpl @@ -76,6 +79,15 @@ public String serialNumber() { return this.innerModel().serialNumber(); } + public List controlPlaneAcls() { + List inner = this.innerModel().controlPlaneAcls(); + if (inner != null) { + return Collections.unmodifiableList(inner); + } else { + return Collections.emptyList(); + } + } + public String version() { return this.innerModel().version(); } @@ -120,6 +132,19 @@ public ConfigurationState configurationState() { return this.innerModel().configurationState(); } + public OperationalState operationalState() { + return this.innerModel().operationalState(); + } + + public List secretRotationStatus() { + List inner = this.innerModel().secretRotationStatus(); + if (inner != null) { + return Collections.unmodifiableList(inner); + } else { + return Collections.emptyList(); + } + } + public Region region() { return Region.fromName(this.regionName()); } @@ -319,6 +344,16 @@ public NetworkBootstrapDeviceImpl withSerialNumber(String serialNumber) { } } + public NetworkBootstrapDeviceImpl withControlPlaneAcls(List controlPlaneAcls) { + if (isInCreateMode()) { + this.innerModel().withControlPlaneAcls(controlPlaneAcls); + return this; + } else { + this.updateBody.withControlPlaneAcls(controlPlaneAcls); + return this; + } + } + public NetworkBootstrapDeviceImpl withNetworkDeviceSku(String networkDeviceSku) { this.innerModel().withNetworkDeviceSku(networkDeviceSku); return this; diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java index 778403d753c0e..2ffd0ebb5bd9b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java @@ -13,6 +13,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.InterfaceType; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterface; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfacePatch; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -82,6 +83,10 @@ public String serialNumber() { return this.innerModel().serialNumber(); } + public OperationalState operationalState() { + return this.innerModel().operationalState(); + } + public String annotation() { return this.innerModel().annotation(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java index fe42cfc807573..ddf4fc8a307d4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java @@ -30,6 +30,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgradeResponse; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricResyncCertificatesResponse; import com.azure.resourcemanager.managednetworkfabric.models.OperationStatusResult; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.RebootProperties; import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus; @@ -136,6 +137,10 @@ public AdministrativeState administrativeState() { return this.innerModel().administrativeState(); } + public OperationalState operationalState() { + return this.innerModel().operationalState(); + } + public List secretRotationStatus() { List inner = this.innerModel().secretRotationStatus(); if (inner != null) { diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java index 1745de3d875f0..d385937a3c3ad 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java @@ -18,7 +18,9 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricController; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllerPatch; import com.azure.resourcemanager.managednetworkfabric.models.NfcSku; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; +import com.azure.resourcemanager.managednetworkfabric.models.VmProfile; import java.util.Collections; import java.util.List; import java.util.Map; @@ -138,6 +140,14 @@ public ProvisioningState provisioningState() { return this.innerModel().provisioningState(); } + public OperationalState operationalState() { + return this.innerModel().operationalState(); + } + + public VmProfile vmProfile() { + return this.innerModel().vmProfile(); + } + public Region region() { return Region.fromName(this.regionName()); } @@ -313,6 +323,11 @@ public NetworkFabricControllerImpl withNfcSku(NfcSku nfcSku) { return this; } + public NetworkFabricControllerImpl withVmProfile(VmProfile vmProfile) { + this.innerModel().withVmProfile(vmProfile); + return this; + } + public NetworkFabricControllerImpl withIdentity(ManagedServiceIdentityPatch identity) { this.updateBody.withIdentity(identity); return this; diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java index d8c7acd0376a2..83f38d04323c3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java @@ -35,9 +35,13 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRotateCertificatesResponse; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRotatePasswordsResponse; import com.azure.resourcemanager.managednetworkfabric.models.OperationStatusResult; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.QosProperties; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchivePatchSettings; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings; import com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary; import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration; import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration; @@ -48,8 +52,10 @@ import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfilePropertiesPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import com.azure.resourcemanager.managednetworkfabric.models.ViewDeviceConfigurationOperationResponse; import java.util.Collections; import java.util.List; @@ -147,6 +153,10 @@ public long fabricAsn() { return this.innerModel().fabricAsn(); } + public String networkBootstrapDeviceId() { + return this.innerModel().networkBootstrapDeviceId(); + } + public TerminalServerConfiguration terminalServerConfiguration() { return this.innerModel().terminalServerConfiguration(); } @@ -254,10 +264,27 @@ public AdministrativeState administrativeState() { return this.innerModel().administrativeState(); } + public OperationalState operationalState() { + return this.innerModel().operationalState(); + } + public QosProperties qosConfiguration() { return this.innerModel().qosConfiguration(); } + public SecretArchiveSettings secretArchiveSettings() { + return this.innerModel().secretArchiveSettings(); + } + + public List upgradeProfile() { + List inner = this.innerModel().upgradeProfile(); + if (inner != null) { + return Collections.unmodifiableList(inner); + } else { + return Collections.emptyList(); + } + } + public String annotation() { return this.innerModel().annotation(); } @@ -385,8 +412,9 @@ public OperationStatusResult refreshConfiguration() { return serviceManager.networkFabrics().refreshConfiguration(resourceGroupName, networkFabricName); } - public OperationStatusResult refreshConfiguration(Context context) { - return serviceManager.networkFabrics().refreshConfiguration(resourceGroupName, networkFabricName, context); + public OperationStatusResult refreshConfiguration(RefreshConfigurationRequestProperties body, Context context) { + return serviceManager.networkFabrics() + .refreshConfiguration(resourceGroupName, networkFabricName, body, context); } public UpdateAdministrativeStateResponse updateWorkloadManagementBfdConfiguration(UpdateAdministrativeState body) { @@ -411,11 +439,12 @@ public UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(U .updateInfraManagementBfdConfiguration(resourceGroupName, networkFabricName, body, context); } - public ValidateConfigurationResponse validateConfiguration(ValidateConfigurationProperties body) { + public ValidateConfigurationResponseV2 validateConfiguration(ValidateConfigurationProperties body) { return serviceManager.networkFabrics().validateConfiguration(resourceGroupName, networkFabricName, body); } - public ValidateConfigurationResponse validateConfiguration(ValidateConfigurationProperties body, Context context) { + public ValidateConfigurationResponseV2 validateConfiguration(ValidateConfigurationProperties body, + Context context) { return serviceManager.networkFabrics() .validateConfiguration(resourceGroupName, networkFabricName, body, context); } @@ -664,6 +693,16 @@ public NetworkFabricImpl withQosConfiguration(QosProperties qosConfiguration) { return this; } + public NetworkFabricImpl withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings) { + this.innerModel().withSecretArchiveSettings(secretArchiveSettings); + return this; + } + + public NetworkFabricImpl withUpgradeProfile(List upgradeProfile) { + this.innerModel().withUpgradeProfile(upgradeProfile); + return this; + } + public NetworkFabricImpl withAnnotation(String annotation) { if (isInCreateMode()) { this.innerModel().withAnnotation(annotation); @@ -722,6 +761,16 @@ public NetworkFabricImpl withAuthorizedTransceiver(AuthorizedTransceiverPatchPro return this; } + public NetworkFabricImpl withSecretArchiveSettings(SecretArchivePatchSettings secretArchiveSettings) { + this.updateBody.withSecretArchiveSettings(secretArchiveSettings); + return this; + } + + public NetworkFabricImpl withUpgradeProfileForUpdate(List upgradeProfile) { + this.updateBody.withUpgradeProfile(upgradeProfile); + return this; + } + private boolean isInCreateMode() { return this.innerModel() == null || this.innerModel().id() == null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java index c6df8a1038d8f..5d4bd5e8b9292 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java @@ -47,7 +47,7 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner; import com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricsListResult; import com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest; @@ -55,6 +55,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatch; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties; import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties; @@ -274,7 +275,7 @@ Mono>> refreshConfiguration(@HostParam("endpoint") Str @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkFabricName") String networkFabricName, @HeaderParam("Accept") String accept, - Context context); + @BodyParam("application/json") RefreshConfigurationRequestProperties body, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/refreshConfiguration") @@ -284,7 +285,7 @@ Response refreshConfigurationSync(@HostParam("endpoint") String endp @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkFabricName") String networkFabricName, @HeaderParam("Accept") String accept, - Context context); + @BodyParam("application/json") RefreshConfigurationRequestProperties body, Context context); @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/updateWorkloadManagementBfdConfiguration") @ExpectedResponses({ 200, 202 }) @@ -1865,6 +1866,7 @@ public OperationStatusResultInner upgrade(String resourceGroupName, String netwo * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1873,11 +1875,11 @@ public OperationStatusResultInner upgrade(String resourceGroupName, String netwo */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> refreshConfigurationWithResponseAsync(String resourceGroupName, - String networkFabricName) { + String networkFabricName, RefreshConfigurationRequestProperties body) { final String accept = "application/json"; return FluxUtil .withContext(context -> service.refreshConfiguration(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, networkFabricName, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, networkFabricName, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1886,16 +1888,18 @@ private Mono>> refreshConfigurationWithResponseAsync(S * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 current status of an async operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Response refreshConfigurationWithResponse(String resourceGroupName, String networkFabricName) { + private Response refreshConfigurationWithResponse(String resourceGroupName, String networkFabricName, + RefreshConfigurationRequestProperties body) { final String accept = "application/json"; return service.refreshConfigurationSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, networkFabricName, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, networkFabricName, accept, body, Context.NONE); } /** @@ -1903,6 +1907,7 @@ private Response refreshConfigurationWithResponse(String resourceGro * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1911,10 +1916,32 @@ private Response refreshConfigurationWithResponse(String resourceGro */ @ServiceMethod(returns = ReturnType.SINGLE) private Response refreshConfigurationWithResponse(String resourceGroupName, String networkFabricName, - Context context) { + RefreshConfigurationRequestProperties body, Context context) { final String accept = "application/json"; return service.refreshConfigurationSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, networkFabricName, accept, context); + this.client.getSubscriptionId(), resourceGroupName, networkFabricName, accept, body, context); + } + + /** + * Refreshes the configuration of the underlying resources in the given Network Fabric instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 PollerFlux} for polling of the current status of an async operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, OperationStatusResultInner> + beginRefreshConfigurationAsync(String resourceGroupName, String networkFabricName, + RefreshConfigurationRequestProperties body) { + Mono>> mono + = refreshConfigurationWithResponseAsync(resourceGroupName, networkFabricName, body); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), OperationStatusResultInner.class, OperationStatusResultInner.class, + this.client.getContext()); } /** @@ -1930,13 +1957,33 @@ private Response refreshConfigurationWithResponse(String resourceGro @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, OperationStatusResultInner> beginRefreshConfigurationAsync(String resourceGroupName, String networkFabricName) { + final RefreshConfigurationRequestProperties body = null; Mono>> mono - = refreshConfigurationWithResponseAsync(resourceGroupName, networkFabricName); + = refreshConfigurationWithResponseAsync(resourceGroupName, networkFabricName, body); return this.client.getLroResult(mono, this.client.getHttpPipeline(), OperationStatusResultInner.class, OperationStatusResultInner.class, this.client.getContext()); } + /** + * Refreshes the configuration of the underlying resources in the given Network Fabric instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 current status of an async operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, OperationStatusResultInner> beginRefreshConfiguration( + String resourceGroupName, String networkFabricName, RefreshConfigurationRequestProperties body) { + Response response = refreshConfigurationWithResponse(resourceGroupName, networkFabricName, body); + return this.client.getLroResult(response, + OperationStatusResultInner.class, OperationStatusResultInner.class, Context.NONE); + } + /** * Refreshes the configuration of the underlying resources in the given Network Fabric instance. * @@ -1950,7 +1997,8 @@ private Response refreshConfigurationWithResponse(String resourceGro @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, OperationStatusResultInner> beginRefreshConfiguration(String resourceGroupName, String networkFabricName) { - Response response = refreshConfigurationWithResponse(resourceGroupName, networkFabricName); + final RefreshConfigurationRequestProperties body = null; + Response response = refreshConfigurationWithResponse(resourceGroupName, networkFabricName, body); return this.client.getLroResult(response, OperationStatusResultInner.class, OperationStatusResultInner.class, Context.NONE); } @@ -1960,6 +2008,7 @@ private Response refreshConfigurationWithResponse(String resourceGro * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1967,13 +2016,33 @@ private Response refreshConfigurationWithResponse(String resourceGro * @return the {@link SyncPoller} for polling of the current status of an async operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, OperationStatusResultInner> - beginRefreshConfiguration(String resourceGroupName, String networkFabricName, Context context) { - Response response = refreshConfigurationWithResponse(resourceGroupName, networkFabricName, context); + public SyncPoller, OperationStatusResultInner> beginRefreshConfiguration( + String resourceGroupName, String networkFabricName, RefreshConfigurationRequestProperties body, + Context context) { + Response response + = refreshConfigurationWithResponse(resourceGroupName, networkFabricName, body, context); return this.client.getLroResult(response, OperationStatusResultInner.class, OperationStatusResultInner.class, context); } + /** + * Refreshes the configuration of the underlying resources in the given Network Fabric instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws 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 current status of an async operation on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono refreshConfigurationAsync(String resourceGroupName, + String networkFabricName, RefreshConfigurationRequestProperties body) { + return beginRefreshConfigurationAsync(resourceGroupName, networkFabricName, body).last() + .flatMap(this.client::getLroFinalResultOrError); + } + /** * Refreshes the configuration of the underlying resources in the given Network Fabric instance. * @@ -1987,7 +2056,8 @@ private Response refreshConfigurationWithResponse(String resourceGro @ServiceMethod(returns = ReturnType.SINGLE) private Mono refreshConfigurationAsync(String resourceGroupName, String networkFabricName) { - return beginRefreshConfigurationAsync(resourceGroupName, networkFabricName).last() + final RefreshConfigurationRequestProperties body = null; + return beginRefreshConfigurationAsync(resourceGroupName, networkFabricName, body).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2003,7 +2073,8 @@ private Mono refreshConfigurationAsync(String resour */ @ServiceMethod(returns = ReturnType.SINGLE) public OperationStatusResultInner refreshConfiguration(String resourceGroupName, String networkFabricName) { - return beginRefreshConfiguration(resourceGroupName, networkFabricName).getFinalResult(); + final RefreshConfigurationRequestProperties body = null; + return beginRefreshConfiguration(resourceGroupName, networkFabricName, body).getFinalResult(); } /** @@ -2011,6 +2082,7 @@ public OperationStatusResultInner refreshConfiguration(String resourceGroupName, * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @param body Request payload. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2019,8 +2091,8 @@ public OperationStatusResultInner refreshConfiguration(String resourceGroupName, */ @ServiceMethod(returns = ReturnType.SINGLE) public OperationStatusResultInner refreshConfiguration(String resourceGroupName, String networkFabricName, - Context context) { - return beginRefreshConfiguration(resourceGroupName, networkFabricName, context).getFinalResult(); + RefreshConfigurationRequestProperties body, Context context) { + return beginRefreshConfiguration(resourceGroupName, networkFabricName, body, context).getFinalResult(); } /** @@ -2486,14 +2558,14 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link PollerFlux} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ValidateConfigurationResponseInner> + private PollerFlux, ValidateConfigurationResponseV2Inner> beginValidateConfigurationAsync(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body) { Mono>> mono = validateConfigurationWithResponseAsync(resourceGroupName, networkFabricName, body); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ValidateConfigurationResponseInner.class, - ValidateConfigurationResponseInner.class, this.client.getContext()); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), ValidateConfigurationResponseV2Inner.class, + ValidateConfigurationResponseV2Inner.class, this.client.getContext()); } /** @@ -2508,12 +2580,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body) { Response response = validateConfigurationWithResponse(resourceGroupName, networkFabricName, body); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, Context.NONE); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, + Context.NONE); } /** @@ -2529,13 +2602,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body, Context context) { Response response = validateConfigurationWithResponse(resourceGroupName, networkFabricName, body, context); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, context); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, context); } /** @@ -2550,7 +2623,7 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the response of the action validate configuration on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono validateConfigurationAsync(String resourceGroupName, + private Mono validateConfigurationAsync(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body) { return beginValidateConfigurationAsync(resourceGroupName, networkFabricName, body).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2568,8 +2641,8 @@ private Mono validateConfigurationAsync(Stri * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkFabricName, - ValidateConfigurationProperties body) { + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, + String networkFabricName, ValidateConfigurationProperties body) { return beginValidateConfiguration(resourceGroupName, networkFabricName, body).getFinalResult(); } @@ -2586,8 +2659,8 @@ public ValidateConfigurationResponseInner validateConfiguration(String resourceG * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkFabricName, - ValidateConfigurationProperties body, Context context) { + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, + String networkFabricName, ValidateConfigurationProperties body, Context context) { return beginValidateConfiguration(resourceGroupName, networkFabricName, body, context).getFinalResult(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java index 748db07687314..e4865f3185c0d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java @@ -22,7 +22,7 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner; import com.azure.resourcemanager.managednetworkfabric.models.ArmConfigurationDiffOperationResponse; import com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusOperationResponse; @@ -40,11 +40,12 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRotatePasswordsResponse; import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabrics; import com.azure.resourcemanager.managednetworkfabric.models.OperationStatusResult; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties; import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import com.azure.resourcemanager.managednetworkfabric.models.ViewDeviceConfigurationOperationResponse; public final class NetworkFabricsImpl implements NetworkFabrics { @@ -175,9 +176,9 @@ public OperationStatusResult refreshConfiguration(String resourceGroupName, Stri } public OperationStatusResult refreshConfiguration(String resourceGroupName, String networkFabricName, - Context context) { + RefreshConfigurationRequestProperties body, Context context) { OperationStatusResultInner inner - = this.serviceClient().refreshConfiguration(resourceGroupName, networkFabricName, context); + = this.serviceClient().refreshConfiguration(resourceGroupName, networkFabricName, body, context); if (inner != null) { return new OperationStatusResultImpl(inner, this.manager()); } else { @@ -229,23 +230,23 @@ public UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(S } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkFabricName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, networkFabricName, body); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkFabricName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body, Context context) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, networkFabricName, body, context); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java index a848946812b30..a554df1e068f6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java @@ -15,6 +15,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch; import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterface; import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfacePatch; +import com.azure.resourcemanager.managednetworkfabric.models.OperationalState; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; @@ -93,6 +94,10 @@ public ConfigurationState configurationState() { return this.innerModel().configurationState(); } + public OperationalState operationalState() { + return this.innerModel().operationalState(); + } + public String annotation() { return this.innerModel().annotation(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java index 35b2388917f17..16d4274df0691 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java @@ -14,6 +14,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch; import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBroker; import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatch; +import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import java.util.Collections; import java.util.List; @@ -98,6 +99,10 @@ public List neighborGroupIds() { } } + public String sourceNetworkTapRuleId() { + return this.innerModel().sourceNetworkTapRuleId(); + } + public LastOperationProperties lastOperation() { return this.innerModel().lastOperation(); } @@ -236,6 +241,16 @@ public NetworkPacketBrokerImpl withIdentity(ManagedServiceIdentity identity) { return this; } + public NetworkPacketBrokerImpl withSourceNetworkTapRuleId(String sourceNetworkTapRuleId) { + this.innerModel().withSourceNetworkTapRuleId(sourceNetworkTapRuleId); + return this; + } + + public NetworkPacketBrokerImpl withProperties(NetworkPacketBrokerPatchProperties properties) { + this.updateBody.withProperties(properties); + return this; + } + public NetworkPacketBrokerImpl withIdentity(ManagedServiceIdentityPatch identity) { this.updateBody.withIdentity(identity); return this; diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java index 23c01b30c13d7..924ecb2eb7717 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java @@ -28,7 +28,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleResyncResponse; import com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import java.time.OffsetDateTime; import java.util.Collections; import java.util.List; @@ -269,11 +269,11 @@ public NetworkTapRuleResyncResponse resync(Context context) { return serviceManager.networkTapRules().resync(resourceGroupName, networkTapRuleName, context); } - public ValidateConfigurationResponse validateConfiguration() { + public ValidateConfigurationResponseV2 validateConfiguration() { return serviceManager.networkTapRules().validateConfiguration(resourceGroupName, networkTapRuleName); } - public ValidateConfigurationResponse validateConfiguration(Context context) { + public ValidateConfigurationResponseV2 validateConfiguration(Context context) { return serviceManager.networkTapRules().validateConfiguration(resourceGroupName, networkTapRuleName, context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java index 5b0ce551b8421..a4249776fa029 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java @@ -38,7 +38,7 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapRulesListResult; import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRulePatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -1471,13 +1471,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link PollerFlux} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ValidateConfigurationResponseInner> + private PollerFlux, ValidateConfigurationResponseV2Inner> beginValidateConfigurationAsync(String resourceGroupName, String networkTapRuleName) { Mono>> mono = validateConfigurationWithResponseAsync(resourceGroupName, networkTapRuleName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ValidateConfigurationResponseInner.class, - ValidateConfigurationResponseInner.class, this.client.getContext()); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), ValidateConfigurationResponseV2Inner.class, + ValidateConfigurationResponseV2Inner.class, this.client.getContext()); } /** @@ -1491,11 +1491,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkTapRuleName) { Response response = validateConfigurationWithResponse(resourceGroupName, networkTapRuleName); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, Context.NONE); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, + Context.NONE); } /** @@ -1510,12 +1511,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String networkTapRuleName, Context context) { Response response = validateConfigurationWithResponse(resourceGroupName, networkTapRuleName, context); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, context); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, context); } /** @@ -1529,7 +1530,7 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the response of the action validate configuration on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono validateConfigurationAsync(String resourceGroupName, + private Mono validateConfigurationAsync(String resourceGroupName, String networkTapRuleName) { return beginValidateConfigurationAsync(resourceGroupName, networkTapRuleName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1546,7 +1547,7 @@ private Mono validateConfigurationAsync(Stri * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String networkTapRuleName) { return beginValidateConfiguration(resourceGroupName, networkTapRuleName).getFinalResult(); } @@ -1563,8 +1564,8 @@ public ValidateConfigurationResponseInner validateConfiguration(String resourceG * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String networkTapRuleName, - Context context) { + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, + String networkTapRuleName, Context context) { return beginValidateConfiguration(resourceGroupName, networkTapRuleName, context).getFinalResult(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java index cddc9b9f058df..9a2081e8ff2a4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java @@ -13,13 +13,13 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForStateUpdate; import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRule; import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleResyncResponse; import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRules; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; public final class NetworkTapRulesImpl implements NetworkTapRules { private static final ClientLogger LOGGER = new ClientLogger(NetworkTapRulesImpl.class); @@ -120,22 +120,22 @@ public NetworkTapRuleResyncResponse resync(String resourceGroupName, String netw } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkTapRuleName) { - ValidateConfigurationResponseInner inner + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkTapRuleName) { + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, networkTapRuleName); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkTapRuleName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkTapRuleName, Context context) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, networkTapRuleName, context); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java index 2798f9ba41361..94f9fa48ebf87 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java @@ -38,7 +38,7 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.implementation.models.RoutePoliciesListResult; import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyPatch; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; @@ -1297,13 +1297,13 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link PollerFlux} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ValidateConfigurationResponseInner> + private PollerFlux, ValidateConfigurationResponseV2Inner> beginValidateConfigurationAsync(String resourceGroupName, String routePolicyName) { Mono>> mono = validateConfigurationWithResponseAsync(resourceGroupName, routePolicyName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ValidateConfigurationResponseInner.class, - ValidateConfigurationResponseInner.class, this.client.getContext()); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), ValidateConfigurationResponseV2Inner.class, + ValidateConfigurationResponseV2Inner.class, this.client.getContext()); } /** @@ -1317,11 +1317,12 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String routePolicyName) { Response response = validateConfigurationWithResponse(resourceGroupName, routePolicyName); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, Context.NONE); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, + Context.NONE); } /** @@ -1336,11 +1337,11 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the {@link SyncPoller} for polling of the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ValidateConfigurationResponseInner> + public SyncPoller, ValidateConfigurationResponseV2Inner> beginValidateConfiguration(String resourceGroupName, String routePolicyName, Context context) { Response response = validateConfigurationWithResponse(resourceGroupName, routePolicyName, context); - return this.client.getLroResult( - response, ValidateConfigurationResponseInner.class, ValidateConfigurationResponseInner.class, context); + return this.client.getLroResult( + response, ValidateConfigurationResponseV2Inner.class, ValidateConfigurationResponseV2Inner.class, context); } /** @@ -1354,7 +1355,7 @@ private Response validateConfigurationWithResponse(String resourceGr * @return the response of the action validate configuration on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono validateConfigurationAsync(String resourceGroupName, + private Mono validateConfigurationAsync(String resourceGroupName, String routePolicyName) { return beginValidateConfigurationAsync(resourceGroupName, routePolicyName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1371,7 +1372,8 @@ private Mono validateConfigurationAsync(Stri * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName) { + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, + String routePolicyName) { return beginValidateConfiguration(resourceGroupName, routePolicyName).getFinalResult(); } @@ -1387,7 +1389,7 @@ public ValidateConfigurationResponseInner validateConfiguration(String resourceG * @return the response of the action validate configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName, + public ValidateConfigurationResponseV2Inner validateConfiguration(String resourceGroupName, String routePolicyName, Context context) { return beginValidateConfiguration(resourceGroupName, routePolicyName, context).getFinalResult(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java index 561c0c754a14f..c8ddffc32ac5c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java @@ -13,13 +13,13 @@ import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner; import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; import com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForStateUpdate; import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicies; import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicy; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; public final class RoutePoliciesImpl implements RoutePolicies { private static final ClientLogger LOGGER = new ClientLogger(RoutePoliciesImpl.class); @@ -101,22 +101,22 @@ public UpdateAdministrativeStateResponse updateAdministrativeState(String resour } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String routePolicyName) { - ValidateConfigurationResponseInner inner + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String routePolicyName) { + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, routePolicyName); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } } - public ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String routePolicyName, + public ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String routePolicyName, Context context) { - ValidateConfigurationResponseInner inner + ValidateConfigurationResponseV2Inner inner = this.serviceClient().validateConfiguration(resourceGroupName, routePolicyName, context); if (inner != null) { - return new ValidateConfigurationResponseImpl(inner, this.manager()); + return new ValidateConfigurationResponseV2Impl(inner, this.manager()); } else { return null; } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java index 8ddfb71e4cfc9..52b76efedc21d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java @@ -21,7 +21,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementProperties; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState; import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; import java.util.Collections; import java.util.List; import java.util.Map; @@ -206,11 +206,11 @@ public UpdateAdministrativeStateResponse updateAdministrativeState(UpdateAdminis .updateAdministrativeState(resourceGroupName, routePolicyName, body, context); } - public ValidateConfigurationResponse validateConfiguration() { + public ValidateConfigurationResponseV2 validateConfiguration() { return serviceManager.routePolicies().validateConfiguration(resourceGroupName, routePolicyName); } - public ValidateConfigurationResponse validateConfiguration(Context context) { + public ValidateConfigurationResponseV2 validateConfiguration(Context context) { return serviceManager.routePolicies().validateConfiguration(resourceGroupName, routePolicyName, context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseImpl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseImpl.java deleted file mode 100644 index 7a00c6a2489ab..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.implementation; - -import com.azure.core.management.exception.ManagementError; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; -import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; -import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponse; - -public final class ValidateConfigurationResponseImpl implements ValidateConfigurationResponse { - private ValidateConfigurationResponseInner innerObject; - - private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager; - - ValidateConfigurationResponseImpl(ValidateConfigurationResponseInner innerObject, - com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { - this.innerObject = innerObject; - this.serviceManager = serviceManager; - } - - public ManagementError error() { - return this.innerModel().error(); - } - - public ConfigurationState configurationState() { - return this.innerModel().configurationState(); - } - - public String url() { - return this.innerModel().url(); - } - - public ValidateConfigurationResponseInner innerModel() { - return this.innerObject; - } - - private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() { - return this.serviceManager; - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java new file mode 100644 index 0000000000000..ce458cb6acf01 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation; + +import com.azure.core.management.exception.ManagementError; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; +import com.azure.resourcemanager.managednetworkfabric.models.OperationStatusResult; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseProperties; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseV2; +import java.time.OffsetDateTime; +import java.util.Collections; +import java.util.List; +import java.util.stream.Collectors; + +public final class ValidateConfigurationResponseV2Impl implements ValidateConfigurationResponseV2 { + private ValidateConfigurationResponseV2Inner innerObject; + + private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager; + + ValidateConfigurationResponseV2Impl(ValidateConfigurationResponseV2Inner innerObject, + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + } + + public String id() { + return this.innerModel().id(); + } + + public String name() { + return this.innerModel().name(); + } + + public String status() { + return this.innerModel().status(); + } + + public Double percentComplete() { + return this.innerModel().percentComplete(); + } + + public OffsetDateTime startTime() { + return this.innerModel().startTime(); + } + + public OffsetDateTime endTime() { + return this.innerModel().endTime(); + } + + public List operations() { + List inner = this.innerModel().operations(); + if (inner != null) { + return Collections.unmodifiableList(inner.stream() + .map(inner1 -> new OperationStatusResultImpl(inner1, this.manager())) + .collect(Collectors.toList())); + } else { + return Collections.emptyList(); + } + } + + public ManagementError error() { + return this.innerModel().error(); + } + + public String resourceId() { + return this.innerModel().resourceId(); + } + + public ValidateConfigurationResponseProperties properties() { + return this.innerModel().properties(); + } + + public ValidateConfigurationResponseV2Inner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() { + return this.serviceManager; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java new file mode 100644 index 0000000000000..8ffe560654b2c --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation.models; + +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner; +import java.io.IOException; +import java.util.List; + +/** + * The response of a EdgeConnector list operation. + */ +@Immutable +public final class EdgeConnectorListResult implements JsonSerializable { + /* + * The EdgeConnector items on this page + */ + private List value; + + /* + * The link to the next page of items + */ + private String nextLink; + + /** + * Creates an instance of EdgeConnectorListResult class. + */ + private EdgeConnectorListResult() { + } + + /** + * Get the value property: The EdgeConnector items on this page. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Get the nextLink property: The link to the next page of items. + * + * @return the nextLink value. + */ + public String nextLink() { + return this.nextLink; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("nextLink", this.nextLink); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EdgeConnectorListResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EdgeConnectorListResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EdgeConnectorListResult. + */ + public static EdgeConnectorListResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EdgeConnectorListResult deserializedEdgeConnectorListResult = new EdgeConnectorListResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("value".equals(fieldName)) { + List value = reader.readArray(reader1 -> EdgeConnectorInner.fromJson(reader1)); + deserializedEdgeConnectorListResult.value = value; + } else if ("nextLink".equals(fieldName)) { + deserializedEdgeConnectorListResult.nextLink = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedEdgeConnectorListResult; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java new file mode 100644 index 0000000000000..2ec005221bc69 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.implementation.models; + +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner; +import java.io.IOException; +import java.util.List; + +/** + * The response of a Fabric list operation. + */ +@Immutable +public final class FabricListResult implements JsonSerializable { + /* + * The Fabric items on this page + */ + private List value; + + /* + * The link to the next page of items + */ + private String nextLink; + + /** + * Creates an instance of FabricListResult class. + */ + private FabricListResult() { + } + + /** + * Get the value property: The Fabric items on this page. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Get the nextLink property: The link to the next page of items. + * + * @return the nextLink value. + */ + public String nextLink() { + return this.nextLink; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("nextLink", this.nextLink); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricListResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricListResult if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FabricListResult. + */ + public static FabricListResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FabricListResult deserializedFabricListResult = new FabricListResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("value".equals(fieldName)) { + List value = reader.readArray(reader1 -> FabricInner.fromJson(reader1)); + deserializedFabricListResult.value = value; + } else if ("nextLink".equals(fieldName)) { + deserializedFabricListResult.nextLink = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedFabricListResult; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java index e0b80f0b5410a..305fa6f5578db 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java @@ -671,7 +671,7 @@ interface WithAnnotation { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(); + ValidateConfigurationResponseV2 validateConfiguration(); /** * Implements the operation to the underlying resources. @@ -682,5 +682,5 @@ interface WithAnnotation { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(Context context); + ValidateConfigurationResponseV2 validateConfiguration(Context context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java index 5908b68e6f602..301c8e8d0817e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java @@ -169,7 +169,7 @@ CommonPostActionResponseForStateUpdate resync(String resourceGroupName, String a * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String accessControlListName); + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String accessControlListName); /** * Implements the operation to the underlying resources. @@ -182,7 +182,7 @@ CommonPostActionResponseForStateUpdate resync(String resourceGroupName, String a * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String accessControlListName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String accessControlListName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java new file mode 100644 index 0000000000000..557458213e3dc --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Configuration Regeneration Type used for refresh configuration. + */ +public final class ConfigurationRegenerationType extends ExpandableStringEnum { + /** + * Partial configuration regeneration indicates that the last known good configuration will be reapplied. + */ + public static final ConfigurationRegenerationType PARTIAL = fromString("Partial"); + + /** + * Creates a new instance of ConfigurationRegenerationType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConfigurationRegenerationType() { + } + + /** + * Creates or finds a ConfigurationRegenerationType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ConfigurationRegenerationType. + */ + public static ConfigurationRegenerationType fromString(String name) { + return fromString(name, ConfigurationRegenerationType.class); + } + + /** + * Gets known ConfigurationRegenerationType values. + * + * @return known ConfigurationRegenerationType values. + */ + public static Collection values() { + return values(ConfigurationRegenerationType.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java index fb4ab1556bcf5..f6ef0db463b9b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java @@ -76,6 +76,21 @@ public final class ConfigurationState extends ExpandableStringEnum { + /** + * No connectivity. + */ + public static final ConnectivityModel NONE = fromString("none"); + + /** + * Direct IP reachability. + */ + public static final ConnectivityModel DIRECT = fromString("direct"); + + /** + * Arc Proxy tunnel. + */ + public static final ConnectivityModel ARC_PROXY = fromString("arcProxy"); + + /** + * ExpressRoute private peering. + */ + public static final ConnectivityModel EXPRESS_ROUTE = fromString("expressRoute"); + + /** + * Creates a new instance of ConnectivityModel value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConnectivityModel() { + } + + /** + * Creates or finds a ConnectivityModel from its string representation. + * + * @param name a name to look for. + * @return the corresponding ConnectivityModel. + */ + public static ConnectivityModel fromString(String name) { + return fromString(name, ConnectivityModel.class); + } + + /** + * Gets known ConnectivityModel values. + * + * @return known ConnectivityModel values. + */ + public static Collection values() { + return values(ConnectivityModel.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java new file mode 100644 index 0000000000000..482a63b8ccdaa --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Controller type for device interaction. + */ +public final class ControllerType extends ExpandableStringEnum { + /** + * Cisco ACI APIC REST API. + */ + public static final ControllerType CISCO_ACI = fromString("ciscoAci"); + + /** + * Arista CloudVision API. + */ + public static final ControllerType ARISTA_CLOUD_VISION = fromString("aristaCloudVision"); + + /** + * Direct gNMI/SSH. + */ + public static final ControllerType DIRECT = fromString("direct"); + + /** + * Creates a new instance of ControllerType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ControllerType() { + } + + /** + * Creates or finds a ControllerType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ControllerType. + */ + public static ControllerType fromString(String name) { + return fromString(name, ControllerType.class); + } + + /** + * Gets known ControllerType values. + * + * @return known ControllerType values. + */ + public static Collection values() { + return values(ControllerType.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java index aa1107b639af2..2ee02226bce31 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java @@ -31,6 +31,11 @@ public final class DeviceRole extends ExpandableStringEnum { */ public static final DeviceRole MANAGEMENT_SWITCH = fromString("ManagementSwitch"); + /** + * Device Role Terminal Server (NetworkBootstrapDevice). + */ + public static final DeviceRole TERMINAL_SERVER = fromString("TerminalServer"); + /** * Creates a new instance of DeviceRole value. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java new file mode 100644 index 0000000000000..c35b82c080ef0 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java @@ -0,0 +1,265 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.management.Region; +import com.azure.core.management.SystemData; +import com.azure.core.util.Context; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner; +import java.util.Map; + +/** + * An immutable client-side representation of EdgeConnector. + */ +public interface EdgeConnector { + /** + * Gets the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + String id(); + + /** + * Gets the name property: The name of the resource. + * + * @return the name value. + */ + String name(); + + /** + * Gets the type property: The type of the resource. + * + * @return the type value. + */ + String type(); + + /** + * Gets the location property: The geo-location where the resource lives. + * + * @return the location value. + */ + String location(); + + /** + * Gets the tags property: Resource tags. + * + * @return the tags value. + */ + Map tags(); + + /** + * Gets the properties property: EdgeConnector properties. + * + * @return the properties value. + */ + EdgeConnectorProperties properties(); + + /** + * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + SystemData systemData(); + + /** + * Gets the region of the resource. + * + * @return the region of the resource. + */ + Region region(); + + /** + * Gets the name of the resource region. + * + * @return the name of the resource region. + */ + String regionName(); + + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + + /** + * Gets the inner com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner object. + * + * @return the inner object. + */ + EdgeConnectorInner innerModel(); + + /** + * The entirety of the EdgeConnector definition. + */ + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithLocation, + DefinitionStages.WithResourceGroup, DefinitionStages.WithProperties, DefinitionStages.WithCreate { + } + + /** + * The EdgeConnector definition stages. + */ + interface DefinitionStages { + /** + * The first stage of the EdgeConnector definition. + */ + interface Blank extends WithLocation { + } + + /** + * The stage of the EdgeConnector definition allowing to specify location. + */ + interface WithLocation { + /** + * Specifies the region for the resource. + * + * @param location The geo-location where the resource lives. + * @return the next definition stage. + */ + WithResourceGroup withRegion(Region location); + + /** + * Specifies the region for the resource. + * + * @param location The geo-location where the resource lives. + * @return the next definition stage. + */ + WithResourceGroup withRegion(String location); + } + + /** + * The stage of the EdgeConnector definition allowing to specify parent resource. + */ + interface WithResourceGroup { + /** + * Specifies resourceGroupName. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @return the next definition stage. + */ + WithProperties withExistingResourceGroup(String resourceGroupName); + } + + /** + * The stage of the EdgeConnector definition allowing to specify properties. + */ + interface WithProperties { + /** + * Specifies the properties property: EdgeConnector properties.. + * + * @param properties EdgeConnector properties. + * @return the next definition stage. + */ + WithCreate withProperties(EdgeConnectorProperties properties); + } + + /** + * The stage of the EdgeConnector definition which contains all the minimum required properties for the resource + * to be created, but also allows for any other optional properties to be specified. + */ + interface WithCreate extends DefinitionStages.WithTags { + /** + * Executes the create request. + * + * @return the created resource. + */ + EdgeConnector create(); + + /** + * Executes the create request. + * + * @param context The context to associate with this operation. + * @return the created resource. + */ + EdgeConnector create(Context context); + } + + /** + * The stage of the EdgeConnector definition allowing to specify tags. + */ + interface WithTags { + /** + * Specifies the tags property: Resource tags.. + * + * @param tags Resource tags. + * @return the next definition stage. + */ + WithCreate withTags(Map tags); + } + } + + /** + * Begins update for the EdgeConnector resource. + * + * @return the stage of resource update. + */ + EdgeConnector.Update update(); + + /** + * The template for EdgeConnector update. + */ + interface Update extends UpdateStages.WithTags, UpdateStages.WithProperties { + /** + * Executes the update request. + * + * @return the updated resource. + */ + EdgeConnector apply(); + + /** + * Executes the update request. + * + * @param context The context to associate with this operation. + * @return the updated resource. + */ + EdgeConnector apply(Context context); + } + + /** + * The EdgeConnector update stages. + */ + interface UpdateStages { + /** + * The stage of the EdgeConnector update allowing to specify tags. + */ + interface WithTags { + /** + * Specifies the tags property: Resource tags.. + * + * @param tags Resource tags. + * @return the next definition stage. + */ + Update withTags(Map tags); + } + + /** + * The stage of the EdgeConnector update allowing to specify properties. + */ + interface WithProperties { + /** + * Specifies the properties property: Resource properties.. + * + * @param properties Resource properties. + * @return the next definition stage. + */ + Update withProperties(EdgeConnectorPatchableProperties properties); + } + } + + /** + * Refreshes the resource to sync with Azure. + * + * @return the refreshed resource. + */ + EdgeConnector refresh(); + + /** + * Refreshes the resource to sync with Azure. + * + * @param context The context to associate with this operation. + * @return the refreshed resource. + */ + EdgeConnector refresh(Context context); +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java new file mode 100644 index 0000000000000..4513cb4320c4b --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * EdgeConnector patch body. + */ +@Fluent +public final class EdgeConnectorPatch implements JsonSerializable { + /* + * Resource tags. + */ + private Map tags; + + /* + * Resource properties. + */ + private EdgeConnectorPatchableProperties properties; + + /** + * Creates an instance of EdgeConnectorPatch class. + */ + public EdgeConnectorPatch() { + } + + /** + * Get the tags property: Resource tags. + * + * @return the tags value. + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags property: Resource tags. + * + * @param tags the tags value to set. + * @return the EdgeConnectorPatch object itself. + */ + public EdgeConnectorPatch withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the properties property: Resource properties. + * + * @return the properties value. + */ + public EdgeConnectorPatchableProperties properties() { + return this.properties; + } + + /** + * Set the properties property: Resource properties. + * + * @param properties the properties value to set. + * @return the EdgeConnectorPatch object itself. + */ + public EdgeConnectorPatch withProperties(EdgeConnectorPatchableProperties properties) { + this.properties = properties; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EdgeConnectorPatch from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EdgeConnectorPatch if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the EdgeConnectorPatch. + */ + public static EdgeConnectorPatch fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EdgeConnectorPatch deserializedEdgeConnectorPatch = new EdgeConnectorPatch(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedEdgeConnectorPatch.tags = tags; + } else if ("properties".equals(fieldName)) { + deserializedEdgeConnectorPatch.properties = EdgeConnectorPatchableProperties.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedEdgeConnectorPatch; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java new file mode 100644 index 0000000000000..2fb40297e9bf3 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * EdgeConnector patchable properties. + */ +@Fluent +public final class EdgeConnectorPatchableProperties implements JsonSerializable { + /* + * How the EdgeConnector establishes connectivity to on-prem infrastructure. + */ + private ConnectivityModel connectivityModel; + + /* + * Software version of the control plane. + */ + private String version; + + /** + * Creates an instance of EdgeConnectorPatchableProperties class. + */ + public EdgeConnectorPatchableProperties() { + } + + /** + * Get the connectivityModel property: How the EdgeConnector establishes connectivity to on-prem infrastructure. + * + * @return the connectivityModel value. + */ + public ConnectivityModel connectivityModel() { + return this.connectivityModel; + } + + /** + * Set the connectivityModel property: How the EdgeConnector establishes connectivity to on-prem infrastructure. + * + * @param connectivityModel the connectivityModel value to set. + * @return the EdgeConnectorPatchableProperties object itself. + */ + public EdgeConnectorPatchableProperties withConnectivityModel(ConnectivityModel connectivityModel) { + this.connectivityModel = connectivityModel; + return this; + } + + /** + * Get the version property: Software version of the control plane. + * + * @return the version value. + */ + public String version() { + return this.version; + } + + /** + * Set the version property: Software version of the control plane. + * + * @param version the version value to set. + * @return the EdgeConnectorPatchableProperties object itself. + */ + public EdgeConnectorPatchableProperties withVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("connectivityModel", + this.connectivityModel == null ? null : this.connectivityModel.toString()); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EdgeConnectorPatchableProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EdgeConnectorPatchableProperties if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the EdgeConnectorPatchableProperties. + */ + public static EdgeConnectorPatchableProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EdgeConnectorPatchableProperties deserializedEdgeConnectorPatchableProperties + = new EdgeConnectorPatchableProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("connectivityModel".equals(fieldName)) { + deserializedEdgeConnectorPatchableProperties.connectivityModel + = ConnectivityModel.fromString(reader.getString()); + } else if ("version".equals(fieldName)) { + deserializedEdgeConnectorPatchableProperties.version = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedEdgeConnectorPatchableProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java new file mode 100644 index 0000000000000..370fc92830aa7 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * EdgeConnectorProperties defines the resource properties. + */ +@Fluent +public final class EdgeConnectorProperties implements JsonSerializable { + /* + * How the EdgeConnector establishes connectivity to on-prem infrastructure. + */ + private ConnectivityModel connectivityModel; + + /* + * Software version of the control plane. + */ + private String version; + + /* + * ARM resource IDs of Fabric resources managed by this EdgeConnector. + */ + private List managedFabricIds; + + /* + * Provisioning state of the resource. + */ + private ProvisioningState provisioningState; + + /** + * Creates an instance of EdgeConnectorProperties class. + */ + public EdgeConnectorProperties() { + } + + /** + * Get the connectivityModel property: How the EdgeConnector establishes connectivity to on-prem infrastructure. + * + * @return the connectivityModel value. + */ + public ConnectivityModel connectivityModel() { + return this.connectivityModel; + } + + /** + * Set the connectivityModel property: How the EdgeConnector establishes connectivity to on-prem infrastructure. + * + * @param connectivityModel the connectivityModel value to set. + * @return the EdgeConnectorProperties object itself. + */ + public EdgeConnectorProperties withConnectivityModel(ConnectivityModel connectivityModel) { + this.connectivityModel = connectivityModel; + return this; + } + + /** + * Get the version property: Software version of the control plane. + * + * @return the version value. + */ + public String version() { + return this.version; + } + + /** + * Set the version property: Software version of the control plane. + * + * @param version the version value to set. + * @return the EdgeConnectorProperties object itself. + */ + public EdgeConnectorProperties withVersion(String version) { + this.version = version; + return this; + } + + /** + * Get the managedFabricIds property: ARM resource IDs of Fabric resources managed by this EdgeConnector. + * + * @return the managedFabricIds value. + */ + public List managedFabricIds() { + return this.managedFabricIds; + } + + /** + * Get the provisioningState property: Provisioning state of the resource. + * + * @return the provisioningState value. + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("connectivityModel", + this.connectivityModel == null ? null : this.connectivityModel.toString()); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EdgeConnectorProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EdgeConnectorProperties if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the EdgeConnectorProperties. + */ + public static EdgeConnectorProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EdgeConnectorProperties deserializedEdgeConnectorProperties = new EdgeConnectorProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("connectivityModel".equals(fieldName)) { + deserializedEdgeConnectorProperties.connectivityModel + = ConnectivityModel.fromString(reader.getString()); + } else if ("version".equals(fieldName)) { + deserializedEdgeConnectorProperties.version = reader.getString(); + } else if ("managedFabricIds".equals(fieldName)) { + List managedFabricIds = reader.readArray(reader1 -> reader1.getString()); + deserializedEdgeConnectorProperties.managedFabricIds = managedFabricIds; + } else if ("provisioningState".equals(fieldName)) { + deserializedEdgeConnectorProperties.provisioningState + = ProvisioningState.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedEdgeConnectorProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java new file mode 100644 index 0000000000000..a6975f070b092 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java @@ -0,0 +1,158 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +/** + * Resource collection API of EdgeConnectors. + */ +public interface EdgeConnectors { + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 specified EdgeConnector along with {@link Response}. + */ + Response getByResourceGroupWithResponse(String resourceGroupName, String edgeConnectorName, + Context context); + + /** + * Gets the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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 specified EdgeConnector. + */ + EdgeConnector getByResourceGroup(String resourceGroupName, String edgeConnectorName); + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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. + */ + void deleteByResourceGroup(String resourceGroupName, String edgeConnectorName); + + /** + * Deletes the specified EdgeConnector. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param edgeConnectorName Name of the EdgeConnector. + * @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. + */ + void delete(String resourceGroupName, String edgeConnectorName, Context context); + + /** + * Lists EdgeConnectors by resource group. + * + * @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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists EdgeConnectors by resource group. + * + * @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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists EdgeConnectors by 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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable list(); + + /** + * Lists EdgeConnectors by 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 the response of a EdgeConnector list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable list(Context context); + + /** + * Gets the specified EdgeConnector. + * + * @param id the resource ID. + * @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 specified EdgeConnector along with {@link Response}. + */ + EdgeConnector getById(String id); + + /** + * Gets the specified EdgeConnector. + * + * @param id the resource ID. + * @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 specified EdgeConnector along with {@link Response}. + */ + Response getByIdWithResponse(String id, Context context); + + /** + * Deletes the specified EdgeConnector. + * + * @param id the resource ID. + * @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. + */ + void deleteById(String id); + + /** + * Deletes the specified EdgeConnector. + * + * @param id the resource ID. + * @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. + */ + void deleteByIdWithResponse(String id, Context context); + + /** + * Begins definition for a new EdgeConnector resource. + * + * @param name resource name. + * @return the first stage of the new EdgeConnector definition. + */ + EdgeConnector.DefinitionStages.Blank define(String name); +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java new file mode 100644 index 0000000000000..a028b2a7efff6 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java @@ -0,0 +1,265 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.management.Region; +import com.azure.core.management.SystemData; +import com.azure.core.util.Context; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner; +import java.util.Map; + +/** + * An immutable client-side representation of Fabric. + */ +public interface Fabric { + /** + * Gets the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + String id(); + + /** + * Gets the name property: The name of the resource. + * + * @return the name value. + */ + String name(); + + /** + * Gets the type property: The type of the resource. + * + * @return the type value. + */ + String type(); + + /** + * Gets the location property: The geo-location where the resource lives. + * + * @return the location value. + */ + String location(); + + /** + * Gets the tags property: Resource tags. + * + * @return the tags value. + */ + Map tags(); + + /** + * Gets the properties property: Fabric properties. + * + * @return the properties value. + */ + FabricProperties properties(); + + /** + * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + SystemData systemData(); + + /** + * Gets the region of the resource. + * + * @return the region of the resource. + */ + Region region(); + + /** + * Gets the name of the resource region. + * + * @return the name of the resource region. + */ + String regionName(); + + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + + /** + * Gets the inner com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner object. + * + * @return the inner object. + */ + FabricInner innerModel(); + + /** + * The entirety of the Fabric definition. + */ + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithLocation, + DefinitionStages.WithResourceGroup, DefinitionStages.WithProperties, DefinitionStages.WithCreate { + } + + /** + * The Fabric definition stages. + */ + interface DefinitionStages { + /** + * The first stage of the Fabric definition. + */ + interface Blank extends WithLocation { + } + + /** + * The stage of the Fabric definition allowing to specify location. + */ + interface WithLocation { + /** + * Specifies the region for the resource. + * + * @param location The geo-location where the resource lives. + * @return the next definition stage. + */ + WithResourceGroup withRegion(Region location); + + /** + * Specifies the region for the resource. + * + * @param location The geo-location where the resource lives. + * @return the next definition stage. + */ + WithResourceGroup withRegion(String location); + } + + /** + * The stage of the Fabric definition allowing to specify parent resource. + */ + interface WithResourceGroup { + /** + * Specifies resourceGroupName. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @return the next definition stage. + */ + WithProperties withExistingResourceGroup(String resourceGroupName); + } + + /** + * The stage of the Fabric definition allowing to specify properties. + */ + interface WithProperties { + /** + * Specifies the properties property: Fabric properties.. + * + * @param properties Fabric properties. + * @return the next definition stage. + */ + WithCreate withProperties(FabricProperties properties); + } + + /** + * The stage of the Fabric definition which contains all the minimum required properties for the resource to be + * created, but also allows for any other optional properties to be specified. + */ + interface WithCreate extends DefinitionStages.WithTags { + /** + * Executes the create request. + * + * @return the created resource. + */ + Fabric create(); + + /** + * Executes the create request. + * + * @param context The context to associate with this operation. + * @return the created resource. + */ + Fabric create(Context context); + } + + /** + * The stage of the Fabric definition allowing to specify tags. + */ + interface WithTags { + /** + * Specifies the tags property: Resource tags.. + * + * @param tags Resource tags. + * @return the next definition stage. + */ + WithCreate withTags(Map tags); + } + } + + /** + * Begins update for the Fabric resource. + * + * @return the stage of resource update. + */ + Fabric.Update update(); + + /** + * The template for Fabric update. + */ + interface Update extends UpdateStages.WithTags, UpdateStages.WithProperties { + /** + * Executes the update request. + * + * @return the updated resource. + */ + Fabric apply(); + + /** + * Executes the update request. + * + * @param context The context to associate with this operation. + * @return the updated resource. + */ + Fabric apply(Context context); + } + + /** + * The Fabric update stages. + */ + interface UpdateStages { + /** + * The stage of the Fabric update allowing to specify tags. + */ + interface WithTags { + /** + * Specifies the tags property: Resource tags.. + * + * @param tags Resource tags. + * @return the next definition stage. + */ + Update withTags(Map tags); + } + + /** + * The stage of the Fabric update allowing to specify properties. + */ + interface WithProperties { + /** + * Specifies the properties property: Resource properties.. + * + * @param properties Resource properties. + * @return the next definition stage. + */ + Update withProperties(FabricPatchableProperties properties); + } + } + + /** + * Refreshes the resource to sync with Azure. + * + * @return the refreshed resource. + */ + Fabric refresh(); + + /** + * Refreshes the resource to sync with Azure. + * + * @param context The context to associate with this operation. + * @return the refreshed resource. + */ + Fabric refresh(Context context); +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java new file mode 100644 index 0000000000000..41bf521ef3f5a --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Fabric patch body. + */ +@Fluent +public final class FabricPatch implements JsonSerializable { + /* + * Resource tags. + */ + private Map tags; + + /* + * Resource properties. + */ + private FabricPatchableProperties properties; + + /** + * Creates an instance of FabricPatch class. + */ + public FabricPatch() { + } + + /** + * Get the tags property: Resource tags. + * + * @return the tags value. + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags property: Resource tags. + * + * @param tags the tags value to set. + * @return the FabricPatch object itself. + */ + public FabricPatch withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the properties property: Resource properties. + * + * @return the properties value. + */ + public FabricPatchableProperties properties() { + return this.properties; + } + + /** + * Set the properties property: Resource properties. + * + * @param properties the properties value to set. + * @return the FabricPatch object itself. + */ + public FabricPatch withProperties(FabricPatchableProperties properties) { + this.properties = properties; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricPatch from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricPatch if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the FabricPatch. + */ + public static FabricPatch fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FabricPatch deserializedFabricPatch = new FabricPatch(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedFabricPatch.tags = tags; + } else if ("properties".equals(fieldName)) { + deserializedFabricPatch.properties = FabricPatchableProperties.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedFabricPatch; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java new file mode 100644 index 0000000000000..a064999bbc189 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Fabric patchable properties. + */ +@Fluent +public final class FabricPatchableProperties implements JsonSerializable { + /* + * Infrastructure network definitions. + */ + private PatchInfrastructureNetworks infrastructureNetworks; + + /* + * Infrastructure service endpoints. + */ + private PatchInfrastructureServices infrastructureServices; + + /* + * Operation policy for device interaction. + */ + private OperationPolicy operationPolicy; + + /* + * URL of the SDN controller API endpoint. + */ + private String controllerEndpoint; + + /* + * ARM resource ID of the Key Vault secret for controller credentials. + */ + private String controllerCredentialRef; + + /** + * Creates an instance of FabricPatchableProperties class. + */ + public FabricPatchableProperties() { + } + + /** + * Get the infrastructureNetworks property: Infrastructure network definitions. + * + * @return the infrastructureNetworks value. + */ + public PatchInfrastructureNetworks infrastructureNetworks() { + return this.infrastructureNetworks; + } + + /** + * Set the infrastructureNetworks property: Infrastructure network definitions. + * + * @param infrastructureNetworks the infrastructureNetworks value to set. + * @return the FabricPatchableProperties object itself. + */ + public FabricPatchableProperties withInfrastructureNetworks(PatchInfrastructureNetworks infrastructureNetworks) { + this.infrastructureNetworks = infrastructureNetworks; + return this; + } + + /** + * Get the infrastructureServices property: Infrastructure service endpoints. + * + * @return the infrastructureServices value. + */ + public PatchInfrastructureServices infrastructureServices() { + return this.infrastructureServices; + } + + /** + * Set the infrastructureServices property: Infrastructure service endpoints. + * + * @param infrastructureServices the infrastructureServices value to set. + * @return the FabricPatchableProperties object itself. + */ + public FabricPatchableProperties withInfrastructureServices(PatchInfrastructureServices infrastructureServices) { + this.infrastructureServices = infrastructureServices; + return this; + } + + /** + * Get the operationPolicy property: Operation policy for device interaction. + * + * @return the operationPolicy value. + */ + public OperationPolicy operationPolicy() { + return this.operationPolicy; + } + + /** + * Set the operationPolicy property: Operation policy for device interaction. + * + * @param operationPolicy the operationPolicy value to set. + * @return the FabricPatchableProperties object itself. + */ + public FabricPatchableProperties withOperationPolicy(OperationPolicy operationPolicy) { + this.operationPolicy = operationPolicy; + return this; + } + + /** + * Get the controllerEndpoint property: URL of the SDN controller API endpoint. + * + * @return the controllerEndpoint value. + */ + public String controllerEndpoint() { + return this.controllerEndpoint; + } + + /** + * Set the controllerEndpoint property: URL of the SDN controller API endpoint. + * + * @param controllerEndpoint the controllerEndpoint value to set. + * @return the FabricPatchableProperties object itself. + */ + public FabricPatchableProperties withControllerEndpoint(String controllerEndpoint) { + this.controllerEndpoint = controllerEndpoint; + return this; + } + + /** + * Get the controllerCredentialRef property: ARM resource ID of the Key Vault secret for controller credentials. + * + * @return the controllerCredentialRef value. + */ + public String controllerCredentialRef() { + return this.controllerCredentialRef; + } + + /** + * Set the controllerCredentialRef property: ARM resource ID of the Key Vault secret for controller credentials. + * + * @param controllerCredentialRef the controllerCredentialRef value to set. + * @return the FabricPatchableProperties object itself. + */ + public FabricPatchableProperties withControllerCredentialRef(String controllerCredentialRef) { + this.controllerCredentialRef = controllerCredentialRef; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("infrastructureNetworks", this.infrastructureNetworks); + jsonWriter.writeJsonField("infrastructureServices", this.infrastructureServices); + jsonWriter.writeStringField("operationPolicy", + this.operationPolicy == null ? null : this.operationPolicy.toString()); + jsonWriter.writeStringField("controllerEndpoint", this.controllerEndpoint); + jsonWriter.writeStringField("controllerCredentialRef", this.controllerCredentialRef); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricPatchableProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricPatchableProperties if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the FabricPatchableProperties. + */ + public static FabricPatchableProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FabricPatchableProperties deserializedFabricPatchableProperties = new FabricPatchableProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("infrastructureNetworks".equals(fieldName)) { + deserializedFabricPatchableProperties.infrastructureNetworks + = PatchInfrastructureNetworks.fromJson(reader); + } else if ("infrastructureServices".equals(fieldName)) { + deserializedFabricPatchableProperties.infrastructureServices + = PatchInfrastructureServices.fromJson(reader); + } else if ("operationPolicy".equals(fieldName)) { + deserializedFabricPatchableProperties.operationPolicy + = OperationPolicy.fromString(reader.getString()); + } else if ("controllerEndpoint".equals(fieldName)) { + deserializedFabricPatchableProperties.controllerEndpoint = reader.getString(); + } else if ("controllerCredentialRef".equals(fieldName)) { + deserializedFabricPatchableProperties.controllerCredentialRef = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedFabricPatchableProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java new file mode 100644 index 0000000000000..6a80ed463d6fa --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java @@ -0,0 +1,413 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * FabricProperties defines the resource properties. + */ +@Fluent +public final class FabricProperties implements JsonSerializable { + /* + * Infrastructure network definitions. + */ + private InfrastructureNetworks infrastructureNetworks; + + /* + * Infrastructure service endpoints. + */ + private InfrastructureServices infrastructureServices; + + /* + * Operation policy for device interaction. + */ + private OperationPolicy operationPolicy; + + /* + * URL of the SDN controller API endpoint. + */ + private String controllerEndpoint; + + /* + * ARM resource ID of the Key Vault secret for controller credentials. + */ + private String controllerCredentialRef; + + /* + * ARM resource ID of the EdgeConnector. + */ + private String edgeConnectorId; + + /* + * Management mode. + */ + private ManagementMode managementMode; + + /* + * Controller type for device interaction. + */ + private ControllerType controllerType; + + /* + * Number of physical racks. + */ + private Integer rackCount; + + /* + * Predefined topology identifier. + */ + private String fabricSku; + + /* + * ARM ID of the customer's Azure VNet. + */ + private String customerVnetId; + + /* + * ARM ID of the customer's subnet. + */ + private String customerSubnetId; + + /* + * Provisioning state of the resource. + */ + private ProvisioningState provisioningState; + + /** + * Creates an instance of FabricProperties class. + */ + public FabricProperties() { + } + + /** + * Get the infrastructureNetworks property: Infrastructure network definitions. + * + * @return the infrastructureNetworks value. + */ + public InfrastructureNetworks infrastructureNetworks() { + return this.infrastructureNetworks; + } + + /** + * Set the infrastructureNetworks property: Infrastructure network definitions. + * + * @param infrastructureNetworks the infrastructureNetworks value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withInfrastructureNetworks(InfrastructureNetworks infrastructureNetworks) { + this.infrastructureNetworks = infrastructureNetworks; + return this; + } + + /** + * Get the infrastructureServices property: Infrastructure service endpoints. + * + * @return the infrastructureServices value. + */ + public InfrastructureServices infrastructureServices() { + return this.infrastructureServices; + } + + /** + * Set the infrastructureServices property: Infrastructure service endpoints. + * + * @param infrastructureServices the infrastructureServices value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withInfrastructureServices(InfrastructureServices infrastructureServices) { + this.infrastructureServices = infrastructureServices; + return this; + } + + /** + * Get the operationPolicy property: Operation policy for device interaction. + * + * @return the operationPolicy value. + */ + public OperationPolicy operationPolicy() { + return this.operationPolicy; + } + + /** + * Set the operationPolicy property: Operation policy for device interaction. + * + * @param operationPolicy the operationPolicy value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withOperationPolicy(OperationPolicy operationPolicy) { + this.operationPolicy = operationPolicy; + return this; + } + + /** + * Get the controllerEndpoint property: URL of the SDN controller API endpoint. + * + * @return the controllerEndpoint value. + */ + public String controllerEndpoint() { + return this.controllerEndpoint; + } + + /** + * Set the controllerEndpoint property: URL of the SDN controller API endpoint. + * + * @param controllerEndpoint the controllerEndpoint value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withControllerEndpoint(String controllerEndpoint) { + this.controllerEndpoint = controllerEndpoint; + return this; + } + + /** + * Get the controllerCredentialRef property: ARM resource ID of the Key Vault secret for controller credentials. + * + * @return the controllerCredentialRef value. + */ + public String controllerCredentialRef() { + return this.controllerCredentialRef; + } + + /** + * Set the controllerCredentialRef property: ARM resource ID of the Key Vault secret for controller credentials. + * + * @param controllerCredentialRef the controllerCredentialRef value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withControllerCredentialRef(String controllerCredentialRef) { + this.controllerCredentialRef = controllerCredentialRef; + return this; + } + + /** + * Get the edgeConnectorId property: ARM resource ID of the EdgeConnector. + * + * @return the edgeConnectorId value. + */ + public String edgeConnectorId() { + return this.edgeConnectorId; + } + + /** + * Set the edgeConnectorId property: ARM resource ID of the EdgeConnector. + * + * @param edgeConnectorId the edgeConnectorId value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withEdgeConnectorId(String edgeConnectorId) { + this.edgeConnectorId = edgeConnectorId; + return this; + } + + /** + * Get the managementMode property: Management mode. + * + * @return the managementMode value. + */ + public ManagementMode managementMode() { + return this.managementMode; + } + + /** + * Set the managementMode property: Management mode. + * + * @param managementMode the managementMode value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withManagementMode(ManagementMode managementMode) { + this.managementMode = managementMode; + return this; + } + + /** + * Get the controllerType property: Controller type for device interaction. + * + * @return the controllerType value. + */ + public ControllerType controllerType() { + return this.controllerType; + } + + /** + * Set the controllerType property: Controller type for device interaction. + * + * @param controllerType the controllerType value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withControllerType(ControllerType controllerType) { + this.controllerType = controllerType; + return this; + } + + /** + * Get the rackCount property: Number of physical racks. + * + * @return the rackCount value. + */ + public Integer rackCount() { + return this.rackCount; + } + + /** + * Set the rackCount property: Number of physical racks. + * + * @param rackCount the rackCount value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withRackCount(Integer rackCount) { + this.rackCount = rackCount; + return this; + } + + /** + * Get the fabricSku property: Predefined topology identifier. + * + * @return the fabricSku value. + */ + public String fabricSku() { + return this.fabricSku; + } + + /** + * Set the fabricSku property: Predefined topology identifier. + * + * @param fabricSku the fabricSku value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withFabricSku(String fabricSku) { + this.fabricSku = fabricSku; + return this; + } + + /** + * Get the customerVnetId property: ARM ID of the customer's Azure VNet. + * + * @return the customerVnetId value. + */ + public String customerVnetId() { + return this.customerVnetId; + } + + /** + * Set the customerVnetId property: ARM ID of the customer's Azure VNet. + * + * @param customerVnetId the customerVnetId value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withCustomerVnetId(String customerVnetId) { + this.customerVnetId = customerVnetId; + return this; + } + + /** + * Get the customerSubnetId property: ARM ID of the customer's subnet. + * + * @return the customerSubnetId value. + */ + public String customerSubnetId() { + return this.customerSubnetId; + } + + /** + * Set the customerSubnetId property: ARM ID of the customer's subnet. + * + * @param customerSubnetId the customerSubnetId value to set. + * @return the FabricProperties object itself. + */ + public FabricProperties withCustomerSubnetId(String customerSubnetId) { + this.customerSubnetId = customerSubnetId; + return this; + } + + /** + * Get the provisioningState property: Provisioning state of the resource. + * + * @return the provisioningState value. + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("managementMode", + this.managementMode == null ? null : this.managementMode.toString()); + jsonWriter.writeJsonField("infrastructureNetworks", this.infrastructureNetworks); + jsonWriter.writeJsonField("infrastructureServices", this.infrastructureServices); + jsonWriter.writeStringField("operationPolicy", + this.operationPolicy == null ? null : this.operationPolicy.toString()); + jsonWriter.writeStringField("controllerEndpoint", this.controllerEndpoint); + jsonWriter.writeStringField("controllerCredentialRef", this.controllerCredentialRef); + jsonWriter.writeStringField("edgeConnectorId", this.edgeConnectorId); + jsonWriter.writeStringField("controllerType", + this.controllerType == null ? null : this.controllerType.toString()); + jsonWriter.writeNumberField("rackCount", this.rackCount); + jsonWriter.writeStringField("fabricSku", this.fabricSku); + jsonWriter.writeStringField("customerVnetId", this.customerVnetId); + jsonWriter.writeStringField("customerSubnetId", this.customerSubnetId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricProperties if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FabricProperties. + */ + public static FabricProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FabricProperties deserializedFabricProperties = new FabricProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("managementMode".equals(fieldName)) { + deserializedFabricProperties.managementMode = ManagementMode.fromString(reader.getString()); + } else if ("infrastructureNetworks".equals(fieldName)) { + deserializedFabricProperties.infrastructureNetworks = InfrastructureNetworks.fromJson(reader); + } else if ("infrastructureServices".equals(fieldName)) { + deserializedFabricProperties.infrastructureServices = InfrastructureServices.fromJson(reader); + } else if ("operationPolicy".equals(fieldName)) { + deserializedFabricProperties.operationPolicy = OperationPolicy.fromString(reader.getString()); + } else if ("controllerEndpoint".equals(fieldName)) { + deserializedFabricProperties.controllerEndpoint = reader.getString(); + } else if ("controllerCredentialRef".equals(fieldName)) { + deserializedFabricProperties.controllerCredentialRef = reader.getString(); + } else if ("edgeConnectorId".equals(fieldName)) { + deserializedFabricProperties.edgeConnectorId = reader.getString(); + } else if ("controllerType".equals(fieldName)) { + deserializedFabricProperties.controllerType = ControllerType.fromString(reader.getString()); + } else if ("rackCount".equals(fieldName)) { + deserializedFabricProperties.rackCount = reader.getNullable(JsonReader::getInt); + } else if ("fabricSku".equals(fieldName)) { + deserializedFabricProperties.fabricSku = reader.getString(); + } else if ("customerVnetId".equals(fieldName)) { + deserializedFabricProperties.customerVnetId = reader.getString(); + } else if ("customerSubnetId".equals(fieldName)) { + deserializedFabricProperties.customerSubnetId = reader.getString(); + } else if ("provisioningState".equals(fieldName)) { + deserializedFabricProperties.provisioningState = ProvisioningState.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedFabricProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java new file mode 100644 index 0000000000000..38a9b200caf7d --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java @@ -0,0 +1,157 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +/** + * Resource collection API of Fabrics. + */ +public interface Fabrics { + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 specified Fabric along with {@link Response}. + */ + Response getByResourceGroupWithResponse(String resourceGroupName, String fabricName, Context context); + + /** + * Gets the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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 specified Fabric. + */ + Fabric getByResourceGroup(String resourceGroupName, String fabricName); + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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. + */ + void deleteByResourceGroup(String resourceGroupName, String fabricName); + + /** + * Deletes the specified Fabric. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param fabricName Name of the Fabric. + * @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. + */ + void delete(String resourceGroupName, String fabricName, Context context); + + /** + * Lists Fabrics by resource group. + * + * @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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists Fabrics by resource group. + * + * @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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists Fabrics by 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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable list(); + + /** + * Lists Fabrics by 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 the response of a Fabric list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable list(Context context); + + /** + * Gets the specified Fabric. + * + * @param id the resource ID. + * @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 specified Fabric along with {@link Response}. + */ + Fabric getById(String id); + + /** + * Gets the specified Fabric. + * + * @param id the resource ID. + * @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 specified Fabric along with {@link Response}. + */ + Response getByIdWithResponse(String id, Context context); + + /** + * Deletes the specified Fabric. + * + * @param id the resource ID. + * @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. + */ + void deleteById(String id); + + /** + * Deletes the specified Fabric. + * + * @param id the resource ID. + * @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. + */ + void deleteByIdWithResponse(String id, Context context); + + /** + * Begins definition for a new Fabric resource. + * + * @param name resource name. + * @return the first stage of the new Fabric definition. + */ + Fabric.DefinitionStages.Blank define(String name); +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java new file mode 100644 index 0000000000000..9b84543ab5215 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Allowed types for generate base configuration during network fabric refresh. + */ +public final class GenerateBaseConfiguration extends ExpandableStringEnum { + /** + * Disabled indicates that base configuration should not be generated during network fabric refresh. + */ + public static final GenerateBaseConfiguration DISABLED = fromString("Disabled"); + + /** + * Enabled indicates that base configuration should be generated during network fabric refresh. + */ + public static final GenerateBaseConfiguration ENABLED = fromString("Enabled"); + + /** + * Creates a new instance of GenerateBaseConfiguration value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public GenerateBaseConfiguration() { + } + + /** + * Creates or finds a GenerateBaseConfiguration from its string representation. + * + * @param name a name to look for. + * @return the corresponding GenerateBaseConfiguration. + */ + public static GenerateBaseConfiguration fromString(String name) { + return fromString(name, GenerateBaseConfiguration.class); + } + + /** + * Gets known GenerateBaseConfiguration values. + * + * @return known GenerateBaseConfiguration values. + */ + public static Collection values() { + return values(GenerateBaseConfiguration.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java new file mode 100644 index 0000000000000..e8ee424fc1075 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Infrastructure network definition. + */ +@Fluent +public final class InfraNetwork implements JsonSerializable { + /* + * 802.1Q VLAN ID. + */ + private int vlanId; + + /* + * IPv4 subnet in CIDR notation. + */ + private String ipv4Subnet; + + /* + * Default gateway IP. + */ + private String ipv4Gateway; + + /* + * Start of allocatable IP range. + */ + private String ipv4StartAddr; + + /* + * End of allocatable IP range. + */ + private String ipv4EndAddr; + + /* + * Maximum Transmission Unit. + */ + private Integer mtu; + + /** + * Creates an instance of InfraNetwork class. + */ + public InfraNetwork() { + } + + /** + * Get the vlanId property: 802.1Q VLAN ID. + * + * @return the vlanId value. + */ + public int vlanId() { + return this.vlanId; + } + + /** + * Set the vlanId property: 802.1Q VLAN ID. + * + * @param vlanId the vlanId value to set. + * @return the InfraNetwork object itself. + */ + public InfraNetwork withVlanId(int vlanId) { + this.vlanId = vlanId; + return this; + } + + /** + * Get the ipv4Subnet property: IPv4 subnet in CIDR notation. + * + * @return the ipv4Subnet value. + */ + public String ipv4Subnet() { + return this.ipv4Subnet; + } + + /** + * Set the ipv4Subnet property: IPv4 subnet in CIDR notation. + * + * @param ipv4Subnet the ipv4Subnet value to set. + * @return the InfraNetwork object itself. + */ + public InfraNetwork withIpv4Subnet(String ipv4Subnet) { + this.ipv4Subnet = ipv4Subnet; + return this; + } + + /** + * Get the ipv4Gateway property: Default gateway IP. + * + * @return the ipv4Gateway value. + */ + public String ipv4Gateway() { + return this.ipv4Gateway; + } + + /** + * Set the ipv4Gateway property: Default gateway IP. + * + * @param ipv4Gateway the ipv4Gateway value to set. + * @return the InfraNetwork object itself. + */ + public InfraNetwork withIpv4Gateway(String ipv4Gateway) { + this.ipv4Gateway = ipv4Gateway; + return this; + } + + /** + * Get the ipv4StartAddr property: Start of allocatable IP range. + * + * @return the ipv4StartAddr value. + */ + public String ipv4StartAddr() { + return this.ipv4StartAddr; + } + + /** + * Set the ipv4StartAddr property: Start of allocatable IP range. + * + * @param ipv4StartAddr the ipv4StartAddr value to set. + * @return the InfraNetwork object itself. + */ + public InfraNetwork withIpv4StartAddr(String ipv4StartAddr) { + this.ipv4StartAddr = ipv4StartAddr; + return this; + } + + /** + * Get the ipv4EndAddr property: End of allocatable IP range. + * + * @return the ipv4EndAddr value. + */ + public String ipv4EndAddr() { + return this.ipv4EndAddr; + } + + /** + * Set the ipv4EndAddr property: End of allocatable IP range. + * + * @param ipv4EndAddr the ipv4EndAddr value to set. + * @return the InfraNetwork object itself. + */ + public InfraNetwork withIpv4EndAddr(String ipv4EndAddr) { + this.ipv4EndAddr = ipv4EndAddr; + return this; + } + + /** + * Get the mtu property: Maximum Transmission Unit. + * + * @return the mtu value. + */ + public Integer mtu() { + return this.mtu; + } + + /** + * Set the mtu property: Maximum Transmission Unit. + * + * @param mtu the mtu value to set. + * @return the InfraNetwork object itself. + */ + public InfraNetwork withMtu(Integer mtu) { + this.mtu = mtu; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("vlanId", this.vlanId); + jsonWriter.writeStringField("ipv4Subnet", this.ipv4Subnet); + jsonWriter.writeStringField("ipv4Gateway", this.ipv4Gateway); + jsonWriter.writeStringField("ipv4StartAddr", this.ipv4StartAddr); + jsonWriter.writeStringField("ipv4EndAddr", this.ipv4EndAddr); + jsonWriter.writeNumberField("mtu", this.mtu); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InfraNetwork from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InfraNetwork if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InfraNetwork. + */ + public static InfraNetwork fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InfraNetwork deserializedInfraNetwork = new InfraNetwork(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("vlanId".equals(fieldName)) { + deserializedInfraNetwork.vlanId = reader.getInt(); + } else if ("ipv4Subnet".equals(fieldName)) { + deserializedInfraNetwork.ipv4Subnet = reader.getString(); + } else if ("ipv4Gateway".equals(fieldName)) { + deserializedInfraNetwork.ipv4Gateway = reader.getString(); + } else if ("ipv4StartAddr".equals(fieldName)) { + deserializedInfraNetwork.ipv4StartAddr = reader.getString(); + } else if ("ipv4EndAddr".equals(fieldName)) { + deserializedInfraNetwork.ipv4EndAddr = reader.getString(); + } else if ("mtu".equals(fieldName)) { + deserializedInfraNetwork.mtu = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedInfraNetwork; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java new file mode 100644 index 0000000000000..583d001a80083 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Infrastructure network with optional IP fields. + */ +@Fluent +public final class InfraNetworkOptionalIp implements JsonSerializable { + /* + * 802.1Q VLAN ID. + */ + private int vlanId; + + /* + * IPv4 subnet in CIDR notation. + */ + private String ipv4Subnet; + + /* + * Default gateway IP. + */ + private String ipv4Gateway; + + /* + * Start of allocatable IP range. + */ + private String ipv4StartAddr; + + /* + * End of allocatable IP range. + */ + private String ipv4EndAddr; + + /* + * Maximum Transmission Unit. + */ + private Integer mtu; + + /** + * Creates an instance of InfraNetworkOptionalIp class. + */ + public InfraNetworkOptionalIp() { + } + + /** + * Get the vlanId property: 802.1Q VLAN ID. + * + * @return the vlanId value. + */ + public int vlanId() { + return this.vlanId; + } + + /** + * Set the vlanId property: 802.1Q VLAN ID. + * + * @param vlanId the vlanId value to set. + * @return the InfraNetworkOptionalIp object itself. + */ + public InfraNetworkOptionalIp withVlanId(int vlanId) { + this.vlanId = vlanId; + return this; + } + + /** + * Get the ipv4Subnet property: IPv4 subnet in CIDR notation. + * + * @return the ipv4Subnet value. + */ + public String ipv4Subnet() { + return this.ipv4Subnet; + } + + /** + * Set the ipv4Subnet property: IPv4 subnet in CIDR notation. + * + * @param ipv4Subnet the ipv4Subnet value to set. + * @return the InfraNetworkOptionalIp object itself. + */ + public InfraNetworkOptionalIp withIpv4Subnet(String ipv4Subnet) { + this.ipv4Subnet = ipv4Subnet; + return this; + } + + /** + * Get the ipv4Gateway property: Default gateway IP. + * + * @return the ipv4Gateway value. + */ + public String ipv4Gateway() { + return this.ipv4Gateway; + } + + /** + * Set the ipv4Gateway property: Default gateway IP. + * + * @param ipv4Gateway the ipv4Gateway value to set. + * @return the InfraNetworkOptionalIp object itself. + */ + public InfraNetworkOptionalIp withIpv4Gateway(String ipv4Gateway) { + this.ipv4Gateway = ipv4Gateway; + return this; + } + + /** + * Get the ipv4StartAddr property: Start of allocatable IP range. + * + * @return the ipv4StartAddr value. + */ + public String ipv4StartAddr() { + return this.ipv4StartAddr; + } + + /** + * Set the ipv4StartAddr property: Start of allocatable IP range. + * + * @param ipv4StartAddr the ipv4StartAddr value to set. + * @return the InfraNetworkOptionalIp object itself. + */ + public InfraNetworkOptionalIp withIpv4StartAddr(String ipv4StartAddr) { + this.ipv4StartAddr = ipv4StartAddr; + return this; + } + + /** + * Get the ipv4EndAddr property: End of allocatable IP range. + * + * @return the ipv4EndAddr value. + */ + public String ipv4EndAddr() { + return this.ipv4EndAddr; + } + + /** + * Set the ipv4EndAddr property: End of allocatable IP range. + * + * @param ipv4EndAddr the ipv4EndAddr value to set. + * @return the InfraNetworkOptionalIp object itself. + */ + public InfraNetworkOptionalIp withIpv4EndAddr(String ipv4EndAddr) { + this.ipv4EndAddr = ipv4EndAddr; + return this; + } + + /** + * Get the mtu property: Maximum Transmission Unit. + * + * @return the mtu value. + */ + public Integer mtu() { + return this.mtu; + } + + /** + * Set the mtu property: Maximum Transmission Unit. + * + * @param mtu the mtu value to set. + * @return the InfraNetworkOptionalIp object itself. + */ + public InfraNetworkOptionalIp withMtu(Integer mtu) { + this.mtu = mtu; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("vlanId", this.vlanId); + jsonWriter.writeStringField("ipv4Subnet", this.ipv4Subnet); + jsonWriter.writeStringField("ipv4Gateway", this.ipv4Gateway); + jsonWriter.writeStringField("ipv4StartAddr", this.ipv4StartAddr); + jsonWriter.writeStringField("ipv4EndAddr", this.ipv4EndAddr); + jsonWriter.writeNumberField("mtu", this.mtu); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InfraNetworkOptionalIp from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InfraNetworkOptionalIp if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InfraNetworkOptionalIp. + */ + public static InfraNetworkOptionalIp fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InfraNetworkOptionalIp deserializedInfraNetworkOptionalIp = new InfraNetworkOptionalIp(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("vlanId".equals(fieldName)) { + deserializedInfraNetworkOptionalIp.vlanId = reader.getInt(); + } else if ("ipv4Subnet".equals(fieldName)) { + deserializedInfraNetworkOptionalIp.ipv4Subnet = reader.getString(); + } else if ("ipv4Gateway".equals(fieldName)) { + deserializedInfraNetworkOptionalIp.ipv4Gateway = reader.getString(); + } else if ("ipv4StartAddr".equals(fieldName)) { + deserializedInfraNetworkOptionalIp.ipv4StartAddr = reader.getString(); + } else if ("ipv4EndAddr".equals(fieldName)) { + deserializedInfraNetworkOptionalIp.ipv4EndAddr = reader.getString(); + } else if ("mtu".equals(fieldName)) { + deserializedInfraNetworkOptionalIp.mtu = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedInfraNetworkOptionalIp; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java new file mode 100644 index 0000000000000..485d2f50b4a2f --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Named infrastructure network definitions. + */ +@Fluent +public final class InfrastructureNetworks implements JsonSerializable { + /* + * OAM management network. Typical VLAN: 39. + */ + private InfraNetwork management; + + /* + * PXE boot network. Typical VLAN: 40. + */ + private InfraNetwork pxe; + + /* + * BMC/iDRAC network. Typical VLAN: 41. + */ + private InfraNetwork bmc; + + /* + * Storage data plane network. Typical VLAN: 42. + */ + private InfraNetwork storage; + + /* + * Storage management plane network. Typical VLAN: 37. + */ + private InfraNetworkOptionalIp storageMgmt; + + /* + * PDU management network. Typical VLAN: 43. + */ + private InfraNetwork pdu; + + /** + * Creates an instance of InfrastructureNetworks class. + */ + public InfrastructureNetworks() { + } + + /** + * Get the management property: OAM management network. Typical VLAN: 39. + * + * @return the management value. + */ + public InfraNetwork management() { + return this.management; + } + + /** + * Set the management property: OAM management network. Typical VLAN: 39. + * + * @param management the management value to set. + * @return the InfrastructureNetworks object itself. + */ + public InfrastructureNetworks withManagement(InfraNetwork management) { + this.management = management; + return this; + } + + /** + * Get the pxe property: PXE boot network. Typical VLAN: 40. + * + * @return the pxe value. + */ + public InfraNetwork pxe() { + return this.pxe; + } + + /** + * Set the pxe property: PXE boot network. Typical VLAN: 40. + * + * @param pxe the pxe value to set. + * @return the InfrastructureNetworks object itself. + */ + public InfrastructureNetworks withPxe(InfraNetwork pxe) { + this.pxe = pxe; + return this; + } + + /** + * Get the bmc property: BMC/iDRAC network. Typical VLAN: 41. + * + * @return the bmc value. + */ + public InfraNetwork bmc() { + return this.bmc; + } + + /** + * Set the bmc property: BMC/iDRAC network. Typical VLAN: 41. + * + * @param bmc the bmc value to set. + * @return the InfrastructureNetworks object itself. + */ + public InfrastructureNetworks withBmc(InfraNetwork bmc) { + this.bmc = bmc; + return this; + } + + /** + * Get the storage property: Storage data plane network. Typical VLAN: 42. + * + * @return the storage value. + */ + public InfraNetwork storage() { + return this.storage; + } + + /** + * Set the storage property: Storage data plane network. Typical VLAN: 42. + * + * @param storage the storage value to set. + * @return the InfrastructureNetworks object itself. + */ + public InfrastructureNetworks withStorage(InfraNetwork storage) { + this.storage = storage; + return this; + } + + /** + * Get the storageMgmt property: Storage management plane network. Typical VLAN: 37. + * + * @return the storageMgmt value. + */ + public InfraNetworkOptionalIp storageMgmt() { + return this.storageMgmt; + } + + /** + * Set the storageMgmt property: Storage management plane network. Typical VLAN: 37. + * + * @param storageMgmt the storageMgmt value to set. + * @return the InfrastructureNetworks object itself. + */ + public InfrastructureNetworks withStorageMgmt(InfraNetworkOptionalIp storageMgmt) { + this.storageMgmt = storageMgmt; + return this; + } + + /** + * Get the pdu property: PDU management network. Typical VLAN: 43. + * + * @return the pdu value. + */ + public InfraNetwork pdu() { + return this.pdu; + } + + /** + * Set the pdu property: PDU management network. Typical VLAN: 43. + * + * @param pdu the pdu value to set. + * @return the InfrastructureNetworks object itself. + */ + public InfrastructureNetworks withPdu(InfraNetwork pdu) { + this.pdu = pdu; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("management", this.management); + jsonWriter.writeJsonField("pxe", this.pxe); + jsonWriter.writeJsonField("bmc", this.bmc); + jsonWriter.writeJsonField("storage", this.storage); + jsonWriter.writeJsonField("storageMgmt", this.storageMgmt); + jsonWriter.writeJsonField("pdu", this.pdu); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InfrastructureNetworks from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InfrastructureNetworks if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InfrastructureNetworks. + */ + public static InfrastructureNetworks fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InfrastructureNetworks deserializedInfrastructureNetworks = new InfrastructureNetworks(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("management".equals(fieldName)) { + deserializedInfrastructureNetworks.management = InfraNetwork.fromJson(reader); + } else if ("pxe".equals(fieldName)) { + deserializedInfrastructureNetworks.pxe = InfraNetwork.fromJson(reader); + } else if ("bmc".equals(fieldName)) { + deserializedInfrastructureNetworks.bmc = InfraNetwork.fromJson(reader); + } else if ("storage".equals(fieldName)) { + deserializedInfrastructureNetworks.storage = InfraNetwork.fromJson(reader); + } else if ("storageMgmt".equals(fieldName)) { + deserializedInfrastructureNetworks.storageMgmt = InfraNetworkOptionalIp.fromJson(reader); + } else if ("pdu".equals(fieldName)) { + deserializedInfrastructureNetworks.pdu = InfraNetwork.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedInfrastructureNetworks; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java new file mode 100644 index 0000000000000..fd7fccf53d38a --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Infrastructure service endpoints. + */ +@Fluent +public final class InfrastructureServices implements JsonSerializable { + /* + * Platform proxy configuration. + */ + private PlatformProxy platformProxy; + + /* + * NTP server IPs or hostnames. + */ + private List ntpServers; + + /* + * DNS server IPs. + */ + private List dnsServers; + + /** + * Creates an instance of InfrastructureServices class. + */ + public InfrastructureServices() { + } + + /** + * Get the platformProxy property: Platform proxy configuration. + * + * @return the platformProxy value. + */ + public PlatformProxy platformProxy() { + return this.platformProxy; + } + + /** + * Set the platformProxy property: Platform proxy configuration. + * + * @param platformProxy the platformProxy value to set. + * @return the InfrastructureServices object itself. + */ + public InfrastructureServices withPlatformProxy(PlatformProxy platformProxy) { + this.platformProxy = platformProxy; + return this; + } + + /** + * Get the ntpServers property: NTP server IPs or hostnames. + * + * @return the ntpServers value. + */ + public List ntpServers() { + return this.ntpServers; + } + + /** + * Set the ntpServers property: NTP server IPs or hostnames. + * + * @param ntpServers the ntpServers value to set. + * @return the InfrastructureServices object itself. + */ + public InfrastructureServices withNtpServers(List ntpServers) { + this.ntpServers = ntpServers; + return this; + } + + /** + * Get the dnsServers property: DNS server IPs. + * + * @return the dnsServers value. + */ + public List dnsServers() { + return this.dnsServers; + } + + /** + * Set the dnsServers property: DNS server IPs. + * + * @param dnsServers the dnsServers value to set. + * @return the InfrastructureServices object itself. + */ + public InfrastructureServices withDnsServers(List dnsServers) { + this.dnsServers = dnsServers; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("platformProxy", this.platformProxy); + jsonWriter.writeArrayField("ntpServers", this.ntpServers, (writer, element) -> writer.writeString(element)); + jsonWriter.writeArrayField("dnsServers", this.dnsServers, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InfrastructureServices from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InfrastructureServices if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InfrastructureServices. + */ + public static InfrastructureServices fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InfrastructureServices deserializedInfrastructureServices = new InfrastructureServices(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("platformProxy".equals(fieldName)) { + deserializedInfrastructureServices.platformProxy = PlatformProxy.fromJson(reader); + } else if ("ntpServers".equals(fieldName)) { + List ntpServers = reader.readArray(reader1 -> reader1.getString()); + deserializedInfrastructureServices.ntpServers = ntpServers; + } else if ("dnsServers".equals(fieldName)) { + List dnsServers = reader.readArray(reader1 -> reader1.getString()); + deserializedInfrastructureServices.dnsServers = dnsServers; + } else { + reader.skipChildren(); + } + } + + return deserializedInfrastructureServices; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java index b6e5ad08c13d4..268f9d62dea3a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java @@ -502,7 +502,7 @@ interface WithAnnotation { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(); + ValidateConfigurationResponseV2 validateConfiguration(); /** * Validates the configuration of the resources. @@ -513,7 +513,7 @@ interface WithAnnotation { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(Context context); + ValidateConfigurationResponseV2 validateConfiguration(Context context); /** * Commits the configuration of the given resources. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java index ddedc6e8acf30..5c6117f46b8dd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java @@ -143,7 +143,7 @@ UpdateAdministrativeStateResponse updateAdministrativeState(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l2IsolationDomainName); + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String l2IsolationDomainName); /** * Validates the configuration of the resources. @@ -156,7 +156,7 @@ UpdateAdministrativeStateResponse updateAdministrativeState(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l2IsolationDomainName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String l2IsolationDomainName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java index a7ee5dd5d4851..62708c8039cc7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java @@ -667,7 +667,7 @@ interface WithExportPolicyConfiguration { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(); + ValidateConfigurationResponseV2 validateConfiguration(); /** * Validates the configuration of the resources. @@ -678,7 +678,7 @@ interface WithExportPolicyConfiguration { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(Context context); + ValidateConfigurationResponseV2 validateConfiguration(Context context); /** * Commits the configuration of the given resources. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java index 5da90ac2d6795..cdce1f5f61df7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java @@ -143,7 +143,7 @@ UpdateAdministrativeStateResponse updateAdministrativeState(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l3IsolationDomainName); + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String l3IsolationDomainName); /** * Validates the configuration of the resources. @@ -156,7 +156,7 @@ UpdateAdministrativeStateResponse updateAdministrativeState(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String l3IsolationDomainName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String l3IsolationDomainName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java new file mode 100644 index 0000000000000..d7f3fccc30a2e --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Management mode for the Fabric. + */ +public final class ManagementMode extends ExpandableStringEnum { + /** + * Customer manages devices. + */ + public static final ManagementMode UNMANAGED = fromString("unmanaged"); + + /** + * RP manages devices. + */ + public static final ManagementMode MANAGED = fromString("managed"); + + /** + * Creates a new instance of ManagementMode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ManagementMode() { + } + + /** + * Creates or finds a ManagementMode from its string representation. + * + * @param name a name to look for. + * @return the corresponding ManagementMode. + */ + public static ManagementMode fromString(String name) { + return fromString(name, ManagementMode.class); + } + + /** + * Gets known ManagementMode values. + * + * @return known ManagementMode values. + */ + public static Collection values() { + return values(ManagementMode.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java index 34e055813a991..19a50698a577c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java @@ -120,6 +120,13 @@ public interface NeighborGroup { */ ConfigurationState configurationState(); + /** + * Gets the administrativeState property: Administrative state of the resource. + * + * @return the administrativeState value. + */ + AdministrativeState administrativeState(); + /** * Gets the region of the resource. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java index 91aa693956f20..08326711ec68a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java @@ -8,6 +8,7 @@ import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceInner; +import java.util.List; import java.util.Map; /** @@ -85,6 +86,13 @@ public interface NetworkBootstrapDevice { */ String serialNumber(); + /** + * Gets the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @return the controlPlaneAcls value. + */ + List controlPlaneAcls(); + /** * Gets the version property: Current version of the device as defined in SKU. * @@ -162,6 +170,21 @@ public interface NetworkBootstrapDevice { */ ConfigurationState configurationState(); + /** + * Gets the operationalState property: Operational state of networkBootstrapDevice indicating if the device is + * reachable and services are available. + * + * @return the operationalState value. + */ + OperationalState operationalState(); + + /** + * Gets the secretRotationStatus property: Secret rotation status for the terminal server's secrets. + * + * @return the secretRotationStatus value. + */ + List secretRotationStatus(); + /** * Gets the region of the resource. * @@ -245,9 +268,9 @@ interface WithResourceGroup { * The stage of the NetworkBootstrapDevice definition which contains all the minimum required properties for the * resource to be created, but also allows for any other optional properties to be specified. */ - interface WithCreate - extends DefinitionStages.WithTags, DefinitionStages.WithIdentity, DefinitionStages.WithAnnotation, - DefinitionStages.WithHostName, DefinitionStages.WithSerialNumber, DefinitionStages.WithNetworkDeviceSku { + interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithIdentity, + DefinitionStages.WithAnnotation, DefinitionStages.WithHostName, DefinitionStages.WithSerialNumber, + DefinitionStages.WithControlPlaneAcls, DefinitionStages.WithNetworkDeviceSku { /** * Executes the create request. * @@ -331,6 +354,19 @@ interface WithSerialNumber { WithCreate withSerialNumber(String serialNumber); } + /** + * The stage of the NetworkBootstrapDevice definition allowing to specify controlPlaneAcls. + */ + interface WithControlPlaneAcls { + /** + * Specifies the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs.. + * + * @param controlPlaneAcls Control Plane Access Control List ARM resource IDs. + * @return the next definition stage. + */ + WithCreate withControlPlaneAcls(List controlPlaneAcls); + } + /** * The stage of the NetworkBootstrapDevice definition allowing to specify networkDeviceSku. */ @@ -356,7 +392,7 @@ interface WithNetworkDeviceSku { * The template for NetworkBootstrapDevice update. */ interface Update extends UpdateStages.WithTags, UpdateStages.WithIdentity, UpdateStages.WithAnnotation, - UpdateStages.WithHostName, UpdateStages.WithSerialNumber { + UpdateStages.WithHostName, UpdateStages.WithSerialNumber, UpdateStages.WithControlPlaneAcls { /** * Executes the update request. * @@ -443,6 +479,19 @@ interface WithSerialNumber { */ Update withSerialNumber(String serialNumber); } + + /** + * The stage of the NetworkBootstrapDevice update allowing to specify controlPlaneAcls. + */ + interface WithControlPlaneAcls { + /** + * Specifies the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs.. + * + * @param controlPlaneAcls Control Plane Access Control List ARM resource IDs. + * @return the next definition stage. + */ + Update withControlPlaneAcls(List controlPlaneAcls); + } } /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java index 29a120252f363..7ecf24871772b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java @@ -10,6 +10,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDevicePatchProperties; import java.io.IOException; +import java.util.List; import java.util.Map; /** @@ -142,6 +143,29 @@ public NetworkBootstrapDevicePatch withSerialNumber(String serialNumber) { return this; } + /** + * Get the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @return the controlPlaneAcls value. + */ + public List controlPlaneAcls() { + return this.innerProperties() == null ? null : this.innerProperties().controlPlaneAcls(); + } + + /** + * Set the controlPlaneAcls property: Control Plane Access Control List ARM resource IDs. + * + * @param controlPlaneAcls the controlPlaneAcls value to set. + * @return the NetworkBootstrapDevicePatch object itself. + */ + public NetworkBootstrapDevicePatch withControlPlaneAcls(List controlPlaneAcls) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkBootstrapDevicePatchProperties(); + } + this.innerProperties().withControlPlaneAcls(controlPlaneAcls); + return this; + } + /** * {@inheritDoc} */ diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java index 1c6978d598d4b..af36de6b89939 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java @@ -118,6 +118,14 @@ public interface NetworkBootstrapInterface { */ String serialNumber(); + /** + * Gets the operationalState property: Operational state of networkBootstrapInterface indicating if the interface is + * reachable. + * + * @return the operationalState value. + */ + OperationalState operationalState(); + /** * Gets the annotation property: Switch configuration description. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java index 5da5debf31f65..29688d2155e22 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java @@ -171,6 +171,14 @@ public interface NetworkDevice { */ AdministrativeState administrativeState(); + /** + * Gets the operationalState property: Operational state of networkDevice indicating if the device is reachable and + * services are available. + * + * @return the operationalState value. + */ + OperationalState operationalState(); + /** * Gets the secretRotationStatus property: Secret rotation status for the device's secrets. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java index 7744a49195f69..5aaffa0e1a906 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java @@ -144,6 +144,14 @@ public interface NetworkFabric { */ long fabricAsn(); + /** + * Gets the networkBootstrapDeviceId property: Azure resource ID for the NetworkBootstrapDevice belonging to this + * Network Fabric. + * + * @return the networkBootstrapDeviceId value. + */ + String networkBootstrapDeviceId(); + /** * Gets the terminalServerConfiguration property: Network and credentials configuration currently applied to * terminal server. @@ -275,6 +283,14 @@ public interface NetworkFabric { */ AdministrativeState administrativeState(); + /** + * Gets the operationalState property: Operational state of networkFabric indicating if the resources of the fabric + * are reachable and services are available. + * + * @return the operationalState value. + */ + OperationalState operationalState(); + /** * Gets the qosConfiguration property: NetworkFabric QoS Configuration. * @@ -282,6 +298,22 @@ public interface NetworkFabric { */ QosProperties qosConfiguration(); + /** + * Gets the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @return the secretArchiveSettings value. + */ + SecretArchiveSettings secretArchiveSettings(); + + /** + * Gets the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @return the upgradeProfile value. + */ + List upgradeProfile(); + /** * Gets the annotation property: Switch configuration description. * @@ -485,7 +517,8 @@ interface WithCreate DefinitionStages.WithControlPlaneAcls, DefinitionStages.WithFeatureFlags, DefinitionStages.WithTrustedIpPrefixes, DefinitionStages.WithUniqueRdConfiguration, DefinitionStages.WithStorageArrayCount, DefinitionStages.WithAuthorizedTransceiver, - DefinitionStages.WithQosConfiguration, DefinitionStages.WithAnnotation { + DefinitionStages.WithQosConfiguration, DefinitionStages.WithSecretArchiveSettings, + DefinitionStages.WithUpgradeProfile, DefinitionStages.WithAnnotation { /** * Executes the create request. * @@ -686,6 +719,36 @@ interface WithQosConfiguration { WithCreate withQosConfiguration(QosProperties qosConfiguration); } + /** + * The stage of the NetworkFabric definition allowing to specify secretArchiveSettings. + */ + interface WithSecretArchiveSettings { + /** + * Specifies the secretArchiveSettings property: The settings for a customer secret archive that may be used + * to hold copies of credentials for the Network Fabric.. + * + * @param secretArchiveSettings The settings for a customer secret archive that may be used to hold copies + * of credentials for the Network Fabric. + * @return the next definition stage. + */ + WithCreate withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings); + } + + /** + * The stage of the NetworkFabric definition allowing to specify upgradeProfile. + */ + interface WithUpgradeProfile { + /** + * Specifies the upgradeProfile property: The upgrade profile to be used by devices in the network fabric + * during device operations. + * + * @param upgradeProfile The upgrade profile to be used by devices in the network fabric during device + * operations. + * @return the next definition stage. + */ + WithCreate withUpgradeProfile(List upgradeProfile); + } + /** * The stage of the NetworkFabric definition allowing to specify annotation. */ @@ -716,7 +779,8 @@ interface Update extends UpdateStages.WithTags, UpdateStages.WithIdentity, Updat UpdateStages.WithManagementNetworkConfiguration, UpdateStages.WithStorageAccountConfiguration, UpdateStages.WithHardwareAlertThreshold, UpdateStages.WithControlPlaneAcls, UpdateStages.WithTrustedIpPrefixes, UpdateStages.WithUniqueRdConfiguration, UpdateStages.WithQosConfiguration, UpdateStages.WithFeatureFlags, - UpdateStages.WithAuthorizedTransceiver { + UpdateStages.WithAuthorizedTransceiver, UpdateStages.WithSecretArchiveSettings, + UpdateStages.WithUpgradeProfile { /** * Executes the update request. * @@ -976,6 +1040,36 @@ interface WithAuthorizedTransceiver { */ Update withAuthorizedTransceiver(AuthorizedTransceiverPatchProperties authorizedTransceiver); } + + /** + * The stage of the NetworkFabric update allowing to specify secretArchiveSettings. + */ + interface WithSecretArchiveSettings { + /** + * Specifies the secretArchiveSettings property: The settings for a customer secret archive that may be used + * to hold copies of credentials for the Network Fabric.. + * + * @param secretArchiveSettings The settings for a customer secret archive that may be used to hold copies + * of credentials for the Network Fabric. + * @return the next definition stage. + */ + Update withSecretArchiveSettings(SecretArchivePatchSettings secretArchiveSettings); + } + + /** + * The stage of the NetworkFabric update allowing to specify upgradeProfile. + */ + interface WithUpgradeProfile { + /** + * Specifies the upgradeProfile property: The upgrade profile to be used by devices in the network fabric + * during device operations. + * + * @param upgradeProfile The upgrade profile to be used by devices in the network fabric during device + * operations. + * @return the next definition stage. + */ + Update withUpgradeProfileForUpdate(List upgradeProfile); + } } /** @@ -1068,13 +1162,14 @@ interface WithAuthorizedTransceiver { /** * Refreshes the configuration of the underlying resources in the given Network Fabric instance. * + * @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 current status of an async operation. */ - OperationStatusResult refreshConfiguration(Context context); + OperationStatusResult refreshConfiguration(RefreshConfigurationRequestProperties body, Context context); /** * Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric @@ -1135,7 +1230,7 @@ UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(UpdateAd * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(ValidateConfigurationProperties body); + ValidateConfigurationResponseV2 validateConfiguration(ValidateConfigurationProperties body); /** * Validates the configuration of the underlying resources in the given Network Fabric instance. @@ -1147,7 +1242,7 @@ UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(UpdateAd * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(ValidateConfigurationProperties body, Context context); + ValidateConfigurationResponseV2 validateConfiguration(ValidateConfigurationProperties body, Context context); /** * Gets Topology of the underlying resources in the given Network Fabric instance. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java index 6ce2a07af63ba..8e0e214ddc980 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java @@ -171,6 +171,21 @@ public interface NetworkFabricController { */ ProvisioningState provisioningState(); + /** + * Gets the operationalState property: Operational state of networkFabricController indicating if the resources of + * the controller are reachable and services are available. + * + * @return the operationalState value. + */ + OperationalState operationalState(); + + /** + * Gets the vmProfile property: The VM profile configuration for the NFC's associated compute (VM) resources. + * + * @return the vmProfile value. + */ + VmProfile vmProfile(); + /** * Gets the region of the resource. * @@ -259,7 +274,7 @@ interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithIde DefinitionStages.WithWorkloadExpressRouteConnections, DefinitionStages.WithManagedResourceGroupConfiguration, DefinitionStages.WithIsWorkloadManagementNetworkEnabled, DefinitionStages.WithIpv4AddressSpace, - DefinitionStages.WithIpv6AddressSpace, DefinitionStages.WithNfcSku { + DefinitionStages.WithIpv6AddressSpace, DefinitionStages.WithNfcSku, DefinitionStages.WithVmProfile { /** * Executes the create request. * @@ -423,6 +438,20 @@ interface WithNfcSku { */ WithCreate withNfcSku(NfcSku nfcSku); } + + /** + * The stage of the NetworkFabricController definition allowing to specify vmProfile. + */ + interface WithVmProfile { + /** + * Specifies the vmProfile property: The VM profile configuration for the NFC's associated compute (VM) + * resources.. + * + * @param vmProfile The VM profile configuration for the NFC's associated compute (VM) resources. + * @return the next definition stage. + */ + WithCreate withVmProfile(VmProfile vmProfile); + } } /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java index 910a661315a85..7eba6a7bc16a7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java @@ -445,6 +445,56 @@ public NetworkFabricPatch withAuthorizedTransceiver(AuthorizedTransceiverPatchPr return this; } + /** + * Get the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @return the secretArchiveSettings value. + */ + public SecretArchivePatchSettings secretArchiveSettings() { + return this.innerProperties() == null ? null : this.innerProperties().secretArchiveSettings(); + } + + /** + * Set the secretArchiveSettings property: The settings for a customer secret archive that may be used to hold + * copies of credentials for the Network Fabric. + * + * @param secretArchiveSettings the secretArchiveSettings value to set. + * @return the NetworkFabricPatch object itself. + */ + public NetworkFabricPatch withSecretArchiveSettings(SecretArchivePatchSettings secretArchiveSettings) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkFabricPatchProperties(); + } + this.innerProperties().withSecretArchiveSettings(secretArchiveSettings); + return this; + } + + /** + * Get the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @return the upgradeProfile value. + */ + public List upgradeProfile() { + return this.innerProperties() == null ? null : this.innerProperties().upgradeProfile(); + } + + /** + * Set the upgradeProfile property: The upgrade profile to be used by devices in the network fabric during device + * operations. + * + * @param upgradeProfile the upgradeProfile value to set. + * @return the NetworkFabricPatch object itself. + */ + public NetworkFabricPatch withUpgradeProfile(List upgradeProfile) { + if (this.innerProperties() == null) { + this.innerProperties = new NetworkFabricPatchProperties(); + } + this.innerProperties().withUpgradeProfile(upgradeProfile); + return this; + } + /** * {@inheritDoc} */ diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java new file mode 100644 index 0000000000000..363125cd6538e --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Device types for which the refresh configuration action will be applied: Example: CE | ToR | NPB | ManagementSwitch. + */ +public final class NetworkFabricRefreshDeviceTypes extends ExpandableStringEnum { + /** + * DeviceType-CE(Customer Edge). + */ + public static final NetworkFabricRefreshDeviceTypes CE = fromString("CE"); + + /** + * DeviceType-ToR(top of rack). + */ + public static final NetworkFabricRefreshDeviceTypes TOR = fromString("ToR"); + + /** + * DeviceType-NPB(Network Packet Broker). + */ + public static final NetworkFabricRefreshDeviceTypes NPB = fromString("NPB"); + + /** + * DeviceType-ManagementSwitch. + */ + public static final NetworkFabricRefreshDeviceTypes MANAGEMENT_SWITCH = fromString("ManagementSwitch"); + + /** + * Creates a new instance of NetworkFabricRefreshDeviceTypes value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public NetworkFabricRefreshDeviceTypes() { + } + + /** + * Creates or finds a NetworkFabricRefreshDeviceTypes from its string representation. + * + * @param name a name to look for. + * @return the corresponding NetworkFabricRefreshDeviceTypes. + */ + public static NetworkFabricRefreshDeviceTypes fromString(String name) { + return fromString(name, NetworkFabricRefreshDeviceTypes.class); + } + + /** + * Gets known NetworkFabricRefreshDeviceTypes values. + * + * @return known NetworkFabricRefreshDeviceTypes values. + */ + public static Collection values() { + return values(NetworkFabricRefreshDeviceTypes.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java index 2b1bd20b90a9e..83b2a9d011391 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java @@ -200,13 +200,15 @@ OperationStatusResult upgrade(String resourceGroupName, String networkFabricName * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkFabricName Name of the Network Fabric. + * @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 current status of an async operation. */ - OperationStatusResult refreshConfiguration(String resourceGroupName, String networkFabricName, Context context); + OperationStatusResult refreshConfiguration(String resourceGroupName, String networkFabricName, + RefreshConfigurationRequestProperties body, Context context); /** * Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric @@ -279,7 +281,7 @@ UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(String r * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkFabricName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body); /** @@ -294,7 +296,7 @@ ValidateConfigurationResponse validateConfiguration(String resourceGroupName, St * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkFabricName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkFabricName, ValidateConfigurationProperties body, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java index 50e60e824b09e..a933cdccc50cc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java @@ -131,6 +131,14 @@ public interface NetworkInterface { */ ConfigurationState configurationState(); + /** + * Gets the operationalState property: Operational state of networkInterface indicating if the interface is + * reachable. + * + * @return the operationalState value. + */ + OperationalState operationalState(); + /** * Gets the annotation property: Switch configuration description. * diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java index 5327f85bcc9c1..c7b8bbbff2296 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java @@ -100,6 +100,13 @@ public interface NetworkPacketBroker { */ List neighborGroupIds(); + /** + * Gets the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @return the sourceNetworkTapRuleId value. + */ + String sourceNetworkTapRuleId(); + /** * Gets the lastOperation property: Details of the last operation performed on the resource. * @@ -217,7 +224,8 @@ interface WithNetworkFabricId { * The stage of the NetworkPacketBroker definition which contains all the minimum required properties for the * resource to be created, but also allows for any other optional properties to be specified. */ - interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithIdentity { + interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithIdentity, + DefinitionStages.WithSourceNetworkTapRuleId { /** * Executes the create request. * @@ -259,6 +267,19 @@ interface WithIdentity { */ WithCreate withIdentity(ManagedServiceIdentity identity); } + + /** + * The stage of the NetworkPacketBroker definition allowing to specify sourceNetworkTapRuleId. + */ + interface WithSourceNetworkTapRuleId { + /** + * Specifies the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule.. + * + * @param sourceNetworkTapRuleId ARM resource ID of the source Network Tap Rule. + * @return the next definition stage. + */ + WithCreate withSourceNetworkTapRuleId(String sourceNetworkTapRuleId); + } } /** @@ -271,7 +292,7 @@ interface WithIdentity { /** * The template for NetworkPacketBroker update. */ - interface Update extends UpdateStages.WithTags, UpdateStages.WithIdentity { + interface Update extends UpdateStages.WithTags, UpdateStages.WithProperties, UpdateStages.WithIdentity { /** * Executes the update request. * @@ -305,6 +326,19 @@ interface WithTags { Update withTags(Map tags); } + /** + * The stage of the NetworkPacketBroker update allowing to specify properties. + */ + interface WithProperties { + /** + * Specifies the properties property: NetworkPacketBroker patch properties.. + * + * @param properties NetworkPacketBroker patch properties. + * @return the next definition stage. + */ + Update withProperties(NetworkPacketBrokerPatchProperties properties); + } + /** * The stage of the NetworkPacketBroker update allowing to specify identity. */ diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java index aaa1b0809beb2..cd779135182ca 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java @@ -16,6 +16,11 @@ */ @Fluent public final class NetworkPacketBrokerPatch extends TagsUpdate { + /* + * NetworkPacketBroker patch properties. + */ + private NetworkPacketBrokerPatchProperties properties; + /* * The managed service identities assigned to this resource. */ @@ -27,6 +32,26 @@ public final class NetworkPacketBrokerPatch extends TagsUpdate { public NetworkPacketBrokerPatch() { } + /** + * Get the properties property: NetworkPacketBroker patch properties. + * + * @return the properties value. + */ + public NetworkPacketBrokerPatchProperties properties() { + return this.properties; + } + + /** + * Set the properties property: NetworkPacketBroker patch properties. + * + * @param properties the properties value to set. + * @return the NetworkPacketBrokerPatch object itself. + */ + public NetworkPacketBrokerPatch withProperties(NetworkPacketBrokerPatchProperties properties) { + this.properties = properties; + return this; + } + /** * Get the identity property: The managed service identities assigned to this resource. * @@ -63,6 +88,7 @@ public NetworkPacketBrokerPatch withTags(Map tags) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); + jsonWriter.writeJsonField("properties", this.properties); jsonWriter.writeJsonField("identity", this.identity); return jsonWriter.writeEndObject(); } @@ -85,6 +111,9 @@ public static NetworkPacketBrokerPatch fromJson(JsonReader jsonReader) throws IO if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedNetworkPacketBrokerPatch.withTags(tags); + } else if ("properties".equals(fieldName)) { + deserializedNetworkPacketBrokerPatch.properties + = NetworkPacketBrokerPatchProperties.fromJson(reader); } else if ("identity".equals(fieldName)) { deserializedNetworkPacketBrokerPatch.identity = ManagedServiceIdentityPatch.fromJson(reader); } else { diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java new file mode 100644 index 0000000000000..d01834ff08fc5 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java @@ -0,0 +1,86 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The NetworkPacketBroker patch properties. + */ +@Fluent +public final class NetworkPacketBrokerPatchProperties implements JsonSerializable { + /* + * ARM resource ID of the source Network Tap Rule. + */ + private String sourceNetworkTapRuleId; + + /** + * Creates an instance of NetworkPacketBrokerPatchProperties class. + */ + public NetworkPacketBrokerPatchProperties() { + } + + /** + * Get the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @return the sourceNetworkTapRuleId value. + */ + public String sourceNetworkTapRuleId() { + return this.sourceNetworkTapRuleId; + } + + /** + * Set the sourceNetworkTapRuleId property: ARM resource ID of the source Network Tap Rule. + * + * @param sourceNetworkTapRuleId the sourceNetworkTapRuleId value to set. + * @return the NetworkPacketBrokerPatchProperties object itself. + */ + public NetworkPacketBrokerPatchProperties withSourceNetworkTapRuleId(String sourceNetworkTapRuleId) { + this.sourceNetworkTapRuleId = sourceNetworkTapRuleId; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("sourceNetworkTapRuleId", this.sourceNetworkTapRuleId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of NetworkPacketBrokerPatchProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of NetworkPacketBrokerPatchProperties if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the NetworkPacketBrokerPatchProperties. + */ + public static NetworkPacketBrokerPatchProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + NetworkPacketBrokerPatchProperties deserializedNetworkPacketBrokerPatchProperties + = new NetworkPacketBrokerPatchProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("sourceNetworkTapRuleId".equals(fieldName)) { + deserializedNetworkPacketBrokerPatchProperties.sourceNetworkTapRuleId = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedNetworkPacketBrokerPatchProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java index 230a2026107de..d69677796f943 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java @@ -636,7 +636,7 @@ interface WithGlobalNetworkTapRuleActions { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(); + ValidateConfigurationResponseV2 validateConfiguration(); /** * Implements the operation to the underlying resources. @@ -647,5 +647,5 @@ interface WithGlobalNetworkTapRuleActions { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(Context context); + ValidateConfigurationResponseV2 validateConfiguration(Context context); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java index 2c7cd8717feaf..fcda55d592ea1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java @@ -168,7 +168,7 @@ CommonPostActionResponseForStateUpdate updateAdministrativeState(String resource * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkTapRuleName); + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkTapRuleName); /** * Implements the operation to the underlying resources. @@ -181,7 +181,7 @@ CommonPostActionResponseForStateUpdate updateAdministrativeState(String resource * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String networkTapRuleName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String networkTapRuleName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java new file mode 100644 index 0000000000000..1a15b52d2eb74 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Operation policy for device interaction. + */ +public final class OperationPolicy extends ExpandableStringEnum { + /** + * Read device state and report drift. + */ + public static final OperationPolicy VALIDATE_ONLY = fromString("validateOnly"); + + /** + * Read, write, and remediate drift. + */ + public static final OperationPolicy FULL_CONTROL = fromString("fullControl"); + + /** + * Creates a new instance of OperationPolicy value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public OperationPolicy() { + } + + /** + * Creates or finds a OperationPolicy from its string representation. + * + * @param name a name to look for. + * @return the corresponding OperationPolicy. + */ + public static OperationPolicy fromString(String name) { + return fromString(name, OperationPolicy.class); + } + + /** + * Gets known OperationPolicy values. + * + * @return known OperationPolicy values. + */ + public static Collection values() { + return values(OperationPolicy.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java new file mode 100644 index 0000000000000..8e94da65d2f22 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Operational State represents the current runtime condition of a networking resource. It reflects the actual health, + * reachability, and availability of the resource at a given point in time. + */ +public final class OperationalState extends ExpandableStringEnum { + /** + * Operational State Unknown indicates the state of the resource cannot be determined. + */ + public static final OperationalState UNKNOWN = fromString("Unknown"); + + /** + * Operational State Up indicates the resource is operational and functioning normally and all required + * control-plane and (where applicable) data-plane operations are healthy. + */ + public static final OperationalState UP = fromString("Up"); + + /** + * Operational State Down indicates the resource is not functioning or not reachable and no meaningful operations + * can be performed. + */ + public static final OperationalState DOWN = fromString("Down"); + + /** + * Operational State Degraded indicates the resource is partially functional, some capabilities may be impaired, but + * the resource is still operational. + */ + public static final OperationalState DEGRADED = fromString("Degraded"); + + /** + * Creates a new instance of OperationalState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public OperationalState() { + } + + /** + * Creates or finds a OperationalState from its string representation. + * + * @param name a name to look for. + * @return the corresponding OperationalState. + */ + public static OperationalState fromString(String name) { + return fromString(name, OperationalState.class); + } + + /** + * Gets known OperationalState values. + * + * @return known OperationalState values. + */ + public static Collection values() { + return values(OperationalState.class); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java new file mode 100644 index 0000000000000..905a6c966d4e3 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java @@ -0,0 +1,225 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Infrastructure network definition for PATCH. All fields optional. + */ +@Fluent +public final class PatchInfraNetwork implements JsonSerializable { + /* + * 802.1Q VLAN ID. + */ + private Integer vlanId; + + /* + * IPv4 subnet in CIDR notation. + */ + private String ipv4Subnet; + + /* + * Default gateway IP. + */ + private String ipv4Gateway; + + /* + * Start of allocatable IP range. + */ + private String ipv4StartAddr; + + /* + * End of allocatable IP range. + */ + private String ipv4EndAddr; + + /* + * Maximum Transmission Unit. + */ + private Integer mtu; + + /** + * Creates an instance of PatchInfraNetwork class. + */ + public PatchInfraNetwork() { + } + + /** + * Get the vlanId property: 802.1Q VLAN ID. + * + * @return the vlanId value. + */ + public Integer vlanId() { + return this.vlanId; + } + + /** + * Set the vlanId property: 802.1Q VLAN ID. + * + * @param vlanId the vlanId value to set. + * @return the PatchInfraNetwork object itself. + */ + public PatchInfraNetwork withVlanId(Integer vlanId) { + this.vlanId = vlanId; + return this; + } + + /** + * Get the ipv4Subnet property: IPv4 subnet in CIDR notation. + * + * @return the ipv4Subnet value. + */ + public String ipv4Subnet() { + return this.ipv4Subnet; + } + + /** + * Set the ipv4Subnet property: IPv4 subnet in CIDR notation. + * + * @param ipv4Subnet the ipv4Subnet value to set. + * @return the PatchInfraNetwork object itself. + */ + public PatchInfraNetwork withIpv4Subnet(String ipv4Subnet) { + this.ipv4Subnet = ipv4Subnet; + return this; + } + + /** + * Get the ipv4Gateway property: Default gateway IP. + * + * @return the ipv4Gateway value. + */ + public String ipv4Gateway() { + return this.ipv4Gateway; + } + + /** + * Set the ipv4Gateway property: Default gateway IP. + * + * @param ipv4Gateway the ipv4Gateway value to set. + * @return the PatchInfraNetwork object itself. + */ + public PatchInfraNetwork withIpv4Gateway(String ipv4Gateway) { + this.ipv4Gateway = ipv4Gateway; + return this; + } + + /** + * Get the ipv4StartAddr property: Start of allocatable IP range. + * + * @return the ipv4StartAddr value. + */ + public String ipv4StartAddr() { + return this.ipv4StartAddr; + } + + /** + * Set the ipv4StartAddr property: Start of allocatable IP range. + * + * @param ipv4StartAddr the ipv4StartAddr value to set. + * @return the PatchInfraNetwork object itself. + */ + public PatchInfraNetwork withIpv4StartAddr(String ipv4StartAddr) { + this.ipv4StartAddr = ipv4StartAddr; + return this; + } + + /** + * Get the ipv4EndAddr property: End of allocatable IP range. + * + * @return the ipv4EndAddr value. + */ + public String ipv4EndAddr() { + return this.ipv4EndAddr; + } + + /** + * Set the ipv4EndAddr property: End of allocatable IP range. + * + * @param ipv4EndAddr the ipv4EndAddr value to set. + * @return the PatchInfraNetwork object itself. + */ + public PatchInfraNetwork withIpv4EndAddr(String ipv4EndAddr) { + this.ipv4EndAddr = ipv4EndAddr; + return this; + } + + /** + * Get the mtu property: Maximum Transmission Unit. + * + * @return the mtu value. + */ + public Integer mtu() { + return this.mtu; + } + + /** + * Set the mtu property: Maximum Transmission Unit. + * + * @param mtu the mtu value to set. + * @return the PatchInfraNetwork object itself. + */ + public PatchInfraNetwork withMtu(Integer mtu) { + this.mtu = mtu; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("vlanId", this.vlanId); + jsonWriter.writeStringField("ipv4Subnet", this.ipv4Subnet); + jsonWriter.writeStringField("ipv4Gateway", this.ipv4Gateway); + jsonWriter.writeStringField("ipv4StartAddr", this.ipv4StartAddr); + jsonWriter.writeStringField("ipv4EndAddr", this.ipv4EndAddr); + jsonWriter.writeNumberField("mtu", this.mtu); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PatchInfraNetwork from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PatchInfraNetwork if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the PatchInfraNetwork. + */ + public static PatchInfraNetwork fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PatchInfraNetwork deserializedPatchInfraNetwork = new PatchInfraNetwork(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("vlanId".equals(fieldName)) { + deserializedPatchInfraNetwork.vlanId = reader.getNullable(JsonReader::getInt); + } else if ("ipv4Subnet".equals(fieldName)) { + deserializedPatchInfraNetwork.ipv4Subnet = reader.getString(); + } else if ("ipv4Gateway".equals(fieldName)) { + deserializedPatchInfraNetwork.ipv4Gateway = reader.getString(); + } else if ("ipv4StartAddr".equals(fieldName)) { + deserializedPatchInfraNetwork.ipv4StartAddr = reader.getString(); + } else if ("ipv4EndAddr".equals(fieldName)) { + deserializedPatchInfraNetwork.ipv4EndAddr = reader.getString(); + } else if ("mtu".equals(fieldName)) { + deserializedPatchInfraNetwork.mtu = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedPatchInfraNetwork; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java new file mode 100644 index 0000000000000..838be568fe780 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java @@ -0,0 +1,225 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Infrastructure network definitions for PATCH. No networks required. + */ +@Fluent +public final class PatchInfrastructureNetworks implements JsonSerializable { + /* + * OAM management network. + */ + private PatchInfraNetwork management; + + /* + * PXE boot network. + */ + private PatchInfraNetwork pxe; + + /* + * BMC/iDRAC network. + */ + private PatchInfraNetwork bmc; + + /* + * Storage data plane network. + */ + private PatchInfraNetwork storage; + + /* + * Storage management plane network. + */ + private PatchInfraNetwork storageMgmt; + + /* + * PDU management network. + */ + private PatchInfraNetwork pdu; + + /** + * Creates an instance of PatchInfrastructureNetworks class. + */ + public PatchInfrastructureNetworks() { + } + + /** + * Get the management property: OAM management network. + * + * @return the management value. + */ + public PatchInfraNetwork management() { + return this.management; + } + + /** + * Set the management property: OAM management network. + * + * @param management the management value to set. + * @return the PatchInfrastructureNetworks object itself. + */ + public PatchInfrastructureNetworks withManagement(PatchInfraNetwork management) { + this.management = management; + return this; + } + + /** + * Get the pxe property: PXE boot network. + * + * @return the pxe value. + */ + public PatchInfraNetwork pxe() { + return this.pxe; + } + + /** + * Set the pxe property: PXE boot network. + * + * @param pxe the pxe value to set. + * @return the PatchInfrastructureNetworks object itself. + */ + public PatchInfrastructureNetworks withPxe(PatchInfraNetwork pxe) { + this.pxe = pxe; + return this; + } + + /** + * Get the bmc property: BMC/iDRAC network. + * + * @return the bmc value. + */ + public PatchInfraNetwork bmc() { + return this.bmc; + } + + /** + * Set the bmc property: BMC/iDRAC network. + * + * @param bmc the bmc value to set. + * @return the PatchInfrastructureNetworks object itself. + */ + public PatchInfrastructureNetworks withBmc(PatchInfraNetwork bmc) { + this.bmc = bmc; + return this; + } + + /** + * Get the storage property: Storage data plane network. + * + * @return the storage value. + */ + public PatchInfraNetwork storage() { + return this.storage; + } + + /** + * Set the storage property: Storage data plane network. + * + * @param storage the storage value to set. + * @return the PatchInfrastructureNetworks object itself. + */ + public PatchInfrastructureNetworks withStorage(PatchInfraNetwork storage) { + this.storage = storage; + return this; + } + + /** + * Get the storageMgmt property: Storage management plane network. + * + * @return the storageMgmt value. + */ + public PatchInfraNetwork storageMgmt() { + return this.storageMgmt; + } + + /** + * Set the storageMgmt property: Storage management plane network. + * + * @param storageMgmt the storageMgmt value to set. + * @return the PatchInfrastructureNetworks object itself. + */ + public PatchInfrastructureNetworks withStorageMgmt(PatchInfraNetwork storageMgmt) { + this.storageMgmt = storageMgmt; + return this; + } + + /** + * Get the pdu property: PDU management network. + * + * @return the pdu value. + */ + public PatchInfraNetwork pdu() { + return this.pdu; + } + + /** + * Set the pdu property: PDU management network. + * + * @param pdu the pdu value to set. + * @return the PatchInfrastructureNetworks object itself. + */ + public PatchInfrastructureNetworks withPdu(PatchInfraNetwork pdu) { + this.pdu = pdu; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("management", this.management); + jsonWriter.writeJsonField("pxe", this.pxe); + jsonWriter.writeJsonField("bmc", this.bmc); + jsonWriter.writeJsonField("storage", this.storage); + jsonWriter.writeJsonField("storageMgmt", this.storageMgmt); + jsonWriter.writeJsonField("pdu", this.pdu); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PatchInfrastructureNetworks from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PatchInfrastructureNetworks if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the PatchInfrastructureNetworks. + */ + public static PatchInfrastructureNetworks fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PatchInfrastructureNetworks deserializedPatchInfrastructureNetworks = new PatchInfrastructureNetworks(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("management".equals(fieldName)) { + deserializedPatchInfrastructureNetworks.management = PatchInfraNetwork.fromJson(reader); + } else if ("pxe".equals(fieldName)) { + deserializedPatchInfrastructureNetworks.pxe = PatchInfraNetwork.fromJson(reader); + } else if ("bmc".equals(fieldName)) { + deserializedPatchInfrastructureNetworks.bmc = PatchInfraNetwork.fromJson(reader); + } else if ("storage".equals(fieldName)) { + deserializedPatchInfrastructureNetworks.storage = PatchInfraNetwork.fromJson(reader); + } else if ("storageMgmt".equals(fieldName)) { + deserializedPatchInfrastructureNetworks.storageMgmt = PatchInfraNetwork.fromJson(reader); + } else if ("pdu".equals(fieldName)) { + deserializedPatchInfrastructureNetworks.pdu = PatchInfraNetwork.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedPatchInfrastructureNetworks; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java new file mode 100644 index 0000000000000..4fddce15ad9cd --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Infrastructure service endpoints for PATCH. All fields optional. + */ +@Fluent +public final class PatchInfrastructureServices implements JsonSerializable { + /* + * Platform proxy configuration. + */ + private PatchPlatformProxy platformProxy; + + /* + * NTP server IPs or hostnames. + */ + private List ntpServers; + + /* + * DNS server IPs. + */ + private List dnsServers; + + /** + * Creates an instance of PatchInfrastructureServices class. + */ + public PatchInfrastructureServices() { + } + + /** + * Get the platformProxy property: Platform proxy configuration. + * + * @return the platformProxy value. + */ + public PatchPlatformProxy platformProxy() { + return this.platformProxy; + } + + /** + * Set the platformProxy property: Platform proxy configuration. + * + * @param platformProxy the platformProxy value to set. + * @return the PatchInfrastructureServices object itself. + */ + public PatchInfrastructureServices withPlatformProxy(PatchPlatformProxy platformProxy) { + this.platformProxy = platformProxy; + return this; + } + + /** + * Get the ntpServers property: NTP server IPs or hostnames. + * + * @return the ntpServers value. + */ + public List ntpServers() { + return this.ntpServers; + } + + /** + * Set the ntpServers property: NTP server IPs or hostnames. + * + * @param ntpServers the ntpServers value to set. + * @return the PatchInfrastructureServices object itself. + */ + public PatchInfrastructureServices withNtpServers(List ntpServers) { + this.ntpServers = ntpServers; + return this; + } + + /** + * Get the dnsServers property: DNS server IPs. + * + * @return the dnsServers value. + */ + public List dnsServers() { + return this.dnsServers; + } + + /** + * Set the dnsServers property: DNS server IPs. + * + * @param dnsServers the dnsServers value to set. + * @return the PatchInfrastructureServices object itself. + */ + public PatchInfrastructureServices withDnsServers(List dnsServers) { + this.dnsServers = dnsServers; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("platformProxy", this.platformProxy); + jsonWriter.writeArrayField("ntpServers", this.ntpServers, (writer, element) -> writer.writeString(element)); + jsonWriter.writeArrayField("dnsServers", this.dnsServers, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PatchInfrastructureServices from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PatchInfrastructureServices if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the PatchInfrastructureServices. + */ + public static PatchInfrastructureServices fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PatchInfrastructureServices deserializedPatchInfrastructureServices = new PatchInfrastructureServices(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("platformProxy".equals(fieldName)) { + deserializedPatchInfrastructureServices.platformProxy = PatchPlatformProxy.fromJson(reader); + } else if ("ntpServers".equals(fieldName)) { + List ntpServers = reader.readArray(reader1 -> reader1.getString()); + deserializedPatchInfrastructureServices.ntpServers = ntpServers; + } else if ("dnsServers".equals(fieldName)) { + List dnsServers = reader.readArray(reader1 -> reader1.getString()); + deserializedPatchInfrastructureServices.dnsServers = dnsServers; + } else { + reader.skipChildren(); + } + } + + return deserializedPatchInfrastructureServices; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java new file mode 100644 index 0000000000000..f5ceefe4a1c0e --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Platform proxy configuration for PATCH. All fields optional. + */ +@Fluent +public final class PatchPlatformProxy implements JsonSerializable { + /* + * HTTP proxy endpoint URL, or proxy bare host:port + */ + private String httpProxy; + + /* + * HTTPS proxy endpoint URL, or proxy bare host:port for 443 + */ + private String httpsProxy; + + /* + * CIDRs, hostnames, and domain suffixes that bypass the proxy. + */ + private List noProxy; + + /** + * Creates an instance of PatchPlatformProxy class. + */ + public PatchPlatformProxy() { + } + + /** + * Get the httpProxy property: HTTP proxy endpoint URL, or proxy bare host:port. + * + * @return the httpProxy value. + */ + public String httpProxy() { + return this.httpProxy; + } + + /** + * Set the httpProxy property: HTTP proxy endpoint URL, or proxy bare host:port. + * + * @param httpProxy the httpProxy value to set. + * @return the PatchPlatformProxy object itself. + */ + public PatchPlatformProxy withHttpProxy(String httpProxy) { + this.httpProxy = httpProxy; + return this; + } + + /** + * Get the httpsProxy property: HTTPS proxy endpoint URL, or proxy bare host:port for 443. + * + * @return the httpsProxy value. + */ + public String httpsProxy() { + return this.httpsProxy; + } + + /** + * Set the httpsProxy property: HTTPS proxy endpoint URL, or proxy bare host:port for 443. + * + * @param httpsProxy the httpsProxy value to set. + * @return the PatchPlatformProxy object itself. + */ + public PatchPlatformProxy withHttpsProxy(String httpsProxy) { + this.httpsProxy = httpsProxy; + return this; + } + + /** + * Get the noProxy property: CIDRs, hostnames, and domain suffixes that bypass the proxy. + * + * @return the noProxy value. + */ + public List noProxy() { + return this.noProxy; + } + + /** + * Set the noProxy property: CIDRs, hostnames, and domain suffixes that bypass the proxy. + * + * @param noProxy the noProxy value to set. + * @return the PatchPlatformProxy object itself. + */ + public PatchPlatformProxy withNoProxy(List noProxy) { + this.noProxy = noProxy; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("httpProxy", this.httpProxy); + jsonWriter.writeStringField("httpsProxy", this.httpsProxy); + jsonWriter.writeArrayField("noProxy", this.noProxy, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PatchPlatformProxy from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PatchPlatformProxy if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the PatchPlatformProxy. + */ + public static PatchPlatformProxy fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PatchPlatformProxy deserializedPatchPlatformProxy = new PatchPlatformProxy(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("httpProxy".equals(fieldName)) { + deserializedPatchPlatformProxy.httpProxy = reader.getString(); + } else if ("httpsProxy".equals(fieldName)) { + deserializedPatchPlatformProxy.httpsProxy = reader.getString(); + } else if ("noProxy".equals(fieldName)) { + List noProxy = reader.readArray(reader1 -> reader1.getString()); + deserializedPatchPlatformProxy.noProxy = noProxy; + } else { + reader.skipChildren(); + } + } + + return deserializedPatchPlatformProxy; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java new file mode 100644 index 0000000000000..6440ef876681c --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Platform proxy configuration. + */ +@Fluent +public final class PlatformProxy implements JsonSerializable { + /* + * HTTP proxy endpoint URL, or proxy bare host:port + */ + private String httpProxy; + + /* + * HTTPS proxy endpoint URL, or proxy bare host:port for 443 + */ + private String httpsProxy; + + /* + * CIDRs, hostnames, and domain suffixes that bypass the proxy. + */ + private List noProxy; + + /** + * Creates an instance of PlatformProxy class. + */ + public PlatformProxy() { + } + + /** + * Get the httpProxy property: HTTP proxy endpoint URL, or proxy bare host:port. + * + * @return the httpProxy value. + */ + public String httpProxy() { + return this.httpProxy; + } + + /** + * Set the httpProxy property: HTTP proxy endpoint URL, or proxy bare host:port. + * + * @param httpProxy the httpProxy value to set. + * @return the PlatformProxy object itself. + */ + public PlatformProxy withHttpProxy(String httpProxy) { + this.httpProxy = httpProxy; + return this; + } + + /** + * Get the httpsProxy property: HTTPS proxy endpoint URL, or proxy bare host:port for 443. + * + * @return the httpsProxy value. + */ + public String httpsProxy() { + return this.httpsProxy; + } + + /** + * Set the httpsProxy property: HTTPS proxy endpoint URL, or proxy bare host:port for 443. + * + * @param httpsProxy the httpsProxy value to set. + * @return the PlatformProxy object itself. + */ + public PlatformProxy withHttpsProxy(String httpsProxy) { + this.httpsProxy = httpsProxy; + return this; + } + + /** + * Get the noProxy property: CIDRs, hostnames, and domain suffixes that bypass the proxy. + * + * @return the noProxy value. + */ + public List noProxy() { + return this.noProxy; + } + + /** + * Set the noProxy property: CIDRs, hostnames, and domain suffixes that bypass the proxy. + * + * @param noProxy the noProxy value to set. + * @return the PlatformProxy object itself. + */ + public PlatformProxy withNoProxy(List noProxy) { + this.noProxy = noProxy; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("httpProxy", this.httpProxy); + jsonWriter.writeStringField("httpsProxy", this.httpsProxy); + jsonWriter.writeArrayField("noProxy", this.noProxy, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PlatformProxy from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PlatformProxy if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PlatformProxy. + */ + public static PlatformProxy fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PlatformProxy deserializedPlatformProxy = new PlatformProxy(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("httpProxy".equals(fieldName)) { + deserializedPlatformProxy.httpProxy = reader.getString(); + } else if ("httpsProxy".equals(fieldName)) { + deserializedPlatformProxy.httpsProxy = reader.getString(); + } else if ("noProxy".equals(fieldName)) { + List noProxy = reader.readArray(reader1 -> reader1.getString()); + deserializedPlatformProxy.noProxy = noProxy; + } else { + reader.skipChildren(); + } + } + + return deserializedPlatformProxy; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java new file mode 100644 index 0000000000000..ae39f2552d70d --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java @@ -0,0 +1,125 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The post-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations. + */ +@Fluent +public final class PostUpgradeProfilePatchProperties implements JsonSerializable { + /* + * Maximum wait time in seconds for during the post-upgrade process for devices in the network fabric to + * successfully move out of maintenance mode. + */ + private Integer maxExitingMaintenanceTimeoutInSeconds; + + /* + * Maximum time in seconds to wait for MLAG reload delay on devices in the network fabric. + */ + private Integer mlagReloadDelayTimeoutInSeconds; + + /** + * Creates an instance of PostUpgradeProfilePatchProperties class. + */ + public PostUpgradeProfilePatchProperties() { + } + + /** + * Get the maxExitingMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the post-upgrade + * process for devices in the network fabric to successfully move out of maintenance mode. + * + * @return the maxExitingMaintenanceTimeoutInSeconds value. + */ + public Integer maxExitingMaintenanceTimeoutInSeconds() { + return this.maxExitingMaintenanceTimeoutInSeconds; + } + + /** + * Set the maxExitingMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the post-upgrade + * process for devices in the network fabric to successfully move out of maintenance mode. + * + * @param maxExitingMaintenanceTimeoutInSeconds the maxExitingMaintenanceTimeoutInSeconds value to set. + * @return the PostUpgradeProfilePatchProperties object itself. + */ + public PostUpgradeProfilePatchProperties + withMaxExitingMaintenanceTimeoutInSeconds(Integer maxExitingMaintenanceTimeoutInSeconds) { + this.maxExitingMaintenanceTimeoutInSeconds = maxExitingMaintenanceTimeoutInSeconds; + return this; + } + + /** + * Get the mlagReloadDelayTimeoutInSeconds property: Maximum time in seconds to wait for MLAG reload delay on + * devices in the network fabric. + * + * @return the mlagReloadDelayTimeoutInSeconds value. + */ + public Integer mlagReloadDelayTimeoutInSeconds() { + return this.mlagReloadDelayTimeoutInSeconds; + } + + /** + * Set the mlagReloadDelayTimeoutInSeconds property: Maximum time in seconds to wait for MLAG reload delay on + * devices in the network fabric. + * + * @param mlagReloadDelayTimeoutInSeconds the mlagReloadDelayTimeoutInSeconds value to set. + * @return the PostUpgradeProfilePatchProperties object itself. + */ + public PostUpgradeProfilePatchProperties + withMlagReloadDelayTimeoutInSeconds(Integer mlagReloadDelayTimeoutInSeconds) { + this.mlagReloadDelayTimeoutInSeconds = mlagReloadDelayTimeoutInSeconds; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("maxExitingMaintenanceTimeoutInSeconds", + this.maxExitingMaintenanceTimeoutInSeconds); + jsonWriter.writeNumberField("mlagReloadDelayTimeoutInSeconds", this.mlagReloadDelayTimeoutInSeconds); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PostUpgradeProfilePatchProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PostUpgradeProfilePatchProperties if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the PostUpgradeProfilePatchProperties. + */ + public static PostUpgradeProfilePatchProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PostUpgradeProfilePatchProperties deserializedPostUpgradeProfilePatchProperties + = new PostUpgradeProfilePatchProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("maxExitingMaintenanceTimeoutInSeconds".equals(fieldName)) { + deserializedPostUpgradeProfilePatchProperties.maxExitingMaintenanceTimeoutInSeconds + = reader.getNullable(JsonReader::getInt); + } else if ("mlagReloadDelayTimeoutInSeconds".equals(fieldName)) { + deserializedPostUpgradeProfilePatchProperties.mlagReloadDelayTimeoutInSeconds + = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedPostUpgradeProfilePatchProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java new file mode 100644 index 0000000000000..b6d376cf2ac44 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The post-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations. + */ +@Fluent +public final class PostUpgradeProfileProperties implements JsonSerializable { + /* + * Maximum wait time in seconds for during the post-upgrade process for devices in the network fabric to + * successfully move out of maintenance mode. + */ + private Integer maxExitingMaintenanceTimeoutInSeconds; + + /* + * Maximum time in seconds to wait for MLAG reload delay on devices in the network fabric. + */ + private Integer mlagReloadDelayTimeoutInSeconds; + + /** + * Creates an instance of PostUpgradeProfileProperties class. + */ + public PostUpgradeProfileProperties() { + } + + /** + * Get the maxExitingMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the post-upgrade + * process for devices in the network fabric to successfully move out of maintenance mode. + * + * @return the maxExitingMaintenanceTimeoutInSeconds value. + */ + public Integer maxExitingMaintenanceTimeoutInSeconds() { + return this.maxExitingMaintenanceTimeoutInSeconds; + } + + /** + * Set the maxExitingMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the post-upgrade + * process for devices in the network fabric to successfully move out of maintenance mode. + * + * @param maxExitingMaintenanceTimeoutInSeconds the maxExitingMaintenanceTimeoutInSeconds value to set. + * @return the PostUpgradeProfileProperties object itself. + */ + public PostUpgradeProfileProperties + withMaxExitingMaintenanceTimeoutInSeconds(Integer maxExitingMaintenanceTimeoutInSeconds) { + this.maxExitingMaintenanceTimeoutInSeconds = maxExitingMaintenanceTimeoutInSeconds; + return this; + } + + /** + * Get the mlagReloadDelayTimeoutInSeconds property: Maximum time in seconds to wait for MLAG reload delay on + * devices in the network fabric. + * + * @return the mlagReloadDelayTimeoutInSeconds value. + */ + public Integer mlagReloadDelayTimeoutInSeconds() { + return this.mlagReloadDelayTimeoutInSeconds; + } + + /** + * Set the mlagReloadDelayTimeoutInSeconds property: Maximum time in seconds to wait for MLAG reload delay on + * devices in the network fabric. + * + * @param mlagReloadDelayTimeoutInSeconds the mlagReloadDelayTimeoutInSeconds value to set. + * @return the PostUpgradeProfileProperties object itself. + */ + public PostUpgradeProfileProperties withMlagReloadDelayTimeoutInSeconds(Integer mlagReloadDelayTimeoutInSeconds) { + this.mlagReloadDelayTimeoutInSeconds = mlagReloadDelayTimeoutInSeconds; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("maxExitingMaintenanceTimeoutInSeconds", + this.maxExitingMaintenanceTimeoutInSeconds); + jsonWriter.writeNumberField("mlagReloadDelayTimeoutInSeconds", this.mlagReloadDelayTimeoutInSeconds); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PostUpgradeProfileProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PostUpgradeProfileProperties if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the PostUpgradeProfileProperties. + */ + public static PostUpgradeProfileProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PostUpgradeProfileProperties deserializedPostUpgradeProfileProperties = new PostUpgradeProfileProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("maxExitingMaintenanceTimeoutInSeconds".equals(fieldName)) { + deserializedPostUpgradeProfileProperties.maxExitingMaintenanceTimeoutInSeconds + = reader.getNullable(JsonReader::getInt); + } else if ("mlagReloadDelayTimeoutInSeconds".equals(fieldName)) { + deserializedPostUpgradeProfileProperties.mlagReloadDelayTimeoutInSeconds + = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedPostUpgradeProfileProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java new file mode 100644 index 0000000000000..0a13a30c6ccc9 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The pre-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations. + */ +@Fluent +public final class PreUpgradeProfilePatchProperties implements JsonSerializable { + /* + * Maximum wait time in seconds for during the pre-upgrade process for devices in the network fabric to successfully + * move into maintenance mode. + */ + private Integer maxEnteringMaintenanceTimeoutInSeconds; + + /** + * Creates an instance of PreUpgradeProfilePatchProperties class. + */ + public PreUpgradeProfilePatchProperties() { + } + + /** + * Get the maxEnteringMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the pre-upgrade + * process for devices in the network fabric to successfully move into maintenance mode. + * + * @return the maxEnteringMaintenanceTimeoutInSeconds value. + */ + public Integer maxEnteringMaintenanceTimeoutInSeconds() { + return this.maxEnteringMaintenanceTimeoutInSeconds; + } + + /** + * Set the maxEnteringMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the pre-upgrade + * process for devices in the network fabric to successfully move into maintenance mode. + * + * @param maxEnteringMaintenanceTimeoutInSeconds the maxEnteringMaintenanceTimeoutInSeconds value to set. + * @return the PreUpgradeProfilePatchProperties object itself. + */ + public PreUpgradeProfilePatchProperties + withMaxEnteringMaintenanceTimeoutInSeconds(Integer maxEnteringMaintenanceTimeoutInSeconds) { + this.maxEnteringMaintenanceTimeoutInSeconds = maxEnteringMaintenanceTimeoutInSeconds; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("maxEnteringMaintenanceTimeoutInSeconds", + this.maxEnteringMaintenanceTimeoutInSeconds); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PreUpgradeProfilePatchProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PreUpgradeProfilePatchProperties if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the PreUpgradeProfilePatchProperties. + */ + public static PreUpgradeProfilePatchProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PreUpgradeProfilePatchProperties deserializedPreUpgradeProfilePatchProperties + = new PreUpgradeProfilePatchProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("maxEnteringMaintenanceTimeoutInSeconds".equals(fieldName)) { + deserializedPreUpgradeProfilePatchProperties.maxEnteringMaintenanceTimeoutInSeconds + = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedPreUpgradeProfilePatchProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java new file mode 100644 index 0000000000000..10662467bfcf9 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java @@ -0,0 +1,92 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The pre-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations. + */ +@Fluent +public final class PreUpgradeProfileProperties implements JsonSerializable { + /* + * Maximum wait time in seconds for during the pre-upgrade process for devices in the network fabric to successfully + * move into maintenance mode. + */ + private Integer maxEnteringMaintenanceTimeoutInSeconds; + + /** + * Creates an instance of PreUpgradeProfileProperties class. + */ + public PreUpgradeProfileProperties() { + } + + /** + * Get the maxEnteringMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the pre-upgrade + * process for devices in the network fabric to successfully move into maintenance mode. + * + * @return the maxEnteringMaintenanceTimeoutInSeconds value. + */ + public Integer maxEnteringMaintenanceTimeoutInSeconds() { + return this.maxEnteringMaintenanceTimeoutInSeconds; + } + + /** + * Set the maxEnteringMaintenanceTimeoutInSeconds property: Maximum wait time in seconds for during the pre-upgrade + * process for devices in the network fabric to successfully move into maintenance mode. + * + * @param maxEnteringMaintenanceTimeoutInSeconds the maxEnteringMaintenanceTimeoutInSeconds value to set. + * @return the PreUpgradeProfileProperties object itself. + */ + public PreUpgradeProfileProperties + withMaxEnteringMaintenanceTimeoutInSeconds(Integer maxEnteringMaintenanceTimeoutInSeconds) { + this.maxEnteringMaintenanceTimeoutInSeconds = maxEnteringMaintenanceTimeoutInSeconds; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("maxEnteringMaintenanceTimeoutInSeconds", + this.maxEnteringMaintenanceTimeoutInSeconds); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PreUpgradeProfileProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PreUpgradeProfileProperties if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the PreUpgradeProfileProperties. + */ + public static PreUpgradeProfileProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PreUpgradeProfileProperties deserializedPreUpgradeProfileProperties = new PreUpgradeProfileProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("maxEnteringMaintenanceTimeoutInSeconds".equals(fieldName)) { + deserializedPreUpgradeProfileProperties.maxEnteringMaintenanceTimeoutInSeconds + = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + + return deserializedPreUpgradeProfileProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java new file mode 100644 index 0000000000000..99f898d81d254 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java @@ -0,0 +1,157 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Refresh configuration request properties. + */ +@Fluent +public final class RefreshConfigurationRequestProperties + implements JsonSerializable { + /* + * Indicates if base configuration needs to be generated afresh. + */ + private GenerateBaseConfiguration generateBaseConfiguration; + + /* + * Type of configuration regeneration to be performed. + */ + private ConfigurationRegenerationType configurationRegenerationType; + + /* + * The types of devices for which the configuration needs to be refreshed. If not provided, configuration will be + * refreshed for all device types. + */ + private List deviceTypes; + + /** + * Creates an instance of RefreshConfigurationRequestProperties class. + */ + public RefreshConfigurationRequestProperties() { + } + + /** + * Get the generateBaseConfiguration property: Indicates if base configuration needs to be generated afresh. + * + * @return the generateBaseConfiguration value. + */ + public GenerateBaseConfiguration generateBaseConfiguration() { + return this.generateBaseConfiguration; + } + + /** + * Set the generateBaseConfiguration property: Indicates if base configuration needs to be generated afresh. + * + * @param generateBaseConfiguration the generateBaseConfiguration value to set. + * @return the RefreshConfigurationRequestProperties object itself. + */ + public RefreshConfigurationRequestProperties + withGenerateBaseConfiguration(GenerateBaseConfiguration generateBaseConfiguration) { + this.generateBaseConfiguration = generateBaseConfiguration; + return this; + } + + /** + * Get the configurationRegenerationType property: Type of configuration regeneration to be performed. + * + * @return the configurationRegenerationType value. + */ + public ConfigurationRegenerationType configurationRegenerationType() { + return this.configurationRegenerationType; + } + + /** + * Set the configurationRegenerationType property: Type of configuration regeneration to be performed. + * + * @param configurationRegenerationType the configurationRegenerationType value to set. + * @return the RefreshConfigurationRequestProperties object itself. + */ + public RefreshConfigurationRequestProperties + withConfigurationRegenerationType(ConfigurationRegenerationType configurationRegenerationType) { + this.configurationRegenerationType = configurationRegenerationType; + return this; + } + + /** + * Get the deviceTypes property: The types of devices for which the configuration needs to be refreshed. If not + * provided, configuration will be refreshed for all device types. + * + * @return the deviceTypes value. + */ + public List deviceTypes() { + return this.deviceTypes; + } + + /** + * Set the deviceTypes property: The types of devices for which the configuration needs to be refreshed. If not + * provided, configuration will be refreshed for all device types. + * + * @param deviceTypes the deviceTypes value to set. + * @return the RefreshConfigurationRequestProperties object itself. + */ + public RefreshConfigurationRequestProperties withDeviceTypes(List deviceTypes) { + this.deviceTypes = deviceTypes; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("generateBaseConfiguration", + this.generateBaseConfiguration == null ? null : this.generateBaseConfiguration.toString()); + jsonWriter.writeStringField("configurationRegenerationType", + this.configurationRegenerationType == null ? null : this.configurationRegenerationType.toString()); + jsonWriter.writeArrayField("deviceTypes", this.deviceTypes, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RefreshConfigurationRequestProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RefreshConfigurationRequestProperties if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RefreshConfigurationRequestProperties. + */ + public static RefreshConfigurationRequestProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RefreshConfigurationRequestProperties deserializedRefreshConfigurationRequestProperties + = new RefreshConfigurationRequestProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("generateBaseConfiguration".equals(fieldName)) { + deserializedRefreshConfigurationRequestProperties.generateBaseConfiguration + = GenerateBaseConfiguration.fromString(reader.getString()); + } else if ("configurationRegenerationType".equals(fieldName)) { + deserializedRefreshConfigurationRequestProperties.configurationRegenerationType + = ConfigurationRegenerationType.fromString(reader.getString()); + } else if ("deviceTypes".equals(fieldName)) { + List deviceTypes + = reader.readArray(reader1 -> NetworkFabricRefreshDeviceTypes.fromString(reader1.getString())); + deserializedRefreshConfigurationRequestProperties.deviceTypes = deviceTypes; + } else { + reader.skipChildren(); + } + } + + return deserializedRefreshConfigurationRequestProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java index f67ae5805690b..fdaf7442a1563 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java @@ -143,7 +143,7 @@ UpdateAdministrativeStateResponse updateAdministrativeState(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String routePolicyName); + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String routePolicyName); /** * Validates the configuration of the resources. @@ -156,7 +156,7 @@ UpdateAdministrativeStateResponse updateAdministrativeState(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(String resourceGroupName, String routePolicyName, + ValidateConfigurationResponseV2 validateConfiguration(String resourceGroupName, String routePolicyName, Context context); /** diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java index b44bc95dfb57f..c7e8fa01722ea 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java @@ -425,7 +425,7 @@ interface WithStatements { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(); + ValidateConfigurationResponseV2 validateConfiguration(); /** * Validates the configuration of the resources. @@ -436,7 +436,7 @@ interface WithStatements { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of the action validate configuration. */ - ValidateConfigurationResponse validateConfiguration(Context context); + ValidateConfigurationResponseV2 validateConfiguration(Context context); /** * Commits the configuration of the given resources. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java new file mode 100644 index 0000000000000..b03387f9b14b8 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Represents the settings for a secret archive used to hold credentials for the Network Fabric. + */ +@Fluent +public final class SecretArchivePatchSettings implements JsonSerializable { + /* + * The selection of the managed identity to use with this vault URI. The identity type must be either system + * assigned or user assigned. + */ + private IdentitySelectorPatch associatedIdentity; + + /* + * The URI for the key vault used as the secret archive. + */ + private String vaultUri; + + /** + * Creates an instance of SecretArchivePatchSettings class. + */ + public SecretArchivePatchSettings() { + } + + /** + * Get the associatedIdentity property: The selection of the managed identity to use with this vault URI. The + * identity type must be either system assigned or user assigned. + * + * @return the associatedIdentity value. + */ + public IdentitySelectorPatch associatedIdentity() { + return this.associatedIdentity; + } + + /** + * Set the associatedIdentity property: The selection of the managed identity to use with this vault URI. The + * identity type must be either system assigned or user assigned. + * + * @param associatedIdentity the associatedIdentity value to set. + * @return the SecretArchivePatchSettings object itself. + */ + public SecretArchivePatchSettings withAssociatedIdentity(IdentitySelectorPatch associatedIdentity) { + this.associatedIdentity = associatedIdentity; + return this; + } + + /** + * Get the vaultUri property: The URI for the key vault used as the secret archive. + * + * @return the vaultUri value. + */ + public String vaultUri() { + return this.vaultUri; + } + + /** + * Set the vaultUri property: The URI for the key vault used as the secret archive. + * + * @param vaultUri the vaultUri value to set. + * @return the SecretArchivePatchSettings object itself. + */ + public SecretArchivePatchSettings withVaultUri(String vaultUri) { + this.vaultUri = vaultUri; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("associatedIdentity", this.associatedIdentity); + jsonWriter.writeStringField("vaultUri", this.vaultUri); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SecretArchivePatchSettings from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SecretArchivePatchSettings if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the SecretArchivePatchSettings. + */ + public static SecretArchivePatchSettings fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SecretArchivePatchSettings deserializedSecretArchivePatchSettings = new SecretArchivePatchSettings(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("associatedIdentity".equals(fieldName)) { + deserializedSecretArchivePatchSettings.associatedIdentity = IdentitySelectorPatch.fromJson(reader); + } else if ("vaultUri".equals(fieldName)) { + deserializedSecretArchivePatchSettings.vaultUri = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedSecretArchivePatchSettings; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java new file mode 100644 index 0000000000000..9c4f77216a8f7 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Represents the settings for a secret archive used to hold credentials for the Network Fabric. + */ +@Fluent +public final class SecretArchiveSettings implements JsonSerializable { + /* + * The selection of the managed identity to use with this vault URI. The identity type must be either system + * assigned or user assigned. + */ + private IdentitySelector associatedIdentity; + + /* + * The URI for the key vault used as the secret archive. + */ + private String vaultUri; + + /** + * Creates an instance of SecretArchiveSettings class. + */ + public SecretArchiveSettings() { + } + + /** + * Get the associatedIdentity property: The selection of the managed identity to use with this vault URI. The + * identity type must be either system assigned or user assigned. + * + * @return the associatedIdentity value. + */ + public IdentitySelector associatedIdentity() { + return this.associatedIdentity; + } + + /** + * Set the associatedIdentity property: The selection of the managed identity to use with this vault URI. The + * identity type must be either system assigned or user assigned. + * + * @param associatedIdentity the associatedIdentity value to set. + * @return the SecretArchiveSettings object itself. + */ + public SecretArchiveSettings withAssociatedIdentity(IdentitySelector associatedIdentity) { + this.associatedIdentity = associatedIdentity; + return this; + } + + /** + * Get the vaultUri property: The URI for the key vault used as the secret archive. + * + * @return the vaultUri value. + */ + public String vaultUri() { + return this.vaultUri; + } + + /** + * Set the vaultUri property: The URI for the key vault used as the secret archive. + * + * @param vaultUri the vaultUri value to set. + * @return the SecretArchiveSettings object itself. + */ + public SecretArchiveSettings withVaultUri(String vaultUri) { + this.vaultUri = vaultUri; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("associatedIdentity", this.associatedIdentity); + jsonWriter.writeStringField("vaultUri", this.vaultUri); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SecretArchiveSettings from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SecretArchiveSettings if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SecretArchiveSettings. + */ + public static SecretArchiveSettings fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SecretArchiveSettings deserializedSecretArchiveSettings = new SecretArchiveSettings(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("associatedIdentity".equals(fieldName)) { + deserializedSecretArchiveSettings.associatedIdentity = IdentitySelector.fromJson(reader); + } else if ("vaultUri".equals(fieldName)) { + deserializedSecretArchiveSettings.vaultUri = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedSecretArchiveSettings; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java new file mode 100644 index 0000000000000..dcccfcfc9342a --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The upgrade profile to be used by devices in the network fabric during device upgrade operations. + */ +@Fluent +public final class UpgradeProfileProperties implements JsonSerializable { + /* + * The pre-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations + */ + private PreUpgradeProfileProperties preUpgradeProfile; + + /* + * The post-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations + */ + private PostUpgradeProfileProperties postUpgradeProfile; + + /** + * Creates an instance of UpgradeProfileProperties class. + */ + public UpgradeProfileProperties() { + } + + /** + * Get the preUpgradeProfile property: The pre-upgrade configuration parameters to be used by devices in the network + * fabric during device upgrade operations. + * + * @return the preUpgradeProfile value. + */ + public PreUpgradeProfileProperties preUpgradeProfile() { + return this.preUpgradeProfile; + } + + /** + * Set the preUpgradeProfile property: The pre-upgrade configuration parameters to be used by devices in the network + * fabric during device upgrade operations. + * + * @param preUpgradeProfile the preUpgradeProfile value to set. + * @return the UpgradeProfileProperties object itself. + */ + public UpgradeProfileProperties withPreUpgradeProfile(PreUpgradeProfileProperties preUpgradeProfile) { + this.preUpgradeProfile = preUpgradeProfile; + return this; + } + + /** + * Get the postUpgradeProfile property: The post-upgrade configuration parameters to be used by devices in the + * network fabric during device upgrade operations. + * + * @return the postUpgradeProfile value. + */ + public PostUpgradeProfileProperties postUpgradeProfile() { + return this.postUpgradeProfile; + } + + /** + * Set the postUpgradeProfile property: The post-upgrade configuration parameters to be used by devices in the + * network fabric during device upgrade operations. + * + * @param postUpgradeProfile the postUpgradeProfile value to set. + * @return the UpgradeProfileProperties object itself. + */ + public UpgradeProfileProperties withPostUpgradeProfile(PostUpgradeProfileProperties postUpgradeProfile) { + this.postUpgradeProfile = postUpgradeProfile; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("preUpgradeProfile", this.preUpgradeProfile); + jsonWriter.writeJsonField("postUpgradeProfile", this.postUpgradeProfile); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of UpgradeProfileProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of UpgradeProfileProperties if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the UpgradeProfileProperties. + */ + public static UpgradeProfileProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + UpgradeProfileProperties deserializedUpgradeProfileProperties = new UpgradeProfileProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("preUpgradeProfile".equals(fieldName)) { + deserializedUpgradeProfileProperties.preUpgradeProfile + = PreUpgradeProfileProperties.fromJson(reader); + } else if ("postUpgradeProfile".equals(fieldName)) { + deserializedUpgradeProfileProperties.postUpgradeProfile + = PostUpgradeProfileProperties.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedUpgradeProfileProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java new file mode 100644 index 0000000000000..f337848dee1af --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The upgrade profile patch parameters that can be patched which are used by devices in the network fabric during + * device upgrade operations. + */ +@Fluent +public final class UpgradeProfilePropertiesPatchProperties + implements JsonSerializable { + /* + * The pre-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations + */ + private PreUpgradeProfilePatchProperties preUpgradeProfile; + + /* + * The post-upgrade configuration parameters to be used by devices in the network fabric during device upgrade + * operations + */ + private PostUpgradeProfilePatchProperties postUpgradeProfile; + + /** + * Creates an instance of UpgradeProfilePropertiesPatchProperties class. + */ + public UpgradeProfilePropertiesPatchProperties() { + } + + /** + * Get the preUpgradeProfile property: The pre-upgrade configuration parameters to be used by devices in the network + * fabric during device upgrade operations. + * + * @return the preUpgradeProfile value. + */ + public PreUpgradeProfilePatchProperties preUpgradeProfile() { + return this.preUpgradeProfile; + } + + /** + * Set the preUpgradeProfile property: The pre-upgrade configuration parameters to be used by devices in the network + * fabric during device upgrade operations. + * + * @param preUpgradeProfile the preUpgradeProfile value to set. + * @return the UpgradeProfilePropertiesPatchProperties object itself. + */ + public UpgradeProfilePropertiesPatchProperties + withPreUpgradeProfile(PreUpgradeProfilePatchProperties preUpgradeProfile) { + this.preUpgradeProfile = preUpgradeProfile; + return this; + } + + /** + * Get the postUpgradeProfile property: The post-upgrade configuration parameters to be used by devices in the + * network fabric during device upgrade operations. + * + * @return the postUpgradeProfile value. + */ + public PostUpgradeProfilePatchProperties postUpgradeProfile() { + return this.postUpgradeProfile; + } + + /** + * Set the postUpgradeProfile property: The post-upgrade configuration parameters to be used by devices in the + * network fabric during device upgrade operations. + * + * @param postUpgradeProfile the postUpgradeProfile value to set. + * @return the UpgradeProfilePropertiesPatchProperties object itself. + */ + public UpgradeProfilePropertiesPatchProperties + withPostUpgradeProfile(PostUpgradeProfilePatchProperties postUpgradeProfile) { + this.postUpgradeProfile = postUpgradeProfile; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("preUpgradeProfile", this.preUpgradeProfile); + jsonWriter.writeJsonField("postUpgradeProfile", this.postUpgradeProfile); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of UpgradeProfilePropertiesPatchProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of UpgradeProfilePropertiesPatchProperties if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the UpgradeProfilePropertiesPatchProperties. + */ + public static UpgradeProfilePropertiesPatchProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + UpgradeProfilePropertiesPatchProperties deserializedUpgradeProfilePropertiesPatchProperties + = new UpgradeProfilePropertiesPatchProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("preUpgradeProfile".equals(fieldName)) { + deserializedUpgradeProfilePropertiesPatchProperties.preUpgradeProfile + = PreUpgradeProfilePatchProperties.fromJson(reader); + } else if ("postUpgradeProfile".equals(fieldName)) { + deserializedUpgradeProfilePropertiesPatchProperties.postUpgradeProfile + = PostUpgradeProfilePatchProperties.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedUpgradeProfilePropertiesPatchProperties; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponse.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponse.java deleted file mode 100644 index fadc479db10ad..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponse.java +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.models; - -import com.azure.core.management.exception.ManagementError; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner; - -/** - * An immutable client-side representation of ValidateConfigurationResponse. - */ -public interface ValidateConfigurationResponse { - /** - * Gets the error property: The error object. - * - * @return the error value. - */ - ManagementError error(); - - /** - * Gets the configurationState property: Gets the configuration state. - * - * @return the configurationState value. - */ - ConfigurationState configurationState(); - - /** - * Gets the url property: URL for the details of the response. - * - * @return the url value. - */ - String url(); - - /** - * Gets the inner com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner - * object. - * - * @return the inner object. - */ - ValidateConfigurationResponseInner innerModel(); -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseInner.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseProperties.java similarity index 50% rename from sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseInner.java rename to sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseProperties.java index e6633b3f98080..ac4ada4e011ec 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseInner.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseProperties.java @@ -2,22 +2,21 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.managednetworkfabric.fluent.models; +package com.azure.resourcemanager.managednetworkfabric.models; import com.azure.core.annotation.Immutable; -import com.azure.core.management.exception.ManagementError; import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.managednetworkfabric.models.CommonErrorResponse; -import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState; import java.io.IOException; /** * The response of the action validate configuration. */ @Immutable -public final class ValidateConfigurationResponseInner extends CommonErrorResponse { +public final class ValidateConfigurationResponseProperties + implements JsonSerializable { /* * Gets the configuration state. */ @@ -28,15 +27,10 @@ public final class ValidateConfigurationResponseInner extends CommonErrorRespons */ private String url; - /* - * The error object. - */ - private ManagementError error; - /** - * Creates an instance of ValidateConfigurationResponseInner class. + * Creates an instance of ValidateConfigurationResponseProperties class. */ - private ValidateConfigurationResponseInner() { + private ValidateConfigurationResponseProperties() { } /** @@ -57,56 +51,43 @@ public String url() { return this.url; } - /** - * Get the error property: The error object. - * - * @return the error value. - */ - @Override - public ManagementError error() { - return this.error; - } - /** * {@inheritDoc} */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("error", error()); jsonWriter.writeStringField("url", this.url); return jsonWriter.writeEndObject(); } /** - * Reads an instance of ValidateConfigurationResponseInner from the JsonReader. + * Reads an instance of ValidateConfigurationResponseProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ValidateConfigurationResponseInner if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the ValidateConfigurationResponseInner. + * @return An instance of ValidateConfigurationResponseProperties if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the ValidateConfigurationResponseProperties. */ - public static ValidateConfigurationResponseInner fromJson(JsonReader jsonReader) throws IOException { + public static ValidateConfigurationResponseProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ValidateConfigurationResponseInner deserializedValidateConfigurationResponseInner - = new ValidateConfigurationResponseInner(); + ValidateConfigurationResponseProperties deserializedValidateConfigurationResponseProperties + = new ValidateConfigurationResponseProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("error".equals(fieldName)) { - deserializedValidateConfigurationResponseInner.error = ManagementError.fromJson(reader); - } else if ("configurationState".equals(fieldName)) { - deserializedValidateConfigurationResponseInner.configurationState + if ("configurationState".equals(fieldName)) { + deserializedValidateConfigurationResponseProperties.configurationState = ConfigurationState.fromString(reader.getString()); } else if ("url".equals(fieldName)) { - deserializedValidateConfigurationResponseInner.url = reader.getString(); + deserializedValidateConfigurationResponseProperties.url = reader.getString(); } else { reader.skipChildren(); } } - return deserializedValidateConfigurationResponseInner; + return deserializedValidateConfigurationResponseProperties; }); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java new file mode 100644 index 0000000000000..16ff06a8466c4 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.management.exception.ManagementError; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner; +import java.time.OffsetDateTime; +import java.util.List; + +/** + * An immutable client-side representation of ValidateConfigurationResponseV2. + */ +public interface ValidateConfigurationResponseV2 { + /** + * Gets the id property: Fully qualified ID for the async operation. + * + * @return the id value. + */ + String id(); + + /** + * Gets the name property: Name of the async operation. + * + * @return the name value. + */ + String name(); + + /** + * Gets the status property: Operation status. + * + * @return the status value. + */ + String status(); + + /** + * Gets the percentComplete property: Percent of the operation that is complete. + * + * @return the percentComplete value. + */ + Double percentComplete(); + + /** + * Gets the startTime property: The start time of the operation. + * + * @return the startTime value. + */ + OffsetDateTime startTime(); + + /** + * Gets the endTime property: The end time of the operation. + * + * @return the endTime value. + */ + OffsetDateTime endTime(); + + /** + * Gets the operations property: The operations list. + * + * @return the operations value. + */ + List operations(); + + /** + * Gets the error property: If present, details of the operation error. + * + * @return the error value. + */ + ManagementError error(); + + /** + * Gets the resourceId property: Fully qualified ID of the resource against which the original async operation was + * started. + * + * @return the resourceId value. + */ + String resourceId(); + + /** + * Gets the properties property: Network Device Run Rw Command Response properties. + * + * @return the properties value. + */ + ValidateConfigurationResponseProperties properties(); + + /** + * Gets the inner com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner + * object. + * + * @return the inner object. + */ + ValidateConfigurationResponseV2Inner innerModel(); +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java new file mode 100644 index 0000000000000..5ae875462fcfc --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java @@ -0,0 +1,86 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The VM profile configuration for the NFC's associated compute (VM) resources. + */ +@Fluent +public final class VmProfile implements JsonSerializable { + /* + * The SKU that will be used for creating the VMS for AKS cluster. + */ + private String vmSkuName; + + /** + * Creates an instance of VmProfile class. + */ + public VmProfile() { + } + + /** + * Get the vmSkuName property: The SKU that will be used for creating the VMS for AKS cluster. + * + * @return the vmSkuName value. + */ + public String vmSkuName() { + return this.vmSkuName; + } + + /** + * Set the vmSkuName property: The SKU that will be used for creating the VMS for AKS cluster. + * + * @param vmSkuName the vmSkuName value to set. + * @return the VmProfile object itself. + */ + public VmProfile withVmSkuName(String vmSkuName) { + this.vmSkuName = vmSkuName; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("vmSkuName", this.vmSkuName); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of VmProfile from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of VmProfile if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the VmProfile. + */ + public static VmProfile fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + VmProfile deserializedVmProfile = new VmProfile(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("vmSkuName".equals(fieldName)) { + deserializedVmProfile.vmSkuName = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedVmProfile; + }); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json index 58a5b8ef3bbeb..fd674a04f312e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.ManagedNetworkFabric":"2025-07-15"},"crossLanguagePackageId":"Microsoft.ManagedNetworkFabric","crossLanguageVersion":"22e794501a2a","crossLanguageDefinitions":{"com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient":"Microsoft.ManagedNetworkFabric.AccessControlLists","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginCreate":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginDelete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginResync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.create":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.delete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.list":"Microsoft.ManagedNetworkFabric.AccessControlLists.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.resync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.update":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient":"Microsoft.ManagedNetworkFabric.ExternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.ExternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient":"Microsoft.ManagedNetworkFabric.InternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.InternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient":"Microsoft.ManagedNetworkFabric.InternetGatewayRules","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.create":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.delete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.list":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.update":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient":"Microsoft.ManagedNetworkFabric.InternetGateways","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.create":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.delete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.list":"Microsoft.ManagedNetworkFabric.InternetGateways.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.update":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient":"Microsoft.ManagedNetworkFabric.IpPrefixes","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.create":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.delete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.list":"Microsoft.ManagedNetworkFabric.IpPrefixes.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.update":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L2IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L3IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient":"Microsoft.ManagedNetworkFabric.NeighborGroups","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginResync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.create":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.delete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.list":"Microsoft.ManagedNetworkFabric.NeighborGroups.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.resync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.update":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.listByNetworkBootstrapDevice":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.listByNetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient":"Microsoft.ManagedNetworkFabric.NetworkFabrics","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.armConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginArmConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDeprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDiscardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginGetTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginLockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginProvision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginViewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.deprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.discardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.lockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.provision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.viewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.listByNetworkDevice":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.listByNetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient":"Microsoft.ManagedNetworkFabric.NetworkMonitors","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.create":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.list":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.update":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.create":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.list":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.update":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient":"Microsoft.ManagedNetworkFabric.NetworkRacks","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.create":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.delete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.list":"Microsoft.ManagedNetworkFabric.NetworkRacks.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.update":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient":"Microsoft.ManagedNetworkFabric.NetworkTapRules","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.create":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.list":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.update":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient":"Microsoft.ManagedNetworkFabric.NetworkTaps","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.create":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.list":"Microsoft.ManagedNetworkFabric.NetworkTaps.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.update":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.create":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.get":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.listByNetworkFabric":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.listByNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.update":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient":"Microsoft.ManagedNetworkFabric.Operations","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient":"Microsoft.ManagedNetworkFabric.RoutePolicies","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCreate":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginDelete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.create":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.delete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.list":"Microsoft.ManagedNetworkFabric.RoutePolicies.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.update":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListInner":"Microsoft.ManagedNetworkFabric.AccessControlList","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListPatchProperties":"Microsoft.ManagedNetworkFabric.AccessControlListPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListProperties":"Microsoft.ManagedNetworkFabric.AccessControlListProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ArmConfigurationDiffOperationResponseInner":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitBatchStatusOperationResponseInner":"Microsoft.ManagedNetworkFabric.CommitBatchStatusOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.CommitConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommandsOperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForStateUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.DiscardCommitBatchOperationResponseInner":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkInner":"Microsoft.ManagedNetworkFabric.ExternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.GetTopologyResponseInner":"Microsoft.ManagedNetworkFabric.GetTopologyResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkInner":"Microsoft.ManagedNetworkFabric.InternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBgpAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayInner":"Microsoft.ManagedNetworkFabric.InternetGateway","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayPatchProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleInner":"Microsoft.ManagedNetworkFabric.InternetGatewayRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityInner":"Microsoft.ManagedNetworkFabric.IpCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityPatchableProperties":"Microsoft.ManagedNetworkFabric.IpCommunityPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityProperties":"Microsoft.ManagedNetworkFabric.IpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityInner":"Microsoft.ManagedNetworkFabric.IpExtendedCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixInner":"Microsoft.ManagedNetworkFabric.IpPrefix","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixProperties":"Microsoft.ManagedNetworkFabric.IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L2IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupInner":"Microsoft.ManagedNetworkFabric.NeighborGroup","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupPatchProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupResyncResponseInner":"Microsoft.ManagedNetworkFabric.NeighborGroupResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDevicePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRebootResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRebootResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDevicePatchParametersProperties":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParametersProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRunRwCommandResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRunRwCommandResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerInner":"Microsoft.ManagedNetworkFabric.NetworkFabricController","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricInner":"Microsoft.ManagedNetworkFabric.NetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotateCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotateCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotatePasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuInner":"Microsoft.ManagedNetworkFabric.NetworkFabricSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorInner":"Microsoft.ManagedNetworkFabric.NetworkMonitor","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerInner":"Microsoft.ManagedNetworkFabric.NetworkPacketBroker","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackInner":"Microsoft.ManagedNetworkFabric.NetworkRack","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackProperties":"Microsoft.ManagedNetworkFabric.NetworkRackProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapInner":"Microsoft.ManagedNetworkFabric.NetworkTap","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapProperties":"Microsoft.ManagedNetworkFabric.NetworkTapProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner":"Microsoft.ManagedNetworkFabric.NetworkTapRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRulePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapRuleResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectInner":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnect","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NniUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner":"Microsoft.ManagedNetworkFabric.RoutePolicy","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyPatchableProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationOperationResponse","com.azure.resourcemanager.managednetworkfabric.implementation.ManagedNetworkFabricManagementClientBuilder":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.implementation.models.AccessControlListsListResult":"AccessControlListsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.ExternalNetworksList":"ExternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternalNetworksList":"InternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewayRulesListResult":"InternetGatewayRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewaysListResult":"InternetGatewaysListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpCommunitiesListResult":"IpCommunitiesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpExtendedCommunityListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpPrefixesListResult":"IpPrefixesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L2IsolationDomainsListResult":"L2IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L3IsolationDomainsListResult":"L3IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NeighborGroupsListResult":"NeighborGroupsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapInterfaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDeviceSkusListResult":"NetworkDeviceSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDevicesListResult":"NetworkDevicesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricControllersListResult":"NetworkFabricControllersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricSkusListResult":"NetworkFabricSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricsListResult":"NetworkFabricsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkInterfacesList":"NetworkInterfacesList","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkMonitorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkPacketBrokersListResult":"NetworkPacketBrokersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkRacksListResult":"NetworkRacksListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapRulesListResult":"NetworkTapRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapsListResult":"NetworkTapsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkToNetworkInterconnectsList":"NetworkToNetworkInterconnectsList","com.azure.resourcemanager.managednetworkfabric.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.RoutePoliciesListResult":"RoutePoliciesListResult","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListAction":"Microsoft.ManagedNetworkFabric.AccessControlListAction","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListActionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListActionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchCondition":"Microsoft.ManagedNetworkFabric.AccessControlListMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortCondition":"Microsoft.ManagedNetworkFabric.AccessControlListPortCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AclActionType":"Microsoft.ManagedNetworkFabric.AclActionType","com.azure.resourcemanager.managednetworkfabric.models.AclType":"Microsoft.ManagedNetworkFabric.AclType","com.azure.resourcemanager.managednetworkfabric.models.Action":"Microsoft.ManagedNetworkFabric.Action","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.managednetworkfabric.models.AddressFamilyType":"Microsoft.ManagedNetworkFabric.AddressFamilyType","com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState":"Microsoft.ManagedNetworkFabric.AdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoute":"Microsoft.ManagedNetworkFabric.AggregateRoute","com.azure.resourcemanager.managednetworkfabric.models.AggregateRouteConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AllowASOverride":"Microsoft.ManagedNetworkFabric.AllowASOverride","com.azure.resourcemanager.managednetworkfabric.models.AnnotationResource":"Microsoft.ManagedNetworkFabric.AnnotationResource","com.azure.resourcemanager.managednetworkfabric.models.ArmConfigurationDiffResponseProperties":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverPatchProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverProperties","com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState":"Microsoft.ManagedNetworkFabric.BfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration":"Microsoft.ManagedNetworkFabric.BfdConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration":"Microsoft.ManagedNetworkFabric.BfdPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpAdministrativeState":"Microsoft.ManagedNetworkFabric.BgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BgpConfiguration":"Microsoft.ManagedNetworkFabric.BgpConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpPatchConfiguration":"Microsoft.ManagedNetworkFabric.BgpPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BitRate":"Microsoft.ManagedNetworkFabric.BitRate","com.azure.resourcemanager.managednetworkfabric.models.BitRateUnit":"Microsoft.ManagedNetworkFabric.BitRateUnit","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState":"Microsoft.ManagedNetworkFabric.BmpConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy":"Microsoft.ManagedNetworkFabric.BmpExportPolicy","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyPatchProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpMonitoredAddressFamily":"Microsoft.ManagedNetworkFabric.BmpMonitoredAddressFamily","com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty":"Microsoft.ManagedNetworkFabric.BooleanEnumProperty","com.azure.resourcemanager.managednetworkfabric.models.BurstSize":"Microsoft.ManagedNetworkFabric.BurstSize","com.azure.resourcemanager.managednetworkfabric.models.BurstSizeUnit":"Microsoft.ManagedNetworkFabric.BurstSizeUnit","com.azure.resourcemanager.managednetworkfabric.models.CertificateArchiveReference":"Microsoft.ManagedNetworkFabric.CertificateArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.CertificateRotationStatus":"Microsoft.ManagedNetworkFabric.CertificateRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchDetails":"Microsoft.ManagedNetworkFabric.CommitBatchDetails","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchState":"Microsoft.ManagedNetworkFabric.CommitBatchState","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest":"Microsoft.ManagedNetworkFabric.CommitBatchStatusRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusResponseProperties":"Microsoft.ManagedNetworkFabric.CommitBatchStatusResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationPolicy":"Microsoft.ManagedNetworkFabric.CommitConfigurationPolicy","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationRequest":"Microsoft.ManagedNetworkFabric.CommitConfigurationRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitStage":"Microsoft.ManagedNetworkFabric.CommitStage","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonErrorResponse":"Microsoft.ManagedNetworkFabric.CommonErrorResponse","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditions":"Microsoft.ManagedNetworkFabric.CommonMatchConditions","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditionsPatch":"Microsoft.ManagedNetworkFabric.CommonMatchConditionsPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForDeviceROCommands":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommands","com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes":"Microsoft.ManagedNetworkFabric.CommunityActionTypes","com.azure.resourcemanager.managednetworkfabric.models.Condition":"Microsoft.ManagedNetworkFabric.Condition","com.azure.resourcemanager.managednetworkfabric.models.ConditionalDefaultRouteProperties":"Microsoft.ManagedNetworkFabric.ConditionalDefaultRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState":"Microsoft.ManagedNetworkFabric.ConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType":"Microsoft.ManagedNetworkFabric.ConfigurationType","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnet":"Microsoft.ManagedNetworkFabric.ConnectedSubnet","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicy":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlanAclIpMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlanAclIpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclAction":"Microsoft.ManagedNetworkFabric.ControlPlaneAclAction","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclIpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclIpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControllerServices":"Microsoft.ManagedNetworkFabric.ControllerServices","com.azure.resourcemanager.managednetworkfabric.models.DestinationPatchProperties":"Microsoft.ManagedNetworkFabric.DestinationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationProperties":"Microsoft.ManagedNetworkFabric.DestinationProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationType":"Microsoft.ManagedNetworkFabric.DestinationType","com.azure.resourcemanager.managednetworkfabric.models.DeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.DeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.DeviceInterfaceProperties":"Microsoft.ManagedNetworkFabric.DeviceInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.models.DeviceRoCommand":"Microsoft.ManagedNetworkFabric.DeviceRoCommand","com.azure.resourcemanager.managednetworkfabric.models.DeviceRole":"Microsoft.ManagedNetworkFabric.DeviceRole","com.azure.resourcemanager.managednetworkfabric.models.DeviceRwCommand":"Microsoft.ManagedNetworkFabric.DeviceRwCommand","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchRequest","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchResponseProperties":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableOnResources":"Microsoft.ManagedNetworkFabric.EnableDisableOnResources","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState":"Microsoft.ManagedNetworkFabric.EnableDisableState","com.azure.resourcemanager.managednetworkfabric.models.Encapsulation":"Microsoft.ManagedNetworkFabric.Encapsulation","com.azure.resourcemanager.managednetworkfabric.models.EncapsulationType":"Microsoft.ManagedNetworkFabric.EncapsulationType","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation":"Microsoft.ManagedNetworkFabric.ExpressRouteConnectionInformation","com.azure.resourcemanager.managednetworkfabric.models.ExtendedVlan":"Microsoft.ManagedNetworkFabric.ExtendedVlan","com.azure.resourcemanager.managednetworkfabric.models.Extension":"Microsoft.ManagedNetworkFabric.Extension","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatch":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatchPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.ExternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricLockProperties":"Microsoft.ManagedNetworkFabric.FabricLockProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricSkuType":"Microsoft.ManagedNetworkFabric.FabricSkuType","com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties":"Microsoft.ManagedNetworkFabric.FeatureFlagProperties","com.azure.resourcemanager.managednetworkfabric.models.GatewayType":"Microsoft.ManagedNetworkFabric.GatewayType","com.azure.resourcemanager.managednetworkfabric.models.GetTopologyResponseProperties":"Microsoft.ManagedNetworkFabric.GetTopologyResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionProperties","com.azure.resourcemanager.managednetworkfabric.models.HeaderAddressProperties":"Microsoft.ManagedNetworkFabric.HeaderAddressProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector":"Microsoft.ManagedNetworkFabric.IdentitySelector","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch":"Microsoft.ManagedNetworkFabric.IdentitySelectorPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy":"Microsoft.ManagedNetworkFabric.ImportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.InterfaceType":"Microsoft.ManagedNetworkFabric.InterfaceType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPatch":"Microsoft.ManagedNetworkFabric.InternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.InternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayPatch":"Microsoft.ManagedNetworkFabric.InternetGatewayPatch","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayRulePatch":"Microsoft.ManagedNetworkFabric.InternetGatewayRulePatch","com.azure.resourcemanager.managednetworkfabric.models.IpAddressType":"Microsoft.ManagedNetworkFabric.IPAddressType","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityIdList":"Microsoft.ManagedNetworkFabric.IpCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityPatch":"Microsoft.ManagedNetworkFabric.IpCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityRule":"Microsoft.ManagedNetworkFabric.IpCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityIdList":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityPatch":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityRule":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpGroupPatchProperties":"Microsoft.ManagedNetworkFabric.IpGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties":"Microsoft.ManagedNetworkFabric.IpGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition":"Microsoft.ManagedNetworkFabric.IpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.IpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.IpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixPatch":"Microsoft.ManagedNetworkFabric.IpPrefixPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixRule":"Microsoft.ManagedNetworkFabric.IpPrefixRule","com.azure.resourcemanager.managednetworkfabric.models.IsManagementType":"Microsoft.ManagedNetworkFabric.IsManagementType","com.azure.resourcemanager.managednetworkfabric.models.IsMonitoringEnabled":"Microsoft.ManagedNetworkFabric.IsMonitoringEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsWorkloadManagementNetworkEnabled":"Microsoft.ManagedNetworkFabric.IsWorkloadManagementNetworkEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBPatchProperties":"Microsoft.ManagedNetworkFabric.L3OptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBProperties":"Microsoft.ManagedNetworkFabric.L3OptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.L3UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.L3UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties":"Microsoft.ManagedNetworkFabric.LastOperationProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer2Configuration":"Microsoft.ManagedNetworkFabric.Layer2Configuration","com.azure.resourcemanager.managednetworkfabric.models.Layer2ConfigurationPatch":"Microsoft.ManagedNetworkFabric.Layer2ConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol":"Microsoft.ManagedNetworkFabric.Layer4Protocol","com.azure.resourcemanager.managednetworkfabric.models.LockConfigurationState":"Microsoft.ManagedNetworkFabric.LockConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration":"Microsoft.ManagedNetworkFabric.ManagedResourceGroupConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentityPatch","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentitySelectorType","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties":"Microsoft.ManagedNetworkFabric.ManagementNetworkConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPatchConfiguration":"Microsoft.ManagedNetworkFabric.ManagementNetworkPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.MicroBfdState":"Microsoft.ManagedNetworkFabric.MicroBfdState","com.azure.resourcemanager.managednetworkfabric.models.NNIDerivedUniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.NNIDerivedUniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddress":"Microsoft.ManagedNetworkFabric.NeighborAddress","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBfdAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBfdAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBgpAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBgpAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressPatch":"Microsoft.ManagedNetworkFabric.NeighborAddressPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination":"Microsoft.ManagedNetworkFabric.NeighborGroupDestination","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestinationPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupDestinationPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevicePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkDevicePatchParameters":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParameters","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRole":"Microsoft.ManagedNetworkFabric.NetworkDeviceRole","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRoleName":"Microsoft.ManagedNetworkFabric.NetworkDeviceRoleName","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRwCommandResponseProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceRwCommandResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgradeRequest":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllerPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockAction":"Microsoft.ManagedNetworkFabric.NetworkFabricLockAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest":"Microsoft.ManagedNetworkFabric.NetworkFabricLockRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockType":"Microsoft.ManagedNetworkFabric.NetworkFabricLockType","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricUpgradeAction":"Microsoft.ManagedNetworkFabric.NetworkFabricUpgradeAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitorPatch":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatch":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackPatch":"Microsoft.ManagedNetworkFabric.NetworkRackPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackType":"Microsoft.ManagedNetworkFabric.NetworkRackType","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapPatch":"Microsoft.ManagedNetworkFabric.NetworkTapPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleAction":"Microsoft.ManagedNetworkFabric.NetworkTapRuleAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleActionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleActionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchCondition":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConditionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRulePatch":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkToNetworkInterconnectPatch":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatch","com.azure.resourcemanager.managednetworkfabric.models.NfcSku":"Microsoft.ManagedNetworkFabric.NfcSku","com.azure.resourcemanager.managednetworkfabric.models.NniBmpPatchProperties":"Microsoft.ManagedNetworkFabric.NniBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NniBmpProperties":"Microsoft.ManagedNetworkFabric.NniBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniType":"Microsoft.ManagedNetworkFabric.NniType","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfigurationPatch":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3Configuration":"Microsoft.ManagedNetworkFabric.OptionBLayer3Configuration","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3ConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3ConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.managednetworkfabric.models.PeeringOption":"Microsoft.ManagedNetworkFabric.PeeringOption","com.azure.resourcemanager.managednetworkfabric.models.PoliceRateConfigurationProperties":"Microsoft.ManagedNetworkFabric.PoliceRateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.PollingType":"Microsoft.ManagedNetworkFabric.PollingType","com.azure.resourcemanager.managednetworkfabric.models.PortCondition":"Microsoft.ManagedNetworkFabric.PortCondition","com.azure.resourcemanager.managednetworkfabric.models.PortConditionPatch":"Microsoft.ManagedNetworkFabric.PortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.PortGroupPatchProperties":"Microsoft.ManagedNetworkFabric.PortGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties":"Microsoft.ManagedNetworkFabric.PortGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.PortType":"Microsoft.ManagedNetworkFabric.PortType","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixType":"Microsoft.ManagedNetworkFabric.PrefixType","com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState":"Microsoft.ManagedNetworkFabric.ProvisioningState","com.azure.resourcemanager.managednetworkfabric.models.ProxyResourceBase":"Microsoft.ManagedNetworkFabric.ProxyResourceBase","com.azure.resourcemanager.managednetworkfabric.models.QosConfigurationState":"Microsoft.ManagedNetworkFabric.QosConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties":"Microsoft.ManagedNetworkFabric.QosPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.QosProperties":"Microsoft.ManagedNetworkFabric.QosProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootProperties":"Microsoft.ManagedNetworkFabric.RebootProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootType":"Microsoft.ManagedNetworkFabric.RebootType","com.azure.resourcemanager.managednetworkfabric.models.RedistributeConnectedSubnets":"Microsoft.ManagedNetworkFabric.RedistributeConnectedSubnets","com.azure.resourcemanager.managednetworkfabric.models.RedistributeStaticRoutes":"Microsoft.ManagedNetworkFabric.RedistributeStaticRoutes","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyActionType":"Microsoft.ManagedNetworkFabric.RoutePolicyActionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyConditionType":"Microsoft.ManagedNetworkFabric.RoutePolicyConditionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyPatch":"Microsoft.ManagedNetworkFabric.RoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation":"Microsoft.ManagedNetworkFabric.RouteTargetInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetPatchInformation":"Microsoft.ManagedNetworkFabric.RouteTargetPatchInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteType":"Microsoft.ManagedNetworkFabric.RouteType","com.azure.resourcemanager.managednetworkfabric.models.RuleCondition":"Microsoft.ManagedNetworkFabric.RuleCondition","com.azure.resourcemanager.managednetworkfabric.models.RuleProperties":"Microsoft.ManagedNetworkFabric.RuleProperties","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveReference":"Microsoft.ManagedNetworkFabric.SecretArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus":"Microsoft.ManagedNetworkFabric.SecretRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary":"Microsoft.ManagedNetworkFabric.SecretRotationSummary","com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType":"Microsoft.ManagedNetworkFabric.SourceDestinationType","com.azure.resourcemanager.managednetworkfabric.models.StatementActionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementActionProperties":"Microsoft.ManagedNetworkFabric.StatementActionProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementConditionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionProperties":"Microsoft.ManagedNetworkFabric.StatementConditionProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.StaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.StaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties":"Microsoft.ManagedNetworkFabric.StaticRoutePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties":"Microsoft.ManagedNetworkFabric.StaticRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicy":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.StationConfigurationState":"Microsoft.ManagedNetworkFabric.StationConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionMode":"Microsoft.ManagedNetworkFabric.StationConnectionMode","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionPatchProperties":"Microsoft.ManagedNetworkFabric.StationConnectionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionProperties":"Microsoft.ManagedNetworkFabric.StationConnectionProperties","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.SupportedConnectorProperties":"Microsoft.ManagedNetworkFabric.SupportedConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.SupportedVersionProperties":"Microsoft.ManagedNetworkFabric.SupportedVersionProperties","com.azure.resourcemanager.managednetworkfabric.models.SynchronizationStatus":"Microsoft.ManagedNetworkFabric.SynchronizationStatus","com.azure.resourcemanager.managednetworkfabric.models.TagsUpdate":"Microsoft.ManagedNetworkFabric.TagsUpdate","com.azure.resourcemanager.managednetworkfabric.models.TapRuleActionType":"Microsoft.ManagedNetworkFabric.TapRuleActionType","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerConfiguration","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerPatchConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherPatchProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateDeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion":"Microsoft.ManagedNetworkFabric.UpdateVersion","com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties":"Microsoft.ManagedNetworkFabric.UpgradeNetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity","com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState":"Microsoft.ManagedNetworkFabric.V4OverV6BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState":"Microsoft.ManagedNetworkFabric.V6OverV4BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.ValidateAction":"Microsoft.ManagedNetworkFabric.ValidateAction","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ViewDeviceConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupPatchProperties":"Microsoft.ManagedNetworkFabric.VlanGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties":"Microsoft.ManagedNetworkFabric.VlanGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition":"Microsoft.ManagedNetworkFabric.VlanMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchConditionPatch":"Microsoft.ManagedNetworkFabric.VlanMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.WellKnownCommunities":"Microsoft.ManagedNetworkFabric.WellKnownCommunities"},"generatedFiles":["src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NeighborGroupsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDeviceSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricControllersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkMonitorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkPacketBrokersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkRacksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkToNetworkInterconnectsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ArmConfigurationDiffOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitBatchStatusOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForStateUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/DiscardCommitBatchOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/GetTopologyResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBgpAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRebootResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDevicePatchParametersProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRunRwCommandResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotateCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotatePasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRulePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NniUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/UpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ViewDeviceConfigurationOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ArmConfigurationDiffOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitBatchStatusOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceROCommandsOperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForStateUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/DiscardCommitBatchOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/GetTopologyResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBgpAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRebootResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRunRwCommandResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotateCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotatePasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRackImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NniUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/UpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ViewDeviceConfigurationOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/AccessControlListsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/ExternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewayRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewaysListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpCommunitiesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpExtendedCommunityListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpPrefixesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L2IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L3IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NeighborGroupsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapDeviceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapInterfaceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDeviceSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDevicesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricControllersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkInterfacesList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkMonitorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkPacketBrokersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkRacksListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkToNetworkInterconnectsList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/RoutePoliciesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Action.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AddressFamilyType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoute.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AllowASOverride.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AnnotationResource.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRateUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpMonitoredAddressFamily.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BooleanEnumProperty.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSize.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSizeUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchDetails.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitStage.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonErrorResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditions.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditionsPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommands.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForStateUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommunityActionTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Condition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConditionalDefaultRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnet.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlanAclIpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclIpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRoCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRwCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableOnResources.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Encapsulation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EncapsulationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExpressRouteConnectionInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExtendedVlan.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Extension.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatchPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricLockProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricSkuType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FeatureFlagProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GatewayType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/HeaderAddressProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InterfaceType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateway.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateways.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpAddressType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefix.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsManagementType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsMonitoringEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsWorkloadManagementNetworkEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LastOperationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2ConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer4Protocol.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LockConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedResourceGroupConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentitySelectorType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/MicroBfdState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NNIDerivedUniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddress.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBfdAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBgpAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestination.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestinationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroups.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRebootResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevicePatchParameters.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRoleName.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRunRwCommandResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRwCommandResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotateCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotatePasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricUpgradeAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitor.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRack.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRacks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTap.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTaps.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnect.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnectPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnects.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NfcSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operations.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3ConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Origin.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PeeringOption.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PoliceRateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PollingType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProxyResourceBase.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeConnectedSubnets.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeStaticRoutes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyConditionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetPatchInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationSummary.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SourceDestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedVersionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SynchronizationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TagsUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TapRuleActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateDeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateVersion.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeNetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V4OverV6BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V6OverV4BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/WellKnownCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.ManagedNetworkFabric":"2026-01-15-preview"},"crossLanguagePackageId":"Microsoft.ManagedNetworkFabric","crossLanguageVersion":"fad35e4aac68","crossLanguageDefinitions":{"com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient":"Microsoft.ManagedNetworkFabric.AccessControlLists","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginCreate":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginDelete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginResync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.create":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.delete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.list":"Microsoft.ManagedNetworkFabric.AccessControlLists.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.resync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.update":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient":"Microsoft.ManagedNetworkFabric.EdgeConnectors","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.EdgeConnectors.create","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.EdgeConnectors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.EdgeConnectors.update","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.create":"Microsoft.ManagedNetworkFabric.EdgeConnectors.create","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.delete":"Microsoft.ManagedNetworkFabric.EdgeConnectors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.EdgeConnectors.get","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.EdgeConnectors.get","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.list":"Microsoft.ManagedNetworkFabric.EdgeConnectors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.EdgeConnectors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.update":"Microsoft.ManagedNetworkFabric.EdgeConnectors.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient":"Microsoft.ManagedNetworkFabric.ExternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.ExternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient":"Microsoft.ManagedNetworkFabric.Fabrics","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.Fabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.Fabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.Fabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.create":"Microsoft.ManagedNetworkFabric.Fabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.delete":"Microsoft.ManagedNetworkFabric.Fabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.Fabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.Fabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.list":"Microsoft.ManagedNetworkFabric.Fabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.Fabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.update":"Microsoft.ManagedNetworkFabric.Fabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient":"Microsoft.ManagedNetworkFabric.InternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.InternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient":"Microsoft.ManagedNetworkFabric.InternetGatewayRules","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.create":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.delete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.list":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.update":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient":"Microsoft.ManagedNetworkFabric.InternetGateways","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.create":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.delete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.list":"Microsoft.ManagedNetworkFabric.InternetGateways.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.update":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient":"Microsoft.ManagedNetworkFabric.IpPrefixes","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.create":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.delete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.list":"Microsoft.ManagedNetworkFabric.IpPrefixes.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.update":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L2IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L3IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient":"Microsoft.ManagedNetworkFabric.NeighborGroups","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginResync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.create":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.delete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.list":"Microsoft.ManagedNetworkFabric.NeighborGroups.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.resync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.update":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.listByNetworkBootstrapDevice":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.listByNetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient":"Microsoft.ManagedNetworkFabric.NetworkFabrics","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.armConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginArmConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDeprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDiscardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginGetTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginLockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginProvision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginViewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.deprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.discardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.lockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.provision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.viewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.listByNetworkDevice":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.listByNetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient":"Microsoft.ManagedNetworkFabric.NetworkMonitors","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.create":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.list":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.update":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.create":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.list":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.update":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient":"Microsoft.ManagedNetworkFabric.NetworkRacks","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.create":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.delete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.list":"Microsoft.ManagedNetworkFabric.NetworkRacks.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.update":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient":"Microsoft.ManagedNetworkFabric.NetworkTapRules","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.create":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.list":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.update":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient":"Microsoft.ManagedNetworkFabric.NetworkTaps","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.create":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.list":"Microsoft.ManagedNetworkFabric.NetworkTaps.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.update":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.create":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.get":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.listByNetworkFabric":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.listByNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.update":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient":"Microsoft.ManagedNetworkFabric.Operations","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient":"Microsoft.ManagedNetworkFabric.RoutePolicies","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCreate":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginDelete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.create":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.delete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.list":"Microsoft.ManagedNetworkFabric.RoutePolicies.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.update":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListInner":"Microsoft.ManagedNetworkFabric.AccessControlList","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListPatchProperties":"Microsoft.ManagedNetworkFabric.AccessControlListPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListProperties":"Microsoft.ManagedNetworkFabric.AccessControlListProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ArmConfigurationDiffOperationResponseInner":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitBatchStatusOperationResponseInner":"Microsoft.ManagedNetworkFabric.CommitBatchStatusOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.CommitConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommandsOperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForStateUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.DiscardCommitBatchOperationResponseInner":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner":"Microsoft.ManagedNetworkFabric.EdgeConnector","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkInner":"Microsoft.ManagedNetworkFabric.ExternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner":"Microsoft.ManagedNetworkFabric.Fabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.GetTopologyResponseInner":"Microsoft.ManagedNetworkFabric.GetTopologyResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkInner":"Microsoft.ManagedNetworkFabric.InternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBgpAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayInner":"Microsoft.ManagedNetworkFabric.InternetGateway","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayPatchProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleInner":"Microsoft.ManagedNetworkFabric.InternetGatewayRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityInner":"Microsoft.ManagedNetworkFabric.IpCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityPatchableProperties":"Microsoft.ManagedNetworkFabric.IpCommunityPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityProperties":"Microsoft.ManagedNetworkFabric.IpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityInner":"Microsoft.ManagedNetworkFabric.IpExtendedCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixInner":"Microsoft.ManagedNetworkFabric.IpPrefix","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixProperties":"Microsoft.ManagedNetworkFabric.IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L2IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupInner":"Microsoft.ManagedNetworkFabric.NeighborGroup","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupPatchProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupResyncResponseInner":"Microsoft.ManagedNetworkFabric.NeighborGroupResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDevicePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRebootResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRebootResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDevicePatchParametersProperties":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParametersProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRunRwCommandResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRunRwCommandResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerInner":"Microsoft.ManagedNetworkFabric.NetworkFabricController","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricInner":"Microsoft.ManagedNetworkFabric.NetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotateCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotateCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotatePasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuInner":"Microsoft.ManagedNetworkFabric.NetworkFabricSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorInner":"Microsoft.ManagedNetworkFabric.NetworkMonitor","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerInner":"Microsoft.ManagedNetworkFabric.NetworkPacketBroker","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackInner":"Microsoft.ManagedNetworkFabric.NetworkRack","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackProperties":"Microsoft.ManagedNetworkFabric.NetworkRackProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapInner":"Microsoft.ManagedNetworkFabric.NetworkTap","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapProperties":"Microsoft.ManagedNetworkFabric.NetworkTapProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner":"Microsoft.ManagedNetworkFabric.NetworkTapRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRulePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapRuleResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectInner":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnect","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NniUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner":"Microsoft.ManagedNetworkFabric.RoutePolicy","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyPatchableProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponseV2","com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationOperationResponse","com.azure.resourcemanager.managednetworkfabric.implementation.ManagedNetworkFabricManagementClientBuilder":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.implementation.models.AccessControlListsListResult":"AccessControlListsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.EdgeConnectorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.ExternalNetworksList":"ExternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.FabricListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternalNetworksList":"InternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewayRulesListResult":"InternetGatewayRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewaysListResult":"InternetGatewaysListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpCommunitiesListResult":"IpCommunitiesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpExtendedCommunityListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpPrefixesListResult":"IpPrefixesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L2IsolationDomainsListResult":"L2IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L3IsolationDomainsListResult":"L3IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NeighborGroupsListResult":"NeighborGroupsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapInterfaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDeviceSkusListResult":"NetworkDeviceSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDevicesListResult":"NetworkDevicesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricControllersListResult":"NetworkFabricControllersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricSkusListResult":"NetworkFabricSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricsListResult":"NetworkFabricsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkInterfacesList":"NetworkInterfacesList","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkMonitorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkPacketBrokersListResult":"NetworkPacketBrokersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkRacksListResult":"NetworkRacksListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapRulesListResult":"NetworkTapRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapsListResult":"NetworkTapsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkToNetworkInterconnectsList":"NetworkToNetworkInterconnectsList","com.azure.resourcemanager.managednetworkfabric.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.RoutePoliciesListResult":"RoutePoliciesListResult","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListAction":"Microsoft.ManagedNetworkFabric.AccessControlListAction","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListActionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListActionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchCondition":"Microsoft.ManagedNetworkFabric.AccessControlListMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortCondition":"Microsoft.ManagedNetworkFabric.AccessControlListPortCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AclActionType":"Microsoft.ManagedNetworkFabric.AclActionType","com.azure.resourcemanager.managednetworkfabric.models.AclType":"Microsoft.ManagedNetworkFabric.AclType","com.azure.resourcemanager.managednetworkfabric.models.Action":"Microsoft.ManagedNetworkFabric.Action","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.managednetworkfabric.models.AddressFamilyType":"Microsoft.ManagedNetworkFabric.AddressFamilyType","com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState":"Microsoft.ManagedNetworkFabric.AdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoute":"Microsoft.ManagedNetworkFabric.AggregateRoute","com.azure.resourcemanager.managednetworkfabric.models.AggregateRouteConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AllowASOverride":"Microsoft.ManagedNetworkFabric.AllowASOverride","com.azure.resourcemanager.managednetworkfabric.models.AnnotationResource":"Microsoft.ManagedNetworkFabric.AnnotationResource","com.azure.resourcemanager.managednetworkfabric.models.ArmConfigurationDiffResponseProperties":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverPatchProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverProperties","com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState":"Microsoft.ManagedNetworkFabric.BfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration":"Microsoft.ManagedNetworkFabric.BfdConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration":"Microsoft.ManagedNetworkFabric.BfdPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpAdministrativeState":"Microsoft.ManagedNetworkFabric.BgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BgpConfiguration":"Microsoft.ManagedNetworkFabric.BgpConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpPatchConfiguration":"Microsoft.ManagedNetworkFabric.BgpPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BitRate":"Microsoft.ManagedNetworkFabric.BitRate","com.azure.resourcemanager.managednetworkfabric.models.BitRateUnit":"Microsoft.ManagedNetworkFabric.BitRateUnit","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState":"Microsoft.ManagedNetworkFabric.BmpConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy":"Microsoft.ManagedNetworkFabric.BmpExportPolicy","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyPatchProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpMonitoredAddressFamily":"Microsoft.ManagedNetworkFabric.BmpMonitoredAddressFamily","com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty":"Microsoft.ManagedNetworkFabric.BooleanEnumProperty","com.azure.resourcemanager.managednetworkfabric.models.BurstSize":"Microsoft.ManagedNetworkFabric.BurstSize","com.azure.resourcemanager.managednetworkfabric.models.BurstSizeUnit":"Microsoft.ManagedNetworkFabric.BurstSizeUnit","com.azure.resourcemanager.managednetworkfabric.models.CertificateArchiveReference":"Microsoft.ManagedNetworkFabric.CertificateArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.CertificateRotationStatus":"Microsoft.ManagedNetworkFabric.CertificateRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchDetails":"Microsoft.ManagedNetworkFabric.CommitBatchDetails","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchState":"Microsoft.ManagedNetworkFabric.CommitBatchState","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest":"Microsoft.ManagedNetworkFabric.CommitBatchStatusRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusResponseProperties":"Microsoft.ManagedNetworkFabric.CommitBatchStatusResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationPolicy":"Microsoft.ManagedNetworkFabric.CommitConfigurationPolicy","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationRequest":"Microsoft.ManagedNetworkFabric.CommitConfigurationRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitStage":"Microsoft.ManagedNetworkFabric.CommitStage","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonErrorResponse":"Microsoft.ManagedNetworkFabric.CommonErrorResponse","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditions":"Microsoft.ManagedNetworkFabric.CommonMatchConditions","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditionsPatch":"Microsoft.ManagedNetworkFabric.CommonMatchConditionsPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForDeviceROCommands":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommands","com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes":"Microsoft.ManagedNetworkFabric.CommunityActionTypes","com.azure.resourcemanager.managednetworkfabric.models.Condition":"Microsoft.ManagedNetworkFabric.Condition","com.azure.resourcemanager.managednetworkfabric.models.ConditionalDefaultRouteProperties":"Microsoft.ManagedNetworkFabric.ConditionalDefaultRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationRegenerationType":"Microsoft.ManagedNetworkFabric.ConfigurationRegenerationType","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState":"Microsoft.ManagedNetworkFabric.ConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType":"Microsoft.ManagedNetworkFabric.ConfigurationType","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnet":"Microsoft.ManagedNetworkFabric.ConnectedSubnet","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicy":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel":"Microsoft.ManagedNetworkFabric.ConnectivityModel","com.azure.resourcemanager.managednetworkfabric.models.ControlPlanAclIpMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlanAclIpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclAction":"Microsoft.ManagedNetworkFabric.ControlPlaneAclAction","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclIpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclIpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControllerServices":"Microsoft.ManagedNetworkFabric.ControllerServices","com.azure.resourcemanager.managednetworkfabric.models.ControllerType":"Microsoft.ManagedNetworkFabric.ControllerType","com.azure.resourcemanager.managednetworkfabric.models.DestinationPatchProperties":"Microsoft.ManagedNetworkFabric.DestinationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationProperties":"Microsoft.ManagedNetworkFabric.DestinationProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationType":"Microsoft.ManagedNetworkFabric.DestinationType","com.azure.resourcemanager.managednetworkfabric.models.DeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.DeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.DeviceInterfaceProperties":"Microsoft.ManagedNetworkFabric.DeviceInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.models.DeviceRoCommand":"Microsoft.ManagedNetworkFabric.DeviceRoCommand","com.azure.resourcemanager.managednetworkfabric.models.DeviceRole":"Microsoft.ManagedNetworkFabric.DeviceRole","com.azure.resourcemanager.managednetworkfabric.models.DeviceRwCommand":"Microsoft.ManagedNetworkFabric.DeviceRwCommand","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchRequest","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchResponseProperties":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch":"Microsoft.ManagedNetworkFabric.EdgeConnectorPatch","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties":"Microsoft.ManagedNetworkFabric.EdgeConnectorPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties":"Microsoft.ManagedNetworkFabric.EdgeConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableOnResources":"Microsoft.ManagedNetworkFabric.EnableDisableOnResources","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState":"Microsoft.ManagedNetworkFabric.EnableDisableState","com.azure.resourcemanager.managednetworkfabric.models.Encapsulation":"Microsoft.ManagedNetworkFabric.Encapsulation","com.azure.resourcemanager.managednetworkfabric.models.EncapsulationType":"Microsoft.ManagedNetworkFabric.EncapsulationType","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation":"Microsoft.ManagedNetworkFabric.ExpressRouteConnectionInformation","com.azure.resourcemanager.managednetworkfabric.models.ExtendedVlan":"Microsoft.ManagedNetworkFabric.ExtendedVlan","com.azure.resourcemanager.managednetworkfabric.models.Extension":"Microsoft.ManagedNetworkFabric.Extension","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatch":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatchPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.ExternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricLockProperties":"Microsoft.ManagedNetworkFabric.FabricLockProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricPatch":"Microsoft.ManagedNetworkFabric.FabricPatch","com.azure.resourcemanager.managednetworkfabric.models.FabricPatchableProperties":"Microsoft.ManagedNetworkFabric.FabricPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricProperties":"Microsoft.ManagedNetworkFabric.FabricProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricSkuType":"Microsoft.ManagedNetworkFabric.FabricSkuType","com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties":"Microsoft.ManagedNetworkFabric.FeatureFlagProperties","com.azure.resourcemanager.managednetworkfabric.models.GatewayType":"Microsoft.ManagedNetworkFabric.GatewayType","com.azure.resourcemanager.managednetworkfabric.models.GenerateBaseConfiguration":"Microsoft.ManagedNetworkFabric.GenerateBaseConfiguration","com.azure.resourcemanager.managednetworkfabric.models.GetTopologyResponseProperties":"Microsoft.ManagedNetworkFabric.GetTopologyResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionProperties","com.azure.resourcemanager.managednetworkfabric.models.HeaderAddressProperties":"Microsoft.ManagedNetworkFabric.HeaderAddressProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector":"Microsoft.ManagedNetworkFabric.IdentitySelector","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch":"Microsoft.ManagedNetworkFabric.IdentitySelectorPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy":"Microsoft.ManagedNetworkFabric.ImportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork":"Microsoft.ManagedNetworkFabric.InfraNetwork","com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp":"Microsoft.ManagedNetworkFabric.InfraNetworkOptionalIp","com.azure.resourcemanager.managednetworkfabric.models.InfrastructureNetworks":"Microsoft.ManagedNetworkFabric.InfrastructureNetworks","com.azure.resourcemanager.managednetworkfabric.models.InfrastructureServices":"Microsoft.ManagedNetworkFabric.InfrastructureServices","com.azure.resourcemanager.managednetworkfabric.models.InterfaceType":"Microsoft.ManagedNetworkFabric.InterfaceType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPatch":"Microsoft.ManagedNetworkFabric.InternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.InternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayPatch":"Microsoft.ManagedNetworkFabric.InternetGatewayPatch","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayRulePatch":"Microsoft.ManagedNetworkFabric.InternetGatewayRulePatch","com.azure.resourcemanager.managednetworkfabric.models.IpAddressType":"Microsoft.ManagedNetworkFabric.IPAddressType","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityIdList":"Microsoft.ManagedNetworkFabric.IpCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityPatch":"Microsoft.ManagedNetworkFabric.IpCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityRule":"Microsoft.ManagedNetworkFabric.IpCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityIdList":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityPatch":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityRule":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpGroupPatchProperties":"Microsoft.ManagedNetworkFabric.IpGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties":"Microsoft.ManagedNetworkFabric.IpGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition":"Microsoft.ManagedNetworkFabric.IpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.IpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.IpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixPatch":"Microsoft.ManagedNetworkFabric.IpPrefixPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixRule":"Microsoft.ManagedNetworkFabric.IpPrefixRule","com.azure.resourcemanager.managednetworkfabric.models.IsManagementType":"Microsoft.ManagedNetworkFabric.IsManagementType","com.azure.resourcemanager.managednetworkfabric.models.IsMonitoringEnabled":"Microsoft.ManagedNetworkFabric.IsMonitoringEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsWorkloadManagementNetworkEnabled":"Microsoft.ManagedNetworkFabric.IsWorkloadManagementNetworkEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBPatchProperties":"Microsoft.ManagedNetworkFabric.L3OptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBProperties":"Microsoft.ManagedNetworkFabric.L3OptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.L3UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.L3UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties":"Microsoft.ManagedNetworkFabric.LastOperationProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer2Configuration":"Microsoft.ManagedNetworkFabric.Layer2Configuration","com.azure.resourcemanager.managednetworkfabric.models.Layer2ConfigurationPatch":"Microsoft.ManagedNetworkFabric.Layer2ConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol":"Microsoft.ManagedNetworkFabric.Layer4Protocol","com.azure.resourcemanager.managednetworkfabric.models.LockConfigurationState":"Microsoft.ManagedNetworkFabric.LockConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration":"Microsoft.ManagedNetworkFabric.ManagedResourceGroupConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentityPatch","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentitySelectorType","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","com.azure.resourcemanager.managednetworkfabric.models.ManagementMode":"Microsoft.ManagedNetworkFabric.ManagementMode","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties":"Microsoft.ManagedNetworkFabric.ManagementNetworkConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPatchConfiguration":"Microsoft.ManagedNetworkFabric.ManagementNetworkPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.MicroBfdState":"Microsoft.ManagedNetworkFabric.MicroBfdState","com.azure.resourcemanager.managednetworkfabric.models.NNIDerivedUniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.NNIDerivedUniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddress":"Microsoft.ManagedNetworkFabric.NeighborAddress","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBfdAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBfdAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBgpAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBgpAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressPatch":"Microsoft.ManagedNetworkFabric.NeighborAddressPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination":"Microsoft.ManagedNetworkFabric.NeighborGroupDestination","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestinationPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupDestinationPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevicePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkDevicePatchParameters":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParameters","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRole":"Microsoft.ManagedNetworkFabric.NetworkDeviceRole","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRoleName":"Microsoft.ManagedNetworkFabric.NetworkDeviceRoleName","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRwCommandResponseProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceRwCommandResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgradeRequest":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllerPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockAction":"Microsoft.ManagedNetworkFabric.NetworkFabricLockAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest":"Microsoft.ManagedNetworkFabric.NetworkFabricLockRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockType":"Microsoft.ManagedNetworkFabric.NetworkFabricLockType","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRefreshDeviceTypes":"Microsoft.ManagedNetworkFabric.NetworkFabricRefreshDeviceTypes","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricUpgradeAction":"Microsoft.ManagedNetworkFabric.NetworkFabricUpgradeAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitorPatch":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatch":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackPatch":"Microsoft.ManagedNetworkFabric.NetworkRackPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackType":"Microsoft.ManagedNetworkFabric.NetworkRackType","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapPatch":"Microsoft.ManagedNetworkFabric.NetworkTapPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleAction":"Microsoft.ManagedNetworkFabric.NetworkTapRuleAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleActionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleActionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchCondition":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConditionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRulePatch":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkToNetworkInterconnectPatch":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatch","com.azure.resourcemanager.managednetworkfabric.models.NfcSku":"Microsoft.ManagedNetworkFabric.NfcSku","com.azure.resourcemanager.managednetworkfabric.models.NniBmpPatchProperties":"Microsoft.ManagedNetworkFabric.NniBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NniBmpProperties":"Microsoft.ManagedNetworkFabric.NniBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniType":"Microsoft.ManagedNetworkFabric.NniType","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfigurationPatch":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.managednetworkfabric.models.OperationPolicy":"Microsoft.ManagedNetworkFabric.OperationPolicy","com.azure.resourcemanager.managednetworkfabric.models.OperationalState":"Microsoft.ManagedNetworkFabric.OperationalState","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3Configuration":"Microsoft.ManagedNetworkFabric.OptionBLayer3Configuration","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3ConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3ConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.managednetworkfabric.models.PatchInfraNetwork":"Microsoft.ManagedNetworkFabric.PatchInfraNetwork","com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureNetworks":"Microsoft.ManagedNetworkFabric.PatchInfrastructureNetworks","com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureServices":"Microsoft.ManagedNetworkFabric.PatchInfrastructureServices","com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy":"Microsoft.ManagedNetworkFabric.PatchPlatformProxy","com.azure.resourcemanager.managednetworkfabric.models.PeeringOption":"Microsoft.ManagedNetworkFabric.PeeringOption","com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy":"Microsoft.ManagedNetworkFabric.PlatformProxy","com.azure.resourcemanager.managednetworkfabric.models.PoliceRateConfigurationProperties":"Microsoft.ManagedNetworkFabric.PoliceRateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.PollingType":"Microsoft.ManagedNetworkFabric.PollingType","com.azure.resourcemanager.managednetworkfabric.models.PortCondition":"Microsoft.ManagedNetworkFabric.PortCondition","com.azure.resourcemanager.managednetworkfabric.models.PortConditionPatch":"Microsoft.ManagedNetworkFabric.PortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.PortGroupPatchProperties":"Microsoft.ManagedNetworkFabric.PortGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties":"Microsoft.ManagedNetworkFabric.PortGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.PortType":"Microsoft.ManagedNetworkFabric.PortType","com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfilePatchProperties":"Microsoft.ManagedNetworkFabric.PostUpgradeProfilePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.PostUpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties":"Microsoft.ManagedNetworkFabric.PreUpgradeProfilePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.PreUpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixType":"Microsoft.ManagedNetworkFabric.PrefixType","com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState":"Microsoft.ManagedNetworkFabric.ProvisioningState","com.azure.resourcemanager.managednetworkfabric.models.ProxyResourceBase":"Microsoft.ManagedNetworkFabric.ProxyResourceBase","com.azure.resourcemanager.managednetworkfabric.models.QosConfigurationState":"Microsoft.ManagedNetworkFabric.QosConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties":"Microsoft.ManagedNetworkFabric.QosPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.QosProperties":"Microsoft.ManagedNetworkFabric.QosProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootProperties":"Microsoft.ManagedNetworkFabric.RebootProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootType":"Microsoft.ManagedNetworkFabric.RebootType","com.azure.resourcemanager.managednetworkfabric.models.RedistributeConnectedSubnets":"Microsoft.ManagedNetworkFabric.RedistributeConnectedSubnets","com.azure.resourcemanager.managednetworkfabric.models.RedistributeStaticRoutes":"Microsoft.ManagedNetworkFabric.RedistributeStaticRoutes","com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties":"Microsoft.ManagedNetworkFabric.RefreshConfigurationRequestProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyActionType":"Microsoft.ManagedNetworkFabric.RoutePolicyActionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyConditionType":"Microsoft.ManagedNetworkFabric.RoutePolicyConditionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyPatch":"Microsoft.ManagedNetworkFabric.RoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation":"Microsoft.ManagedNetworkFabric.RouteTargetInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetPatchInformation":"Microsoft.ManagedNetworkFabric.RouteTargetPatchInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteType":"Microsoft.ManagedNetworkFabric.RouteType","com.azure.resourcemanager.managednetworkfabric.models.RuleCondition":"Microsoft.ManagedNetworkFabric.RuleCondition","com.azure.resourcemanager.managednetworkfabric.models.RuleProperties":"Microsoft.ManagedNetworkFabric.RuleProperties","com.azure.resourcemanager.managednetworkfabric.models.SecretArchivePatchSettings":"Microsoft.ManagedNetworkFabric.SecretArchivePatchSettings","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveReference":"Microsoft.ManagedNetworkFabric.SecretArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings":"Microsoft.ManagedNetworkFabric.SecretArchiveSettings","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus":"Microsoft.ManagedNetworkFabric.SecretRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary":"Microsoft.ManagedNetworkFabric.SecretRotationSummary","com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType":"Microsoft.ManagedNetworkFabric.SourceDestinationType","com.azure.resourcemanager.managednetworkfabric.models.StatementActionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementActionProperties":"Microsoft.ManagedNetworkFabric.StatementActionProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementConditionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionProperties":"Microsoft.ManagedNetworkFabric.StatementConditionProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.StaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.StaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties":"Microsoft.ManagedNetworkFabric.StaticRoutePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties":"Microsoft.ManagedNetworkFabric.StaticRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicy":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.StationConfigurationState":"Microsoft.ManagedNetworkFabric.StationConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionMode":"Microsoft.ManagedNetworkFabric.StationConnectionMode","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionPatchProperties":"Microsoft.ManagedNetworkFabric.StationConnectionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionProperties":"Microsoft.ManagedNetworkFabric.StationConnectionProperties","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.SupportedConnectorProperties":"Microsoft.ManagedNetworkFabric.SupportedConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.SupportedVersionProperties":"Microsoft.ManagedNetworkFabric.SupportedVersionProperties","com.azure.resourcemanager.managednetworkfabric.models.SynchronizationStatus":"Microsoft.ManagedNetworkFabric.SynchronizationStatus","com.azure.resourcemanager.managednetworkfabric.models.TagsUpdate":"Microsoft.ManagedNetworkFabric.TagsUpdate","com.azure.resourcemanager.managednetworkfabric.models.TapRuleActionType":"Microsoft.ManagedNetworkFabric.TapRuleActionType","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerConfiguration","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerPatchConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherPatchProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateDeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion":"Microsoft.ManagedNetworkFabric.UpdateVersion","com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties":"Microsoft.ManagedNetworkFabric.UpgradeNetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.UpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfilePropertiesPatchProperties":"Microsoft.ManagedNetworkFabric.UpgradeProfilePropertiesPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity","com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState":"Microsoft.ManagedNetworkFabric.V4OverV6BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState":"Microsoft.ManagedNetworkFabric.V6OverV4BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.ValidateAction":"Microsoft.ManagedNetworkFabric.ValidateAction","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.ViewDeviceConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupPatchProperties":"Microsoft.ManagedNetworkFabric.VlanGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties":"Microsoft.ManagedNetworkFabric.VlanGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition":"Microsoft.ManagedNetworkFabric.VlanMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchConditionPatch":"Microsoft.ManagedNetworkFabric.VlanMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.VmProfile":"Microsoft.ManagedNetworkFabric.VmProfile","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.WellKnownCommunities":"Microsoft.ManagedNetworkFabric.WellKnownCommunities"},"generatedFiles":["src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/FabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NeighborGroupsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDeviceSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricControllersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkMonitorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkPacketBrokersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkRacksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkToNetworkInterconnectsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ArmConfigurationDiffOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitBatchStatusOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForStateUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/DiscardCommitBatchOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/GetTopologyResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBgpAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRebootResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDevicePatchParametersProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRunRwCommandResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotateCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotatePasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRulePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NniUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/UpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ViewDeviceConfigurationOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ArmConfigurationDiffOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitBatchStatusOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceROCommandsOperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForStateUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/DiscardCommitBatchOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/GetTopologyResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBgpAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRebootResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRunRwCommandResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotateCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotatePasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRackImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NniUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/UpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ViewDeviceConfigurationOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/AccessControlListsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/ExternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewayRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewaysListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpCommunitiesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpExtendedCommunityListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpPrefixesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L2IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L3IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NeighborGroupsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapDeviceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapInterfaceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDeviceSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDevicesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricControllersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkInterfacesList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkMonitorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkPacketBrokersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkRacksListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkToNetworkInterconnectsList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/RoutePoliciesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Action.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AddressFamilyType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoute.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AllowASOverride.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AnnotationResource.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRateUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpMonitoredAddressFamily.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BooleanEnumProperty.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSize.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSizeUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchDetails.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitStage.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonErrorResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditions.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditionsPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommands.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForStateUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommunityActionTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Condition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConditionalDefaultRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnet.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectivityModel.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlanAclIpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclIpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRoCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRwCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableOnResources.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Encapsulation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EncapsulationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExpressRouteConnectionInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExtendedVlan.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Extension.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatchPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricLockProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricSkuType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FeatureFlagProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GatewayType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/HeaderAddressProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InterfaceType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateway.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateways.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpAddressType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefix.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsManagementType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsMonitoringEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsWorkloadManagementNetworkEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LastOperationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2ConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer4Protocol.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LockConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedResourceGroupConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentitySelectorType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/MicroBfdState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NNIDerivedUniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddress.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBfdAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBgpAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestination.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestinationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroups.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRebootResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevicePatchParameters.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRoleName.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRunRwCommandResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRwCommandResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotateCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotatePasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricUpgradeAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitor.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRack.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRacks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTap.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTaps.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnect.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnectPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnects.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NfcSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operations.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3ConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Origin.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PeeringOption.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PoliceRateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PollingType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProxyResourceBase.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeConnectedSubnets.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeStaticRoutes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyConditionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetPatchInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationSummary.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SourceDestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedVersionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SynchronizationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TagsUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TapRuleActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateDeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateVersion.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeNetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V4OverV6BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V6OverV4BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/WellKnownCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-managednetworkfabric/proxy-config.json b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-managednetworkfabric/proxy-config.json index 72e9212ace397..b0c2d0ccd7279 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-managednetworkfabric/proxy-config.json +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-managednetworkfabric/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.managednetworkfabric.implementation.AccessControlListsClientImpl$AccessControlListsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.ExternalNetworksClientImpl$ExternalNetworksService"],["com.azure.resourcemanager.managednetworkfabric.implementation.InternalNetworksClientImpl$InternalNetworksService"],["com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewayRulesClientImpl$InternetGatewayRulesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewaysClientImpl$InternetGatewaysService"],["com.azure.resourcemanager.managednetworkfabric.implementation.IpCommunitiesClientImpl$IpCommunitiesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.IpExtendedCommunitiesClientImpl$IpExtendedCommunitiesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.IpPrefixesClientImpl$IpPrefixesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.L2IsolationDomainsClientImpl$L2IsolationDomainsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.L3IsolationDomainsClientImpl$L3IsolationDomainsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NeighborGroupsClientImpl$NeighborGroupsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapDevicesClientImpl$NetworkBootstrapDevicesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapInterfacesClientImpl$NetworkBootstrapInterfacesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDeviceSkusClientImpl$NetworkDeviceSkusService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDevicesClientImpl$NetworkDevicesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricControllersClientImpl$NetworkFabricControllersService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricSkusClientImpl$NetworkFabricSkusService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricsClientImpl$NetworkFabricsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkMonitorsClientImpl$NetworkMonitorsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkPacketBrokersClientImpl$NetworkPacketBrokersService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkRacksClientImpl$NetworkRacksService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkTapRulesClientImpl$NetworkTapRulesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkTapsClientImpl$NetworkTapsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkToNetworkInterconnectsClientImpl$NetworkToNetworkInterconnectsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.RoutePoliciesClientImpl$RoutePoliciesService"]] \ No newline at end of file +[["com.azure.resourcemanager.managednetworkfabric.implementation.AccessControlListsClientImpl$AccessControlListsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.EdgeConnectorsClientImpl$EdgeConnectorsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.ExternalNetworksClientImpl$ExternalNetworksService"],["com.azure.resourcemanager.managednetworkfabric.implementation.FabricsClientImpl$FabricsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.InternalNetworksClientImpl$InternalNetworksService"],["com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewayRulesClientImpl$InternetGatewayRulesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewaysClientImpl$InternetGatewaysService"],["com.azure.resourcemanager.managednetworkfabric.implementation.IpCommunitiesClientImpl$IpCommunitiesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.IpExtendedCommunitiesClientImpl$IpExtendedCommunitiesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.IpPrefixesClientImpl$IpPrefixesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.L2IsolationDomainsClientImpl$L2IsolationDomainsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.L3IsolationDomainsClientImpl$L3IsolationDomainsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NeighborGroupsClientImpl$NeighborGroupsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapDevicesClientImpl$NetworkBootstrapDevicesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapInterfacesClientImpl$NetworkBootstrapInterfacesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDeviceSkusClientImpl$NetworkDeviceSkusService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDevicesClientImpl$NetworkDevicesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricControllersClientImpl$NetworkFabricControllersService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricSkusClientImpl$NetworkFabricSkusService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricsClientImpl$NetworkFabricsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkMonitorsClientImpl$NetworkMonitorsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkPacketBrokersClientImpl$NetworkPacketBrokersService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkRacksClientImpl$NetworkRacksService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkTapRulesClientImpl$NetworkTapRulesService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkTapsClientImpl$NetworkTapsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.NetworkToNetworkInterconnectsClientImpl$NetworkToNetworkInterconnectsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.managednetworkfabric.implementation.RoutePoliciesClientImpl$RoutePoliciesService"]] \ No newline at end of file diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateSamples.java index 17b51e9bb9b8b..a90728cb82ee7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateSamples.java @@ -52,7 +52,7 @@ */ public final class AccessControlListsCreateSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Create.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Create.json */ /** * Sample code: AccessControlLists_Create_MaximumSet_Gen. @@ -117,7 +117,7 @@ public static void accessControlListsCreateMaximumSetGen( } /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Create_ControlPlaneAcl.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Create_ControlPlaneAcl.json */ /** * Sample code: AccessControlLists_Create_MaximumSet_Gen - generated by [MaximumSet] rule. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsDeleteSamples.java index 8d51dfd344acc..1a5fe6575e965 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class AccessControlListsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Delete.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Delete.json */ /** * Sample code: AccessControlLists_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupSamples.java index f548dbcad314d..b645dc0ed0a5f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class AccessControlListsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Get.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Get.json */ /** * Sample code: AccessControlLists_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupSamples.java index 183b4192e0bc5..0338cf96af508 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class AccessControlListsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_ListByResourceGroup.json */ /** * Sample code: AccessControlLists_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListSamples.java index 45a43df5043b0..37bf389b5110b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListSamples.java @@ -9,7 +9,7 @@ */ public final class AccessControlListsListSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_ListBySubscription.json */ /** * Sample code: AccessControlLists_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsResyncSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsResyncSamples.java index 6cf40d2271884..93412a6b2f718 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsResyncSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsResyncSamples.java @@ -9,7 +9,7 @@ */ public final class AccessControlListsResyncSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Resync.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Resync.json */ /** * Sample code: AccessControlLists_Resync_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateAdministrativeStateSamples.java index 014497cf330b1..e59051da06317 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class AccessControlListsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_UpdateAdministrativeState.json */ /** * Sample code: AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateSamples.java index ee2d8ec94ce39..3080142f5b8ba 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsUpdateSamples.java @@ -42,7 +42,7 @@ */ public final class AccessControlListsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_Update.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_Update.json */ /** * Sample code: AccessControlLists_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsValidateConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsValidateConfigurationSamples.java index cc4a4ca0fcfee..bf66f986daf55 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsValidateConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsValidateConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class AccessControlListsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/AccessControlLists_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/AccessControlLists_ValidateConfiguration.json */ /** * Sample code: AccessControlLists_ValidateConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateSamples.java new file mode 100644 index 0000000000000..1b31d8f100919 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateSamples.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for EdgeConnectors Create. + */ +public final class EdgeConnectorsCreateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Create.json + */ + /** + * Sample code: EdgeConnectors_Create_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsCreateMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors() + .define("example-edgeConnector") + .withRegion("eastus") + .withExistingResourceGroup("example-rg") + .withProperties( + new EdgeConnectorProperties().withConnectivityModel(ConnectivityModel.DIRECT).withVersion("1.0.0")) + .withTags(mapOf("environment", "production", "site", "factory-floor")) + .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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsDeleteSamples.java new file mode 100644 index 0000000000000..ba563e6fdf94e --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsDeleteSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for EdgeConnectors Delete. + */ +public final class EdgeConnectorsDeleteSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Delete.json + */ + /** + * Sample code: EdgeConnectors_Delete_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsDeleteMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors().delete("example-rg", "example-edgeConnector", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupSamples.java new file mode 100644 index 0000000000000..6e311679a0328 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupSamples.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for EdgeConnectors GetByResourceGroup. + */ +public final class EdgeConnectorsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Get.json + */ + /** + * Sample code: EdgeConnectors_Get_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsGetMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors() + .getByResourceGroupWithResponse("example-rg", "example-edgeConnector", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupSamples.java new file mode 100644 index 0000000000000..9e1b5be54f212 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for EdgeConnectors ListByResourceGroup. + */ +public final class EdgeConnectorsListByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_ListByResourceGroup.json + */ + /** + * Sample code: EdgeConnectors_ListByResourceGroup_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsListByResourceGroupMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListSamples.java new file mode 100644 index 0000000000000..d92b79ff1da02 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for EdgeConnectors List. + */ +public final class EdgeConnectorsListSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_ListBySubscription.json + */ + /** + * Sample code: EdgeConnectors_ListBySubscription_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsListBySubscriptionMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.edgeConnectors().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsUpdateSamples.java new file mode 100644 index 0000000000000..1ede78bdb7d46 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsUpdateSamples.java @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for EdgeConnectors Update. + */ +public final class EdgeConnectorsUpdateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/EdgeConnectors_Update.json + */ + /** + * Sample code: EdgeConnectors_Update_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void edgeConnectorsUpdateMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + EdgeConnector resource = manager.edgeConnectors() + .getByResourceGroupWithResponse("example-rg", "example-edgeConnector", com.azure.core.util.Context.NONE) + .getValue(); + resource.update() + .withTags(mapOf("environment", "staging")) + .withProperties(new EdgeConnectorPatchableProperties().withVersion("1.1.0")) + .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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateSamples.java index d7cdc2118c88b..173bcc8887c97 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateSamples.java @@ -27,7 +27,7 @@ */ public final class ExternalNetworksCreateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Create.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Create.json */ /** * Sample code: ExternalNetworks_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksDeleteSamples.java index 4dee74476a74c..9c6a3f5ff6d9c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class ExternalNetworksDeleteSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Delete.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Delete.json */ /** * Sample code: ExternalNetworks_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetSamples.java index 61d45b9efc68c..0010b501a94d2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetSamples.java @@ -9,7 +9,7 @@ */ public final class ExternalNetworksGetSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Get.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Get.json */ /** * Sample code: ExternalNetworks_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainSamples.java index 468c6b11d0338..276e86549f673 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainSamples.java @@ -9,7 +9,7 @@ */ public final class ExternalNetworksListByL3IsolationDomainSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_ListByL3IsolationDomain.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_ListByL3IsolationDomain.json */ /** * Sample code: ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateAdministrativeStateSamples.java index 4a5d6626c332f..d8b4b3264365e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class ExternalNetworksUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_UpdateAdministrativeState.json */ /** * Sample code: ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateBfdAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateBfdAdministrativeStateSamples.java index 5c6f1da939981..a58df67933362 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateBfdAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateBfdAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class ExternalNetworksUpdateBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_UpdateBfdAdministrativeState.json */ /** * Sample code: ExternalNetworks_UpdateBfdAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateSamples.java index ec93f416c661f..e432349a5dbdd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateSamples.java @@ -28,7 +28,7 @@ */ public final class ExternalNetworksUpdateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_Update.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_Update.json */ /** * Sample code: ExternalNetworks_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java index 9c69834432ac1..0936b48a39790 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json */ /** * Sample code: ExternalNetworks_UpdateStaticRouteBfdAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsCreateSamples.java new file mode 100644 index 0000000000000..4cbdecec909d3 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsCreateSamples.java @@ -0,0 +1,152 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.resourcemanager.managednetworkfabric.models.ControllerType; +import com.azure.resourcemanager.managednetworkfabric.models.FabricProperties; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp; +import com.azure.resourcemanager.managednetworkfabric.models.InfrastructureNetworks; +import com.azure.resourcemanager.managednetworkfabric.models.InfrastructureServices; +import com.azure.resourcemanager.managednetworkfabric.models.ManagementMode; +import com.azure.resourcemanager.managednetworkfabric.models.OperationPolicy; +import com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for Fabrics Create. + */ +public final class FabricsCreateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Create.json + */ + /** + * Sample code: Fabrics_Create_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsCreateMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics() + .define("example-fabric") + .withRegion("eastus") + .withExistingResourceGroup("example-rg") + .withProperties(new FabricProperties() + .withInfrastructureNetworks(new InfrastructureNetworks() + .withManagement(new InfraNetwork().withVlanId(39) + .withIpv4Subnet("10.2.0.0/24") + .withIpv4Gateway("10.2.0.1") + .withIpv4StartAddr("10.2.0.20") + .withIpv4EndAddr("10.2.0.99") + .withMtu(9000)) + .withPxe(new InfraNetwork().withVlanId(40) + .withIpv4Subnet("10.2.1.0/24") + .withIpv4Gateway("10.2.1.1") + .withIpv4StartAddr("10.2.1.20") + .withIpv4EndAddr("10.2.1.99") + .withMtu(9000)) + .withBmc(new InfraNetwork().withVlanId(41) + .withIpv4Subnet("10.2.2.0/24") + .withIpv4Gateway("10.2.2.1") + .withIpv4StartAddr("10.2.2.11") + .withIpv4EndAddr("10.2.2.99") + .withMtu(1500)) + .withStorage(new InfraNetwork().withVlanId(42) + .withIpv4Subnet("10.2.3.0/24") + .withIpv4Gateway("10.2.3.1") + .withIpv4StartAddr("10.2.3.20") + .withIpv4EndAddr("10.2.3.179") + .withMtu(9000)) + .withStorageMgmt(new InfraNetworkOptionalIp().withVlanId(37).withMtu(9000))) + .withInfrastructureServices(new InfrastructureServices() + .withPlatformProxy(new PlatformProxy().withHttpProxy("http://10.2.0.60:3128") + .withHttpsProxy("http://10.2.0.60:3128") + .withNoProxy(Arrays.asList("10.2.0.0/24", "10.2.1.0/24", "10.2.2.0/24", "10.2.3.0/24", + "localhost", "169.254.169.254", ".svc"))) + .withNtpServers(Arrays.asList("10.2.0.100")) + .withDnsServers(Arrays.asList("10.2.0.50"))) + .withEdgeConnectorId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/example-edgeConnector") + .withManagementMode(ManagementMode.UNMANAGED) + .withRackCount(2) + .withFabricSku("2-rack-ha")) + .create(); + } + + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Create_Managed.json + */ + /** + * Sample code: Fabrics_Create_Managed_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void fabricsCreateManagedMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics() + .define("example-managed-fabric") + .withRegion("eastus") + .withExistingResourceGroup("example-rg") + .withProperties(new FabricProperties() + .withInfrastructureNetworks(new InfrastructureNetworks() + .withManagement(new InfraNetwork().withVlanId(39) + .withIpv4Subnet("10.2.0.0/24") + .withIpv4Gateway("10.2.0.1") + .withIpv4StartAddr("10.2.0.20") + .withIpv4EndAddr("10.2.0.99") + .withMtu(9000)) + .withPxe(new InfraNetwork().withVlanId(40) + .withIpv4Subnet("10.2.1.0/24") + .withIpv4Gateway("10.2.1.1") + .withIpv4StartAddr("10.2.1.20") + .withIpv4EndAddr("10.2.1.99") + .withMtu(9000)) + .withBmc(new InfraNetwork().withVlanId(41) + .withIpv4Subnet("10.2.2.0/24") + .withIpv4Gateway("10.2.2.1") + .withIpv4StartAddr("10.2.2.11") + .withIpv4EndAddr("10.2.2.99") + .withMtu(1500)) + .withStorage(new InfraNetwork().withVlanId(42) + .withIpv4Subnet("10.2.3.0/24") + .withIpv4Gateway("10.2.3.1") + .withIpv4StartAddr("10.2.3.20") + .withIpv4EndAddr("10.2.3.179") + .withMtu(9000)) + .withStorageMgmt(new InfraNetworkOptionalIp().withVlanId(37).withMtu(9000))) + .withInfrastructureServices(new InfrastructureServices() + .withPlatformProxy(new PlatformProxy().withHttpProxy("http://10.2.0.60:3128") + .withHttpsProxy("http://10.2.0.60:3128") + .withNoProxy(Arrays.asList("10.2.0.0/24", "10.2.1.0/24", "10.2.2.0/24", "10.2.3.0/24", + "localhost", "169.254.169.254", ".svc"))) + .withNtpServers(Arrays.asList("10.2.0.100")) + .withDnsServers(Arrays.asList("10.2.0.50"))) + .withOperationPolicy(OperationPolicy.VALIDATE_ONLY) + .withControllerEndpoint("https://apic.factory.local") + .withControllerCredentialRef("fakeTokenPlaceholder") + .withEdgeConnectorId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/edgeConnectors/example-edgeConnector") + .withManagementMode(ManagementMode.MANAGED) + .withControllerType(ControllerType.CISCO_ACI) + .withRackCount(2) + .withFabricSku("2-rack-ha")) + .withTags(mapOf("environment", "production")) + .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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsDeleteSamples.java new file mode 100644 index 0000000000000..517baec622d2c --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsDeleteSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for Fabrics Delete. + */ +public final class FabricsDeleteSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Delete.json + */ + /** + * Sample code: Fabrics_Delete_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsDeleteMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics().delete("example-rg", "example-fabric", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsGetByResourceGroupSamples.java new file mode 100644 index 0000000000000..8fea223d2c51c --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsGetByResourceGroupSamples.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for Fabrics GetByResourceGroup. + */ +public final class FabricsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Get.json + */ + /** + * Sample code: Fabrics_Get_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsGetMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics() + .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListByResourceGroupSamples.java new file mode 100644 index 0000000000000..89506dbdd4be6 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListByResourceGroupSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for Fabrics ListByResourceGroup. + */ +public final class FabricsListByResourceGroupSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_ListByResourceGroup.json + */ + /** + * Sample code: Fabrics_ListByResourceGroup_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void fabricsListByResourceGroupMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListSamples.java new file mode 100644 index 0000000000000..d530006dd8b50 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsListSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +/** + * Samples for Fabrics List. + */ +public final class FabricsListSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_ListBySubscription.json + */ + /** + * Sample code: Fabrics_ListBySubscription_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void fabricsListBySubscriptionMaximumSetGen( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + manager.fabrics().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsUpdateSamples.java new file mode 100644 index 0000000000000..5bbd22903e0a7 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricsUpdateSamples.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.resourcemanager.managednetworkfabric.models.Fabric; +import com.azure.resourcemanager.managednetworkfabric.models.FabricPatchableProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureServices; +import com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for Fabrics Update. + */ +public final class FabricsUpdateSamples { + /* + * x-ms-original-file: 2026-01-15-preview/Fabrics_Update.json + */ + /** + * Sample code: Fabrics_Update_MaximumSet_Gen. + * + * @param manager Entry point to ManagedNetworkFabricManager. + */ + public static void + fabricsUpdateMaximumSetGen(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + Fabric resource = manager.fabrics() + .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE) + .getValue(); + resource.update() + .withTags(mapOf("environment", "staging")) + .withProperties(new FabricPatchableProperties().withInfrastructureServices(new PatchInfrastructureServices() + .withPlatformProxy(new PatchPlatformProxy().withHttpProxy("http://10.2.0.61:3128") + .withHttpsProxy("http://10.2.0.61:3128") + .withNoProxy(Arrays.asList("10.2.0.0/24", "10.2.1.0/24", "localhost"))) + .withNtpServers(Arrays.asList("10.2.0.100", "10.2.0.101")) + .withDnsServers(Arrays.asList("10.2.0.50", "10.2.0.51")))) + .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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateSamples.java index 12a9875333abf..b5d47b6dcc8f0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateSamples.java @@ -32,7 +32,7 @@ */ public final class InternalNetworksCreateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Create.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Create.json */ /** * Sample code: InternalNetworks_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksDeleteSamples.java index b4b912d12be0d..670a3f66a830b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class InternalNetworksDeleteSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Delete.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Delete.json */ /** * Sample code: InternalNetworks_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetSamples.java index 307ee0121218f..e04492da22cd0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetSamples.java @@ -9,7 +9,7 @@ */ public final class InternalNetworksGetSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Get.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Get.json */ /** * Sample code: InternalNetworks_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainSamples.java index ae54b484b4f1e..4f89b77d76498 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainSamples.java @@ -9,7 +9,7 @@ */ public final class InternalNetworksListByL3IsolationDomainSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_ListByL3IsolationDomain.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_ListByL3IsolationDomain.json */ /** * Sample code: InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateAdministrativeStateSamples.java index bb13aa3240d82..5e8f4948bd114 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class InternalNetworksUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBfdAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBfdAdministrativeStateSamples.java index 375e416dd600f..89a61cc262e4a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBfdAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBfdAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class InternalNetworksUpdateBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateBfdAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateBfdAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBgpAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBgpAdministrativeStateSamples.java index 5191b1e6d5c2c..7e46ef8514fe0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBgpAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateBgpAdministrativeStateSamples.java @@ -12,7 +12,7 @@ */ public final class InternalNetworksUpdateBgpAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateBgpAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateSamples.java index 8f935941a1321..3200451b0ba0e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateSamples.java @@ -30,7 +30,7 @@ */ public final class InternalNetworksUpdateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_Update.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_Update.json */ /** * Sample code: InternalNetworks_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java index 4a74e1afd4d25..ce7f7a353f02e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json */ /** * Sample code: InternalNetworks_UpdateStaticRouteBfdAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateSamples.java index 736f075b8d33c..ee2be827d99ba 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateSamples.java @@ -17,7 +17,7 @@ */ public final class InternetGatewayRulesCreateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Create.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Create.json */ /** * Sample code: InternetGatewayRules_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesDeleteSamples.java index c236ba1201d0a..58ad1c81e34b2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewayRulesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Delete.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Delete.json */ /** * Sample code: InternetGatewayRules_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupSamples.java index e333058a1a368..8e6178aa57bb5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewayRulesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Get.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Get.json */ /** * Sample code: InternetGatewayRules_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupSamples.java index b683397b58b58..23f9e04965e84 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewayRulesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_ListByResourceGroup.json */ /** * Sample code: InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListSamples.java index 8118f5190637e..5cd17f2fab09b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewayRulesListSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_ListBySubscription.json */ /** * Sample code: InternetGatewayRules_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesUpdateSamples.java index 8af8b82595154..b1792bc8e7afc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class InternetGatewayRulesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGatewayRules_Update.json + * x-ms-original-file: 2026-01-15-preview/InternetGatewayRules_Update.json */ /** * Sample code: InternetGatewayRules_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateSamples.java index 742dfbd4eafb0..7818672f166e1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateSamples.java @@ -13,7 +13,7 @@ */ public final class InternetGatewaysCreateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Create.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Create.json */ /** * Sample code: InternetGateways_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysDeleteSamples.java index 1c0b0c529ccb7..01a3b0894ee56 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewaysDeleteSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Delete.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Delete.json */ /** * Sample code: InternetGateways_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupSamples.java index 0b05deb995aeb..21f3776e1a79e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewaysGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Get.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Get.json */ /** * Sample code: InternetGateways_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupSamples.java index 2f2016fbeee59..2eebec10bf3f7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewaysListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_ListByResourceGroup.json */ /** * Sample code: InternetGateways_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListSamples.java index 7127be18f8442..71f35c0c29607 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListSamples.java @@ -9,7 +9,7 @@ */ public final class InternetGatewaysListSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_ListBySubscription.json */ /** * Sample code: InternetGateways_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysUpdateSamples.java index 2091a432b9417..df4b501953836 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class InternetGatewaysUpdateSamples { /* - * x-ms-original-file: 2025-07-15/InternetGateways_Update.json + * x-ms-original-file: 2026-01-15-preview/InternetGateways_Update.json */ /** * Sample code: InternetGateways_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateSamples.java index 5a56dab234aef..38fc335b3b380 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateSamples.java @@ -16,7 +16,7 @@ */ public final class IpCommunitiesCreateSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Create.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Create.json */ /** * Sample code: IpCommunities_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesDeleteSamples.java index 2f8a3af12a4f4..6208e7c790fa4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class IpCommunitiesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Delete.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Delete.json */ /** * Sample code: IpCommunities_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupSamples.java index 7ae6d28e33a03..21ef04524d3d3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class IpCommunitiesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Get.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Get.json */ /** * Sample code: IpCommunities_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupSamples.java index d26b9f58fba6e..cbb66acba794e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class IpCommunitiesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_ListByResourceGroup.json */ /** * Sample code: IpCommunities_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListSamples.java index c738b7552f51f..865b626788471 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListSamples.java @@ -9,7 +9,7 @@ */ public final class IpCommunitiesListSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_ListBySubscription.json */ /** * Sample code: IpCommunities_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesUpdateSamples.java index 8bdf63a9e9ec4..abbb5e35d0bf6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesUpdateSamples.java @@ -17,7 +17,7 @@ */ public final class IpCommunitiesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/IpCommunities_Update.json + * x-ms-original-file: 2026-01-15-preview/IpCommunities_Update.json */ /** * Sample code: IpCommunities_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateSamples.java index 001def997e502..212811411656c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateSamples.java @@ -15,7 +15,7 @@ */ public final class IpExtendedCommunitiesCreateSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Create.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Create.json */ /** * Sample code: IpExtendedCommunities_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesDeleteSamples.java index 4f74c13d9d233..2fce4cf4e05c5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class IpExtendedCommunitiesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Delete.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Delete.json */ /** * Sample code: IpExtendedCommunities_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupSamples.java index c64d016fcd836..06f4ec4939b86 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class IpExtendedCommunitiesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Get.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Get.json */ /** * Sample code: IpExtendedCommunities_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupSamples.java index b0836f1386aea..c21485c579267 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class IpExtendedCommunitiesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_ListByResourceGroup.json */ /** * Sample code: IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListSamples.java index 4d39f3dbde15f..ce3ff0450bb67 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListSamples.java @@ -9,7 +9,7 @@ */ public final class IpExtendedCommunitiesListSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_ListBySubscription.json */ /** * Sample code: IpExtendedCommunities_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesUpdateSamples.java index 838c980435d8f..3c054320fb2b2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesUpdateSamples.java @@ -16,7 +16,7 @@ */ public final class IpExtendedCommunitiesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Update.json + * x-ms-original-file: 2026-01-15-preview/IpExtendedCommunities_Update.json */ /** * Sample code: IpExtendedCommunities_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateSamples.java index 6e96853b36d2e..3d0e7141d6de3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateSamples.java @@ -16,7 +16,7 @@ */ public final class IpPrefixesCreateSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Create.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Create.json */ /** * Sample code: IpPrefixes_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesDeleteSamples.java index 27eb2525c0c80..425c5b85d717f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class IpPrefixesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Delete.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Delete.json */ /** * Sample code: IpPrefixes_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupSamples.java index 41b87d339473a..af282b506ecc4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class IpPrefixesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Get.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Get.json */ /** * Sample code: IpPrefixes_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupSamples.java index 9fd0a0b5a2ea5..6bbd30c6b9134 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class IpPrefixesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_ListByResourceGroup.json */ /** * Sample code: IpPrefixes_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListSamples.java index f965a43580c27..e20aef62f0c35 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListSamples.java @@ -9,7 +9,7 @@ */ public final class IpPrefixesListSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_ListBySubscription.json */ /** * Sample code: IpPrefixes_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesUpdateSamples.java index 0d8d075a2fb23..72374ae7754ee 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesUpdateSamples.java @@ -17,7 +17,7 @@ */ public final class IpPrefixesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/IpPrefixes_Update.json + * x-ms-original-file: 2026-01-15-preview/IpPrefixes_Update.json */ /** * Sample code: IpPrefixes_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCommitConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCommitConfigurationSamples.java index 06b4d281338d5..e229722c45ac5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCommitConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCommitConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class L2IsolationDomainsCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_CommitConfiguration.json */ /** * Sample code: L2IsolationDomains_CommitConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateSamples.java index d373d9508208b..fb6ad5b0cbfda 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateSamples.java @@ -16,7 +16,7 @@ */ public final class L2IsolationDomainsCreateSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Create.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Create.json */ /** * Sample code: L2IsolationDomains_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsDeleteSamples.java index 9bd698d04b22d..7612f3a8b0c11 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class L2IsolationDomainsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Delete.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Delete.json */ /** * Sample code: L2IsolationDomains_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupSamples.java index 1bb2725442ed4..e31c473c5ebdb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class L2IsolationDomainsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Get.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Get.json */ /** * Sample code: L2IsolationDomains_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListByResourceGroupSamples.java index 6d49d3a7b9665..ca5c20506750a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class L2IsolationDomainsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_ListByResourceGroup.json */ /** * Sample code: L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListSamples.java index 313c442c697eb..7f88b36944dbf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListSamples.java @@ -9,7 +9,7 @@ */ public final class L2IsolationDomainsListSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_ListBySubscription.json */ /** * Sample code: L2IsolationDomains_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateAdministrativeStateSamples.java index dad2c708bb48d..9520f5226d86d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class L2IsolationDomainsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_UpdateAdministrativeState.json */ /** * Sample code: L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateSamples.java index 11b699e563c91..bde1d7f2f0f6e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsUpdateSamples.java @@ -16,7 +16,7 @@ */ public final class L2IsolationDomainsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_Update.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_Update.json */ /** * Sample code: L2IsolationDomains_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsValidateConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsValidateConfigurationSamples.java index b4d40e7bd9d4c..197666b06ed30 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsValidateConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsValidateConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class L2IsolationDomainsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L2IsolationDomains_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L2IsolationDomains_ValidateConfiguration.json */ /** * Sample code: L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCommitConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCommitConfigurationSamples.java index 8fb08a7f3e3e6..0bb286d651466 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCommitConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCommitConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class L3IsolationDomainsCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_CommitConfiguration.json */ /** * Sample code: L3IsolationDomains_CommitConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateSamples.java index 8f866843fc40f..06ca2a7f7064c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateSamples.java @@ -25,7 +25,7 @@ */ public final class L3IsolationDomainsCreateSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Create.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Create.json */ /** * Sample code: L3IsolationDomains_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsDeleteSamples.java index 542f85d73a1ab..83cc9c9a03127 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class L3IsolationDomainsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Delete.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Delete.json */ /** * Sample code: L3IsolationDomains_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupSamples.java index 9f601c8d11565..84570d32bf365 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class L3IsolationDomainsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Get.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Get.json */ /** * Sample code: L3IsolationDomains_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupSamples.java index 4e0e70d1b1aeb..ecb65835370a2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class L3IsolationDomainsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_ListByResourceGroup.json */ /** * Sample code: L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListSamples.java index f8add5288700e..ddcfc5fb0ccf8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListSamples.java @@ -9,7 +9,7 @@ */ public final class L3IsolationDomainsListSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_ListBySubscription.json */ /** * Sample code: L3IsolationDomains_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateAdministrativeStateSamples.java index 9426b63923599..96b6b4636a6c1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class L3IsolationDomainsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_UpdateAdministrativeState.json */ /** * Sample code: L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateSamples.java index 88b85e699e265..a2644fa3d4568 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsUpdateSamples.java @@ -27,7 +27,7 @@ */ public final class L3IsolationDomainsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_Update.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_Update.json */ /** * Sample code: L3IsolationDomains_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsValidateConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsValidateConfigurationSamples.java index cc54afdc91a4e..49d2bc2ea3a11 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsValidateConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsValidateConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class L3IsolationDomainsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/L3IsolationDomains_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/L3IsolationDomains_ValidateConfiguration.json */ /** * Sample code: L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateSamples.java index 102220f8f34c4..eb44694f4226d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateSamples.java @@ -17,7 +17,7 @@ */ public final class NeighborGroupsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Create.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Create.json */ /** * Sample code: NeighborGroups_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsDeleteSamples.java index 6f774266c039f..32e0be47abf0a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NeighborGroupsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Delete.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Delete.json */ /** * Sample code: NeighborGroups_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupSamples.java index 08ccd46ce266d..cc72b814a2ef3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NeighborGroupsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Get.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Get.json */ /** * Sample code: NeighborGroups_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupSamples.java index 59d5d6e2f038f..dc07cc9781414 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NeighborGroupsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_ListByResourceGroup.json */ /** * Sample code: NeighborGroups_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListSamples.java index f4a05b71317c9..1b4513314fe89 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListSamples.java @@ -9,7 +9,7 @@ */ public final class NeighborGroupsListSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_ListBySubscription.json */ /** * Sample code: NeighborGroups_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsResyncSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsResyncSamples.java index 87b38beeac5f7..a905677b2f082 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsResyncSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsResyncSamples.java @@ -9,7 +9,7 @@ */ public final class NeighborGroupsResyncSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Resync.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Resync.json */ /** * Sample code: NeighborGroups_Resync. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsUpdateSamples.java index 76b6eb67b743c..243a57b971edd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsUpdateSamples.java @@ -18,7 +18,7 @@ */ public final class NeighborGroupsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NeighborGroups_Update.json + * x-ms-original-file: 2026-01-15-preview/NeighborGroups_Update.json */ /** * Sample code: NeighborGroups_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateSamples.java index f52294fea0afa..aae83f8178511 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateSamples.java @@ -7,6 +7,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -15,7 +16,7 @@ */ public final class NetworkBootstrapDevicesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Create.json */ /** * Sample code: NetworkBootstrapDevices_Create_MaximumSet - generated by [MaximumSet] rule - generated by @@ -35,6 +36,8 @@ public static void networkBootstrapDevicesCreateMaximumSetGeneratedByMaximumSetR .withAnnotation("annotation") .withHostName("NFA-Device") .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX") + .withControlPlaneAcls(Arrays.asList( + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")) .withNetworkDeviceSku("DeviceSku") .create(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesDeleteSamples.java index d1c90afddba39..643b0cbec382a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Delete.json */ /** * Sample code: NetworkBootstrapDevices_Delete_MaximumSet - generated by [MaximumSet] rule - generated by diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupSamples.java index d4a8956c60833..94f4053015bf0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Get.json */ /** * Sample code: NetworkBootstrapDevices_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupSamples.java index 68419ba031ba9..25f7abf2d229e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_ListByResourceGroup.json */ /** * Sample code: NetworkBootstrapDevices_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule - generated diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListSamples.java index 4dff07cd9074f..2c61551c41703 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_ListBySubscription.json */ /** * Sample code: NetworkBootstrapDevices_ListBySubscription. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRebootSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRebootSamples.java index 9fc819e595beb..532ba486379c8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRebootSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRebootSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesRebootSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Reboot.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Reboot.json */ /** * Sample code: NetworkBootstrapDevices_Reboot_MaximumSet - generated by [MaximumSet] rule - generated by diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRefreshConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRefreshConfigurationSamples.java index 2a71c61b124c8..ce20db92db49b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRefreshConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesRefreshConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesRefreshConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_RefreshConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_RefreshConfiguration.json */ /** * Sample code: NetworkBootstrapDevices_RefreshConfiguration_MaximumSet - generated by [MaximumSet] rule - generated diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesResyncPasswordsSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesResyncPasswordsSamples.java index 85b8eae8504ca..850a09b679746 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesResyncPasswordsSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesResyncPasswordsSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapDevicesResyncPasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ResyncPasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_ResyncPasswords.json */ /** * Sample code: Resync the latest passwords to the Network Bootstrap Device. - generated by [MaximumSet] rule - diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateAdministrativeStateSamples.java index 70478fcbb60f7..77a3cda61a0c7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkBootstrapDevicesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_UpdateAdministrativeState.json */ /** * Sample code: NetworkBootstrapDevices_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule - diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateSamples.java index 3e30717289fd2..d86a08f360fea 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpdateSamples.java @@ -8,6 +8,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -16,7 +17,7 @@ */ public final class NetworkBootstrapDevicesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Update.json */ /** * Sample code: NetworkBootstrapDevices_Update_MaximumSet - generated by [MaximumSet] rule - generated by @@ -36,6 +37,8 @@ public static void networkBootstrapDevicesUpdateMaximumSetGeneratedByMaximumSetR .withAnnotation("annotation") .withHostName("NFA-Device") .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX") + .withControlPlaneAcls(Arrays.asList( + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")) .apply(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpgradeSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpgradeSamples.java index bac5beb4f3490..45f715025d3b6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpgradeSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesUpgradeSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkBootstrapDevicesUpgradeSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Upgrade.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapDevices_Upgrade.json */ /** * Sample code: NetworkBootstrapDevices_Upgrade_MaximumSet - generated by [MaximumSet] rule - generated by diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateSamples.java index 14a6001ecb1c5..ef27a9bb46f74 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapInterfacesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Create.json */ /** * Sample code: NetworkBootstrapInterfaces_Create_MaximumSet - generated by [MaximumSet] rule - generated by @@ -23,7 +23,6 @@ public static void networkBootstrapInterfacesCreateMaximumSetGeneratedByMaximumS .define("example-interface") .withExistingNetworkBootstrapDevice("example-rg", "example-device") .withAdditionalDescription("additionalDescription") - .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX") .withAnnotation("annotation") .create(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesDeleteSamples.java index 488c8e7912790..0d36df9380e35 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapInterfacesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Delete.json */ /** * Sample code: NetworkBootstrapInterfaces_Delete_MaximumSet - generated by [MaximumSet] rule - generated by diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetSamples.java index 06c572a2e9f0e..4f03bce2b5df9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapInterfacesGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Get.json */ /** * Sample code: NetworkBootstrapInterfaces_Get_MaximumSet - generated by [MaximumSet] rule - generated by diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples.java index 702e39671172d..70cbbf3daf3c1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice.json */ /** * Sample code: NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice_MaximumSet - generated by [MaximumSet] rule diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateAdministrativeStateSamples.java index e157184723bb6..ababd05f08037 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateAdministrativeStateSamples.java @@ -13,15 +13,17 @@ */ public final class NetworkBootstrapInterfacesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_UpdateAdministrativeState.json */ /** - * Sample code: NetworkBootstrapInterfaces_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule. + * Sample code: NetworkBootstrapInterfaces_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule - + * generated by [MaximumSet] rule. * * @param manager Entry point to ManagedNetworkFabricManager. */ - public static void networkBootstrapInterfacesUpdateAdministrativeStateMaximumSetGeneratedByMaximumSetRule( - com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { + public static void + networkBootstrapInterfacesUpdateAdministrativeStateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule( + com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { manager.networkBootstrapInterfaces() .updateAdministrativeState("example-rg", "example-device", "example-interface", new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE), diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateSamples.java index 90be090ef09dc..2e398dcbb14c4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesUpdateSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkBootstrapInterfacesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkBootstrapInterfaces_Update.json */ /** * Sample code: NetworkBootstrapInterfaces_Update_MaximumSet - generated by [MaximumSet] rule - generated by @@ -24,9 +24,6 @@ public static void networkBootstrapInterfacesUpdateMaximumSetGeneratedByMaximumS 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(); + resource.update().withAnnotation("annotation").apply(); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetSamples.java index c3b9199d57169..d74cd4c6b60d3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDeviceSkusGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDeviceSkus_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkDeviceSkus_Get.json */ /** * Sample code: NetworkDeviceSkus_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListSamples.java index e2904854863fb..cba19bfb4e098 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDeviceSkusListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDeviceSkus_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkDeviceSkus_ListBySubscription.json */ /** * Sample code: NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesCreateSamples.java index d35c3483c2211..3cc3ef0db7538 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesCreateSamples.java @@ -17,7 +17,7 @@ */ public final class NetworkDevicesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Create.json */ /** * Sample code: NetworkDevices_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesDeleteSamples.java index 06de689df04b2..7422d1425f36e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Delete.json */ /** * Sample code: NetworkDevices_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesGetByResourceGroupSamples.java index e04149af7702d..8f264b5d36ef1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Get.json */ /** * Sample code: NetworkDevices_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListByResourceGroupSamples.java index bfac643f9847d..19cf9a7ba3572 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ListByResourceGroup.json */ /** * Sample code: NetworkDevices_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListSamples.java index b92af99a64b7a..62a4f5178bf82 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ListBySubscription.json */ /** * Sample code: NetworkDevices_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRebootSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRebootSamples.java index 85befcc4479d4..7511704fe4de1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRebootSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRebootSamples.java @@ -12,7 +12,7 @@ */ public final class NetworkDevicesRebootSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Reboot.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Reboot.json */ /** * Sample code: NetworkDevices_Reboot_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRefreshConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRefreshConfigurationSamples.java index 61ea5f35f7bc4..38a2075b0f24f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRefreshConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRefreshConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesRefreshConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_RefreshConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_RefreshConfiguration.json */ /** * Sample code: NetworkDevices_RefreshConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncCertificatesSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncCertificatesSamples.java index 4d78827389259..89c6b353282a5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncCertificatesSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncCertificatesSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesResyncCertificatesSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncCertificates.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncCertificates.json */ /** * Sample code: Successful certificate resync. @@ -22,7 +22,7 @@ public static void successfulCertificateResync( } /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncCertificates_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncCertificates_Error.json */ /** * Sample code: Error while performing certificate resync. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncPasswordsSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncPasswordsSamples.java index 13d0822dc29d3..1ec0d9c50b6d3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncPasswordsSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesResyncPasswordsSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkDevicesResyncPasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncPasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncPasswords.json */ /** * Sample code: Successful password resync. @@ -22,7 +22,7 @@ public final class NetworkDevicesResyncPasswordsSamples { } /* - * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncPasswords_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_ResyncPasswords_Error.json */ /** * Sample code: Error while performing password resync. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRoCommandSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRoCommandSamples.java index 5176ba3f2bd6b..1d43146bda561 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRoCommandSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRoCommandSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkDevicesRunRoCommandSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_RunRoCommand.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_RunRoCommand.json */ /** * Sample code: NetworkDevices_RunRoCommand_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRwCommandSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRwCommandSamples.java index 5dc17a6ecb513..826a0e2664a93 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRwCommandSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesRunRwCommandSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkDevicesRunRwCommandSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_RunRwCommand.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_RunRwCommand.json */ /** * Sample code: NetworkDevices_RunRwCommand_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateAdministrativeStateSamples.java index b48dd3327b371..5be85b2fa9c2c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkDevicesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_UpdateAdministrativeState.json */ /** * Sample code: NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateSamples.java index f5f92c291cc13..bef7b45e8982b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpdateSamples.java @@ -18,7 +18,7 @@ */ public final class NetworkDevicesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Update.json */ /** * Sample code: NetworkDevices_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpgradeSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpgradeSamples.java index 590fc6ddb8a7d..3c1fa6793bd8a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpgradeSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicesUpgradeSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkDevicesUpgradeSamples { /* - * x-ms-original-file: 2025-07-15/NetworkDevices_Upgrade.json + * x-ms-original-file: 2026-01-15-preview/NetworkDevices_Upgrade.json */ /** * Sample code: NetworkDevices_Upgrade_MaximumSet_Gen - generated by [MaximumSet] rule. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersCreateSamples.java index bc28ad625d285..f6cd19c8b8ec7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersCreateSamples.java @@ -11,6 +11,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.NfcSku; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import com.azure.resourcemanager.managednetworkfabric.models.VmProfile; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -20,7 +21,7 @@ */ public final class NetworkFabricControllersCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Create.json */ /** * Sample code: NetworkFabricControllers_Create_MaximumSet_Gen. @@ -51,6 +52,7 @@ public static void networkFabricControllersCreateMaximumSetGen( .withIpv4AddressSpace("172.253.0.0/19") .withIpv6AddressSpace("::/60") .withNfcSku(NfcSku.STANDARD) + .withVmProfile(new VmProfile().withVmSkuName("Standard_D4s_v3")) .create(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersDeleteSamples.java index 4e591ed565184..e2080ab877e11 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricControllersDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Delete.json */ /** * Sample code: NetworkFabricControllers_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersGetByResourceGroupSamples.java index 8e7d3636d34e8..e90d4a7af7d8e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricControllersGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Get.json */ /** * Sample code: NetworkFabricControllers_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListByResourceGroupSamples.java index a7666452aaf7f..7a4c26c321dda 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricControllersListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_ListByResourceGroup.json */ /** * Sample code: NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListSamples.java index 25631ace5838b..69da3ab482590 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricControllersListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_ListBySubscription.json */ /** * Sample code: NetworkFabricControllers_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersUpdateSamples.java index dec9f6a3468b7..e686f855cae97 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricControllersUpdateSamples.java @@ -18,7 +18,7 @@ */ public final class NetworkFabricControllersUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricControllers_Update.json */ /** * Sample code: NetworkFabricControllers_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetSamples.java index c84c1497b7180..a54891aab5fe3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricSkusGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricSkus_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricSkus_Get.json */ /** * Sample code: NetworkFabricSkus_Get_MaximumSet_Gen. @@ -18,6 +18,6 @@ public final class NetworkFabricSkusGetSamples { */ public static void networkFabricSkusGetMaximumSetGen( com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { - manager.networkFabricSkus().getWithResponse("example-fabricsku", com.azure.core.util.Context.NONE); + manager.networkFabricSkus().getWithResponse("wxample-fabricsku", com.azure.core.util.Context.NONE); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListSamples.java index 3dffc79938dfe..54ff4889b00f3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricSkusListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabricSkus_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabricSkus_ListBySubscription.json */ /** * Sample code: NetworkFabricSkus_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsArmConfigurationDiffSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsArmConfigurationDiffSamples.java index 5b03e95920cf1..f0bd724faf526 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsArmConfigurationDiffSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsArmConfigurationDiffSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsArmConfigurationDiffSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ArmConfigurationDiff.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ArmConfigurationDiff.json */ /** * Sample code: NetworkFabrics_ArmConfigurationDiff_MaximumSet. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitBatchStatusSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitBatchStatusSamples.java index 0d378c1c293c7..16c4e7648eb72 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitBatchStatusSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitBatchStatusSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkFabricsCommitBatchStatusSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_CommitBatchStatus.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_CommitBatchStatus.json */ /** * Sample code: NetworkFabrics_CommitBatchStatus_MaximumSet. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitConfigurationSamples.java index df65eebad2c4f..c110299dddfea 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCommitConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_CommitConfiguration.json */ /** * Sample code: NetworkFabrics_CommitConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCreateSamples.java index 8d2814cef1df7..330d29b7c6518 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsCreateSamples.java @@ -13,11 +13,15 @@ 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.PostUpgradeProfileProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties; import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings; 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.UpgradeProfileProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties; import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties; @@ -31,7 +35,7 @@ */ public final class NetworkFabricsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Create.json */ /** * Sample code: NetworkFabrics_Create_MaximumSet_Gen. @@ -121,6 +125,17 @@ public static void networkFabricsCreateMaximumSetGen( .withStorageArrayCount(1) .withAuthorizedTransceiver( new AuthorizedTransceiverProperties().withVendor("vendorX").withKey("fakeTokenPlaceholder")) + .withSecretArchiveSettings(new SecretArchiveSettings().withAssociatedIdentity(new IdentitySelector() + .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity")) + .withVaultUri("https://myvault.vault.azure.net/")) + .withUpgradeProfile(Arrays.asList(new UpgradeProfileProperties() + .withPreUpgradeProfile( + new PreUpgradeProfileProperties().withMaxEnteringMaintenanceTimeoutInSeconds(300)) + .withPostUpgradeProfile( + new PostUpgradeProfileProperties().withMaxExitingMaintenanceTimeoutInSeconds(3000) + .withMlagReloadDelayTimeoutInSeconds(900)))) .withAnnotation("annotation") .create(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeleteSamples.java index 4cefba9a6db3d..39c24db8103c2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Delete.json */ /** * Sample code: NetworkFabrics_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeprovisionSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeprovisionSamples.java index a9ab9918f17f8..a1bc13a1a9263 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeprovisionSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDeprovisionSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsDeprovisionSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Deprovision.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Deprovision.json */ /** * Sample code: NetworkFabrics_Deprovision_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDiscardCommitBatchSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDiscardCommitBatchSamples.java index 22e4347a1c813..b8bab47a42151 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDiscardCommitBatchSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsDiscardCommitBatchSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkFabricsDiscardCommitBatchSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_DiscardCommitBatch.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_DiscardCommitBatch.json */ /** * Sample code: NetworkFabrics_DiscardCommitBatch. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetByResourceGroupSamples.java index 567336b8170fe..90e1464de6efb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Get.json */ /** * Sample code: NetworkFabrics_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetTopologySamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetTopologySamples.java index c1afdc07db691..e9580d1513951 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetTopologySamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsGetTopologySamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsGetTopologySamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_GetTopology.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_GetTopology.json */ /** * Sample code: NetworkFabrics_GetTopology_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListByResourceGroupSamples.java index 31f39d7ab1af5..1ee255a7ce84e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ListByResourceGroup.json */ /** * Sample code: NetworkFabrics_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListSamples.java index 6b5795c6b86e9..ae1f859051da1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ListBySubscription.json */ /** * Sample code: NetworkFabrics_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsLockFabricSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsLockFabricSamples.java index 167ef7f3574f8..1087651d942c5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsLockFabricSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsLockFabricSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkFabricsLockFabricSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_LockFabric.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_LockFabric.json */ /** * Sample code: NetworkFabrics_LockFabric_MaximumSet. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsProvisionSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsProvisionSamples.java index 79b2aaf87f0c0..fc3d1094d7bf2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsProvisionSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsProvisionSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsProvisionSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Provision.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Provision.json */ /** * Sample code: NetworkFabrics_Provision_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRefreshConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRefreshConfigurationSamples.java index 8b8253df792a7..21dbd6878e04a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRefreshConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRefreshConfigurationSamples.java @@ -4,12 +4,18 @@ package com.azure.resourcemanager.managednetworkfabric.generated; +import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationRegenerationType; +import com.azure.resourcemanager.managednetworkfabric.models.GenerateBaseConfiguration; +import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRefreshDeviceTypes; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; +import java.util.Arrays; + /** * Samples for NetworkFabrics RefreshConfiguration. */ public final class NetworkFabricsRefreshConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RefreshConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RefreshConfiguration.json */ /** * Sample code: NetworkFabrics_RefreshConfiguration_MaximumSet_Gen. @@ -18,6 +24,13 @@ public final class NetworkFabricsRefreshConfigurationSamples { */ public static void networkFabricsRefreshConfigurationMaximumSetGen( com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { - manager.networkFabrics().refreshConfiguration("example-rg", "example-fabric", com.azure.core.util.Context.NONE); + manager.networkFabrics() + .refreshConfiguration("example-rg", "example-fabric", + new RefreshConfigurationRequestProperties() + .withGenerateBaseConfiguration(GenerateBaseConfiguration.DISABLED) + .withConfigurationRegenerationType(ConfigurationRegenerationType.fromString("Full")) + .withDeviceTypes( + Arrays.asList(NetworkFabricRefreshDeviceTypes.CE, NetworkFabricRefreshDeviceTypes.TOR)), + com.azure.core.util.Context.NONE); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncCertificatesSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncCertificatesSamples.java index ffee033b1de2f..4504d843a159a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncCertificatesSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncCertificatesSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsResyncCertificatesSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncCertificates.json */ /** * Sample code: Successful certificate resync for all Network Devices. @@ -22,7 +22,7 @@ public static void successfulCertificateResyncForAllNetworkDevices( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncCertificates_Error.json */ /** * Sample code: Total failure to resync certificates. @@ -35,7 +35,7 @@ public static void totalFailureToResyncCertificates( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncCertificates_PartialSuccess.json */ /** * Sample code: Partial failure to resync certificates for some devices. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncPasswordsSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncPasswordsSamples.java index 3329d1d9849e0..63e4ff40d3bea 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncPasswordsSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsResyncPasswordsSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsResyncPasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncPasswords_PartialSuccess.json */ /** * Sample code: Partial failure to resync passwords for some devices. @@ -22,7 +22,7 @@ public static void partialFailureToResyncPasswordsForSomeDevices( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncPasswords_Error.json */ /** * Sample code: Total failure to resync passwords. @@ -35,7 +35,7 @@ public static void totalFailureToResyncPasswords( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ResyncPasswords.json */ /** * Sample code: Successful password resync for the Terminal Server and all Network Devices. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotateCertificatesSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotateCertificatesSamples.java index 1818575d9b9f8..aca8c95a274c2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotateCertificatesSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotateCertificatesSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsRotateCertificatesSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotateCertificates_Error.json */ /** * Sample code: Total failure to rotate certificates. @@ -22,7 +22,7 @@ public static void totalFailureToRotateCertificates( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotateCertificates_PartialSuccess.json */ /** * Sample code: Partial failure to rotate certificates for some devices. @@ -35,7 +35,7 @@ public static void partialFailureToRotateCertificatesForSomeDevices( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotateCertificates.json */ /** * Sample code: Successful certificate rotation for all Network Devices. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotatePasswordsSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotatePasswordsSamples.java index 6cfa14d355b43..c446b1378273f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotatePasswordsSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsRotatePasswordsSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsRotatePasswordsSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotatePasswords.json */ /** * Sample code: Successful password rotation for the Terminal Server and all Network Devices. @@ -22,7 +22,7 @@ public static void successfulPasswordRotationForTheTerminalServerAndAllNetworkDe } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords_Error.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotatePasswords_Error.json */ /** * Sample code: Total failure to rotate passwords. @@ -35,7 +35,7 @@ public static void totalFailureToRotatePasswords( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords_PartialSuccess.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_RotatePasswords_PartialSuccess.json */ /** * Sample code: Partial failure to rotate passwords for some devices. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateInfraManagementBfdConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateInfraManagementBfdConfigurationSamples.java index b9e99ff417c01..2f014bf769906 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateInfraManagementBfdConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateInfraManagementBfdConfigurationSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkFabricsUpdateInfraManagementBfdConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json */ /** * Sample code: NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateSamples.java index 1a9f90b9402c9..fd3bbdb0c7a22 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateSamples.java @@ -14,13 +14,17 @@ 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.PostUpgradeProfilePatchProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties; 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.SecretArchivePatchSettings; 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.UpgradeProfilePropertiesPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties; import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties; @@ -34,7 +38,7 @@ */ public final class NetworkFabricsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Update_QoS.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Update_QoS.json */ /** * Sample code: NetworkFabrics_Update_QoS_Enable. @@ -52,7 +56,7 @@ public static void networkFabricsUpdateQoSEnable( } /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Update.json */ /** * Sample code: NetworkFabrics_Update_MaximumSet_Gen. @@ -141,6 +145,18 @@ public static void networkFabricsUpdateMaximumSetGen( .withQosConfiguration(new QosPatchProperties().withQosConfigurationState(QosConfigurationState.ENABLED)) .withFeatureFlags(Arrays.asList(new FeatureFlagProperties().withFeatureFlagName("uniqueRdConfiguration") .withFeatureFlagValue("Enabled"))) + .withSecretArchiveSettings(new SecretArchivePatchSettings() + .withAssociatedIdentity(new IdentitySelectorPatch() + .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity")) + .withVaultUri("https://myvault.vault.azure.net/")) + .withUpgradeProfileForUpdate(Arrays.asList(new UpgradeProfilePropertiesPatchProperties() + .withPreUpgradeProfile( + new PreUpgradeProfilePatchProperties().withMaxEnteringMaintenanceTimeoutInSeconds(300)) + .withPostUpgradeProfile( + new PostUpgradeProfilePatchProperties().withMaxExitingMaintenanceTimeoutInSeconds(3000) + .withMlagReloadDelayTimeoutInSeconds(900)))) .apply(); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples.java index 98589d4d6b71e..92759fb4558c2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json */ /** * Sample code: NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpgradeSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpgradeSamples.java index 5fc697fc7d291..fa9d3a0dd3e32 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpgradeSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsUpgradeSamples.java @@ -12,7 +12,7 @@ */ public final class NetworkFabricsUpgradeSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_Upgrade.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_Upgrade.json */ /** * Sample code: NetworkFabrics_Upgrade_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsValidateConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsValidateConfigurationSamples.java index dbbb9050cad3e..aa9f86417a697 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsValidateConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsValidateConfigurationSamples.java @@ -12,7 +12,7 @@ */ public final class NetworkFabricsValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ValidateConfiguration.json */ /** * Sample code: NetworkFabrics_ValidateConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsViewDeviceConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsViewDeviceConfigurationSamples.java index 84dcea1f4ecf9..e233986547b38 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsViewDeviceConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricsViewDeviceConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkFabricsViewDeviceConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkFabrics_ViewDeviceConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkFabrics_ViewDeviceConfiguration.json */ /** * Sample code: NetworkFabrics_ViewDeviceConfiguration_MaximumSet. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateSamples.java index 137e780eab98d..35acb322086d8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkInterfacesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Create.json */ /** * Sample code: NetworkInterfaces_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesDeleteSamples.java index 3bcff316ae717..9b760ef6232d5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkInterfacesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Delete.json */ /** * Sample code: NetworkInterfaces_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetSamples.java index 73a224742014e..b917455cd0ab9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkInterfacesGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Get.json */ /** * Sample code: NetworkInterfaces_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceSamples.java index bb2e9dcf0fb7b..37212b68f9c27 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkInterfacesListByNetworkDeviceSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_ListByNetworkDevice.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_ListByNetworkDevice.json */ /** * Sample code: NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateAdministrativeStateSamples.java index 5de771bcfd1a7..cda38f7fa1c0a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkInterfacesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_UpdateAdministrativeState.json */ /** * Sample code: NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateSamples.java index c5c00154b35c4..01b28c4ef32e9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesUpdateSamples.java @@ -11,7 +11,7 @@ */ public final class NetworkInterfacesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkInterfaces_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkInterfaces_Update.json */ /** * Sample code: NetworkInterfaces_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateSamples.java index cb26be91ee8e9..ccc5ed55eb629 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateSamples.java @@ -20,7 +20,7 @@ */ public final class NetworkMonitorsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Create.json */ /** * Sample code: NetworkMonitors_Create. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsDeleteSamples.java index 6407142988878..71452f6d06baf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkMonitorsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Delete.json */ /** * Sample code: NetworkMonitors_Delete_MaximumSet. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupSamples.java index daeb0af306169..4afd3ca481af2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkMonitorsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Get.json */ /** * Sample code: NetworkMonitors_Get_MaximumSet. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupSamples.java index 91995eb45b18a..6948bd9603734 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkMonitorsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_ListByResourceGroup.json */ /** * Sample code: NetworkMonitors_ListByResourceGroup. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListSamples.java index ddeb5950c5705..23fe66f1a1247 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkMonitorsListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_ListBySubscription.json */ /** * Sample code: NetworkMonitors_ListBySubscription. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateAdministrativeStateSamples.java index 3ea33e3d1b208..c022e7446d727 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkMonitorsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_UpdateAdministrativeState.json */ /** * Sample code: NetworkMonitors_UpdateAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateSamples.java index 4dd675859c443..e518ca29cbcc8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsUpdateSamples.java @@ -21,7 +21,7 @@ */ public final class NetworkMonitorsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkMonitors_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkMonitors_Update.json */ /** * Sample code: NetworkMonitors_Update. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateSamples.java index a62e86537a71c..041c43598197c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateSamples.java @@ -15,7 +15,7 @@ */ public final class NetworkPacketBrokersCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Create.json */ /** * Sample code: NetworkPacketBrokers_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersDeleteSamples.java index cc816b5fbd893..cfb4086799072 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkPacketBrokersDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Delete.json */ /** * Sample code: NetworkPacketBrokers_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupSamples.java index 040c2c92a1866..1fd43c22e1103 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkPacketBrokersGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Get.json */ /** * Sample code: NetworkPacketBrokers_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupSamples.java index 873fa1356a759..aa98d02b98338 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkPacketBrokersListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_ListByResourceGroup.json */ /** * Sample code: NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListSamples.java index 833f4a9990de4..a4b30896faed7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkPacketBrokersListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_ListBySubscription.json */ /** * Sample code: NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersUpdateSamples.java index 8a4155a2bbf06..7fb6cae7be535 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersUpdateSamples.java @@ -7,6 +7,7 @@ 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.NetworkPacketBrokerPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import java.util.HashMap; import java.util.Map; @@ -16,7 +17,7 @@ */ public final class NetworkPacketBrokersUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkPacketBrokers_Update.json */ /** * Sample code: NetworkPacketBrokers_Update_MaximumSet_Gen. @@ -31,6 +32,8 @@ public static void networkPacketBrokersUpdateMaximumSetGen( .getValue(); resource.update() .withTags(mapOf("keyId", "fakeTokenPlaceholder")) + .withProperties(new NetworkPacketBrokerPatchProperties().withSourceNetworkTapRuleId( + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule")) .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE) .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity()))) .apply(); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateSamples.java index 2923512f9bb1d..b2cd49d2b935f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkRacksCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Create.json */ /** * Sample code: NetworkRacks_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksDeleteSamples.java index b4410789a94c5..dabb27072a79d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkRacksDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Delete.json */ /** * Sample code: NetworkRacks_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupSamples.java index 4cce7d88f7eee..fbdddbd786bd7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkRacksGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Get.json */ /** * Sample code: NetworkRacks_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupSamples.java index 2c18ef881faed..787cc3d151819 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkRacksListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_ListByResourceGroup.json */ /** * Sample code: NetworkRacks_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListSamples.java index 3a3ca245a856b..84abeb0c328f9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkRacksListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_ListBySubscription.json */ /** * Sample code: NetworkRacks_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksUpdateSamples.java index 9ea501d29893c..550689ef16c49 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkRacksUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkRacks_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkRacks_Update.json */ /** * Sample code: NetworkRacks_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateSamples.java index 9b3526e022e88..5943301869725 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateSamples.java @@ -38,7 +38,7 @@ */ public final class NetworkTapRulesCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Create.json */ /** * Sample code: NetworkTapRules_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesDeleteSamples.java index 0557044daa540..6d28595758fe5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapRulesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Delete.json */ /** * Sample code: NetworkTapRules_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupSamples.java index ac5690d894024..958f9f5291838 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapRulesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Get.json */ /** * Sample code: NetworkTapRules_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupSamples.java index 429302ec76984..3f046f4e8be99 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapRulesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_ListByResourceGroup.json */ /** * Sample code: NetworkTapRules_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListSamples.java index 5b004f2c4ca93..2d8570d202d2c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapRulesListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_ListBySubscription.json */ /** * Sample code: NetworkTapRules_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesResyncSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesResyncSamples.java index 629d1e83e0bdb..2f478ec0de929 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesResyncSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesResyncSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapRulesResyncSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Resync.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Resync.json */ /** * Sample code: NetworkTapRules_Resync_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateAdministrativeStateSamples.java index 9e3b91279707f..a796ebfe8f0e0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkTapRulesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_UpdateAdministrativeState.json */ /** * Sample code: NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateSamples.java index 13cd7d2b649c8..d97d9518ef8c0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesUpdateSamples.java @@ -39,7 +39,7 @@ */ public final class NetworkTapRulesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_Update.json */ /** * Sample code: NetworkTapRules_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesValidateConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesValidateConfigurationSamples.java index 807da41fb3cc1..beed429413319 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesValidateConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesValidateConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapRulesValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTapRules_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/NetworkTapRules_ValidateConfiguration.json */ /** * Sample code: NetworkTapRules_ValidateConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateSamples.java index 3e06cec09d0a7..134349c867bd4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateSamples.java @@ -21,7 +21,7 @@ */ public final class NetworkTapsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Create.json */ /** * Sample code: NetworkTaps_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsDeleteSamples.java index 5a8ef8dc3f3bc..098045f915c92 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Delete.json */ /** * Sample code: NetworkTaps_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupSamples.java index edd58e08cc151..fb1adbdfd8e36 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapsGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Get.json */ /** * Sample code: NetworkTaps_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupSamples.java index af9d08df2f92b..38ce9f7064482 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapsListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_ListByResourceGroup.json */ /** * Sample code: NetworkTaps_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListSamples.java index 57b95a1163d8d..84cb49c800b43 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapsListSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_ListBySubscription.json */ /** * Sample code: NetworkTaps_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsResyncSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsResyncSamples.java index bf55ddf2cc3a1..1aa4797671f4f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsResyncSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsResyncSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkTapsResyncSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Resync.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Resync.json */ /** * Sample code: NetworkTaps_Resync_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateAdministrativeStateSamples.java index c5348d170d613..c82d3fdb1c606 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkTapsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_UpdateAdministrativeState.json */ /** * Sample code: NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateSamples.java index 0362452841809..c5a9d0bfb19e3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsUpdateSamples.java @@ -22,7 +22,7 @@ */ public final class NetworkTapsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkTaps_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkTaps_Update.json */ /** * Sample code: NetworkTaps_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateSamples.java index 6c6687140166c..ef5522853cd42 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateSamples.java @@ -27,7 +27,7 @@ */ public final class NetworkToNetworkInterconnectsCreateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Create.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Create.json */ /** * Sample code: NetworkToNetworkInterconnects_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsDeleteSamples.java index acecc2db4249c..feff2558c4954 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkToNetworkInterconnectsDeleteSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Delete.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Delete.json */ /** * Sample code: NetworkToNetworkInterconnects_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetSamples.java index 6b720926abd27..4a29098328342 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkToNetworkInterconnectsGetSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Get.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Get.json */ /** * Sample code: NetworkToNetworkInterconnects_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricSamples.java index 2bbf0ae761050..7665bbca66ef7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricSamples.java @@ -9,7 +9,7 @@ */ public final class NetworkToNetworkInterconnectsListByNetworkFabricSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_ListByNetworkFabric.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json */ /** * Sample code: NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples.java index 224293bee1d3a..483319025bb2f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json */ /** * Sample code: NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen. @@ -24,9 +24,7 @@ public static void networkToNetworkInterconnectsUpdateAdministrativeStateMaximum com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) { manager.networkToNetworkInterconnects() .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), + new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE), com.azure.core.util.Context.NONE); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples.java index ed7877e69d549..564bd69a3ec5a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json */ /** * Sample code: NetworkToNetworkInterconnects_UpdateBfdAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateSamples.java index ed5858fd833de..33f7694512205 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateSamples.java @@ -13,7 +13,8 @@ */ public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json + * x-ms-original-file: + * 2026-01-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json */ /** * Sample code: NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateSamples.java index 5f7b0136a940c..d6b961b94c01e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsUpdateSamples.java @@ -24,7 +24,7 @@ */ public final class NetworkToNetworkInterconnectsUpdateSamples { /* - * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Update.json + * x-ms-original-file: 2026-01-15-preview/NetworkToNetworkInterconnects_Update.json */ /** * Sample code: NetworkToNetworkInterconnects_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListSamples.java index 0d7269bd5a993..6a3df78bd7173 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListSamples.java @@ -9,7 +9,7 @@ */ public final class OperationsListSamples { /* - * x-ms-original-file: 2025-07-15/Operations_List.json + * x-ms-original-file: 2026-01-15-preview/Operations_List.json */ /** * Sample code: Operations_List_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCommitConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCommitConfigurationSamples.java index 2f52eb1f3f3ea..45bfdf0073af2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCommitConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCommitConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class RoutePoliciesCommitConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_CommitConfiguration.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_CommitConfiguration.json */ /** * Sample code: RoutePolicies_CommitConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateSamples.java index 117b756a2f802..9f5fbc83b4abf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateSamples.java @@ -24,7 +24,7 @@ */ public final class RoutePoliciesCreateSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Create.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Create.json */ /** * Sample code: RoutePolicies_Create_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesDeleteSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesDeleteSamples.java index e15cf0af34fef..285d079973f74 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesDeleteSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class RoutePoliciesDeleteSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Delete.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Delete.json */ /** * Sample code: RoutePolicies_Delete_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupSamples.java index 7379d07603396..34f90a0337401 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class RoutePoliciesGetByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Get.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Get.json */ /** * Sample code: RoutePolicies_Get_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupSamples.java index 2d550b5493d4d..fda73560762c1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class RoutePoliciesListByResourceGroupSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_ListByResourceGroup.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_ListByResourceGroup.json */ /** * Sample code: RoutePolicies_ListByResourceGroup_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListSamples.java index ff41c21dee282..301cee3a0d101 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListSamples.java @@ -9,7 +9,7 @@ */ public final class RoutePoliciesListSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_ListBySubscription.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_ListBySubscription.json */ /** * Sample code: RoutePolicies_ListBySubscription_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateAdministrativeStateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateAdministrativeStateSamples.java index 6182d455d90ee..c86aff7aad7bb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateAdministrativeStateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateAdministrativeStateSamples.java @@ -13,7 +13,7 @@ */ public final class RoutePoliciesUpdateAdministrativeStateSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_UpdateAdministrativeState.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_UpdateAdministrativeState.json */ /** * Sample code: RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateSamples.java index 2d848285a33b2..d88117b8827cc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesUpdateSamples.java @@ -24,7 +24,7 @@ */ public final class RoutePoliciesUpdateSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_Update.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_Update.json */ /** * Sample code: RoutePolicies_Update_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesValidateConfigurationSamples.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesValidateConfigurationSamples.java index 326b6b881fc41..66699de90c977 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesValidateConfigurationSamples.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/samples/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesValidateConfigurationSamples.java @@ -9,7 +9,7 @@ */ public final class RoutePoliciesValidateConfigurationSamples { /* - * x-ms-original-file: 2025-07-15/RoutePolicies_ValidateConfiguration.json + * x-ms-original-file: 2026-01-15-preview/RoutePolicies_ValidateConfiguration.json */ /** * Sample code: RoutePolicies_ValidateConfiguration_MaximumSet_Gen. diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchPropertiesTests.java index d58c918761272..c0e106f3b410c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchPropertiesTests.java @@ -47,7 +47,7 @@ public final class AccessControlListPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AccessControlListPatchProperties model = BinaryData.fromString( - "{\"configurationType\":\"Inline\",\"aclsUrl\":\"bdb\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"hedsvqwthmkyib\",\"sequenceNumber\":5904504388663898201,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"etherTypes\":[\"dhohsdtmcdzsuf\",\"ohdxbzlmcmu\",\"pcvhdbevwqqxeys\",\"onqzinkfkbgbzbow\"],\"fragments\":[\"o\"],\"ipLengths\":[\"mygvkzqkj\",\"eokbze\"],\"ttlValues\":[\"rx\",\"czurtlei\",\"q\"],\"dscpMarkings\":[\"wvz\"],\"portCondition\":{\"flags\":[\"dfbzdixzmq\"],\"portType\":\"Bidirectional\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"pqhe\",\"jptmcgsbost\",\"eln\"],\"portGroupNames\":[\"tutmzl\",\"iojlvfhrb\",\"pn\",\"qvcww\"]},\"protocolNeighbors\":[\"r\",\"ochpprpr\",\"nmokayzejnhlbk\"],\"icmpConfiguration\":{\"icmpTypes\":[\"cpilj\",\"a\"]},\"protocolTypes\":[\"echndbnwieholew\",\"wiuub\",\"efqsfapaqtferrqw\",\"x\"],\"vlanMatchCondition\":{\"vlans\":[\"xap\",\"wogqqnobpudcdab\",\"qwpwyawbzasqbuc\",\"jg\"],\"innerVlans\":[\"xa\",\"guyaip\"],\"vlanGroupNames\":[\"daultxijjumfq\",\"azlnqnmcjngzqdqx\",\"bjwgnyfus\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"zh\",\"jqg\",\"cfhmlrqryxyn\"],\"ipGroupNames\":[\"rd\",\"sovwxznptgoeiyb\",\"abpfhvfs\",\"kvntjlrigjkskyri\"]}},{\"etherTypes\":[\"zid\",\"xwaabzmifrygznmm\",\"xrizkzobgop\"],\"fragments\":[\"slnelx\"],\"ipLengths\":[\"xynl\",\"xecwcro\",\"phslhcawjutifdw\",\"mvi\"],\"ttlValues\":[\"qj\"],\"dscpMarkings\":[\"zhraglkafh\"],\"portCondition\":{\"flags\":[\"ujeickp\"],\"portType\":\"Bidirectional\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"xelnwc\",\"tyjedex\",\"mlfmkqs\",\"azuawx\"],\"portGroupNames\":[\"puamwabzxr\"]},\"protocolNeighbors\":[\"ushsp\"],\"icmpConfiguration\":{\"icmpTypes\":[\"mxyasflvgsgzw\"]},\"protocolTypes\":[\"koih\"],\"vlanMatchCondition\":{\"vlans\":[\"jblmljhlnymz\",\"tqyryuzcbmqqv\",\"mv\"],\"innerVlans\":[\"tayx\",\"nsup\",\"ujlzqnhcvsqltn\",\"oibgsxg\"],\"vlanGroupNames\":[\"yqo\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"o\",\"dbxiqx\",\"iiqbi\"],\"ipGroupNames\":[\"mwwinhehfqpofv\",\"bcblemb\"]}}],\"actions\":[{\"type\":\"Remark\",\"counterName\":\"vxkdivqihebwtswb\",\"remarkComment\":\"wfmdurage\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"elisdjub\",\"remarkComment\":\"bqigkx\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Log\",\"counterName\":\"kga\",\"remarkComment\":\"rcmjdmspofapvuh\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"gbzjedmstkv\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"c\",\"iiznktwfan\"]}],\"vlanGroups\":[{\"name\":\"dibmikostbzbkiwb\",\"vlans\":[\"yophz\"]}],\"portGroups\":[{\"name\":\"gcrpfbcun\",\"ports\":[\"cez\",\"lfwyfwlwxjwetn\",\"sihclafzvaylp\"]}]},{\"ipGroups\":[{\"name\":\"qwztcmwqkc\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"xfe\"]}],\"vlanGroups\":[{\"name\":\"jexfdeqvhp\",\"vlans\":[\"kkshkbffm\",\"mxzjrgywwpgjx\",\"nptfujgi\",\"gaao\"]},{\"name\":\"ttaqutdew\",\"vlans\":[\"swvr\",\"unzzjgehk\"]}],\"portGroups\":[{\"name\":\"rtixokff\",\"ports\":[\"nljqepqwhixmons\",\"shiy\",\"gvelfc\",\"du\"]}]}],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{\"matchConfigurationName\":\"uwc\",\"sequenceNumber\":6517518115426729228,\"matchCondition\":{\"protocolTypes\":\"tmninw\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"nghgshej\",\"tbxqmuluxlxq\",\"vnersbycucrw\",\"amikzebrqbsm\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"fuhok\"}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"vhczznvfby\",\"sequenceNumber\":8188906980935877313,\"matchCondition\":{\"protocolTypes\":\"wix\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"xqhndvnoamlds\",\"haohdjhhflzokxc\",\"xpelnjetagltsx\",\"atftgzpnpbsw\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"cs\"}},{\"matchConfigurationName\":\"ozihmipgawt\",\"sequenceNumber\":7225694249988782506,\"matchCondition\":{\"protocolTypes\":\"cxcjxgry\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"cil\",\"mcayk\",\"gnoxuztrksx\",\"pndfcpfnznt\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"aosrxuz\"}},{\"matchConfigurationName\":\"amktcqiosmgbzah\",\"sequenceNumber\":7652180722953630761,\"matchCondition\":{\"protocolTypes\":\"rtltla\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"atbhjmznn\",\"s\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Remark\",\"remarkComment\":\"arvlagunbt\"}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"nbmhyree\",\"sequenceNumber\":3097561434291248930,\"matchCondition\":{\"protocolTypes\":\"bpdqmjxlyy\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"wtlmjjyuo\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"xkjeytunlbfj\"}},{\"matchConfigurationName\":\"rusnk\",\"sequenceNumber\":9137583905855969726,\"matchCondition\":{\"protocolTypes\":\"qunjqh\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"l\",\"pakdkifmjnnawt\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"ckpggqoweyird\"}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"wfl\",\"sequenceNumber\":5819390195361642433,\"matchCondition\":{\"protocolTypes\":\"ruwnpqxpx\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"jsa\",\"sii\",\"tmkzjvkviirhgfgr\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"atzv\"}},{\"matchConfigurationName\":\"glbyvi\",\"sequenceNumber\":7274387549715402996,\"matchCondition\":{\"protocolTypes\":\"xkjzwrgxffm\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"kgozxwop\",\"bydpizqaclnapxb\",\"yg\",\"ugjknf\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"uxuuyilflq\"}},{\"matchConfigurationName\":\"quvre\",\"sequenceNumber\":9110473532568054590,\"matchCondition\":{\"protocolTypes\":\"vsujztczytqjtwh\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"rnjlet\",\"xsmrpddouifamow\",\"z\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"qwzdvpiwhxq\"}},{\"matchConfigurationName\":\"dtmaa\",\"sequenceNumber\":4752695551064117756,\"matchCondition\":{\"protocolTypes\":\"ylr\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"jbmzyospspsh\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Remark\",\"remarkComment\":\"pms\"}}]}],\"aclType\":\"ControlPlaneAcl\",\"deviceRole\":\"NPB\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"annotation\":\"yogtieyujtvczkcn\"}") + "{\"configurationType\":\"Inline\",\"aclsUrl\":\"bdb\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"hedsvqwthmkyib\",\"sequenceNumber\":5904504388663898201,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"etherTypes\":[\"dhohsdtmcdzsuf\",\"ohdxbzlmcmu\",\"pcvhdbevwqqxeys\",\"onqzinkfkbgbzbow\"],\"fragments\":[\"o\"],\"ipLengths\":[\"mygvkzqkj\",\"eokbze\"],\"ttlValues\":[\"rx\",\"czurtlei\",\"q\"],\"dscpMarkings\":[\"wvz\"],\"portCondition\":{\"flags\":[\"dfbzdixzmq\"],\"portType\":\"Bidirectional\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"pqhe\",\"jptmcgsbost\",\"eln\"],\"portGroupNames\":[\"tutmzl\",\"iojlvfhrb\",\"pn\",\"qvcww\"]},\"protocolNeighbors\":[\"r\",\"ochpprpr\",\"nmokayzejnhlbk\"],\"icmpConfiguration\":{\"icmpTypes\":[\"cpilj\",\"a\"]},\"protocolTypes\":[\"echndbnwieholew\",\"wiuub\",\"efqsfapaqtferrqw\",\"x\"],\"vlanMatchCondition\":{\"vlans\":[\"xap\",\"wogqqnobpudcdab\",\"qwpwyawbzasqbuc\",\"jg\"],\"innerVlans\":[\"xa\",\"guyaip\"],\"vlanGroupNames\":[\"daultxijjumfq\",\"azlnqnmcjngzqdqx\",\"bjwgnyfus\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"zh\",\"jqg\",\"cfhmlrqryxyn\"],\"ipGroupNames\":[\"rd\",\"sovwxznptgoeiyb\",\"abpfhvfs\",\"kvntjlrigjkskyri\"]}},{\"etherTypes\":[\"zid\",\"xwaabzmifrygznmm\",\"xrizkzobgop\"],\"fragments\":[\"slnelx\"],\"ipLengths\":[\"xynl\",\"xecwcro\",\"phslhcawjutifdw\",\"mvi\"],\"ttlValues\":[\"qj\"],\"dscpMarkings\":[\"zhraglkafh\"],\"portCondition\":{\"flags\":[\"ujeickp\"],\"portType\":\"Bidirectional\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"xelnwc\",\"tyjedex\",\"mlfmkqs\",\"azuawx\"],\"portGroupNames\":[\"puamwabzxr\"]},\"protocolNeighbors\":[\"ushsp\"],\"icmpConfiguration\":{\"icmpTypes\":[\"mxyasflvgsgzw\"]},\"protocolTypes\":[\"koih\"],\"vlanMatchCondition\":{\"vlans\":[\"jblmljhlnymz\",\"tqyryuzcbmqqv\",\"mv\"],\"innerVlans\":[\"tayx\",\"nsup\",\"ujlzqnhcvsqltn\",\"oibgsxg\"],\"vlanGroupNames\":[\"yqo\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"o\",\"dbxiqx\",\"iiqbi\"],\"ipGroupNames\":[\"mwwinhehfqpofv\",\"bcblemb\"]}}],\"actions\":[{\"type\":\"Remark\",\"counterName\":\"vxkdivqihebwtswb\",\"remarkComment\":\"wfmdurage\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"elisdjub\",\"remarkComment\":\"bqigkx\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Log\",\"counterName\":\"kga\",\"remarkComment\":\"rcmjdmspofapvuh\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"gbzjedmstkv\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"c\",\"iiznktwfan\"]}],\"vlanGroups\":[{\"name\":\"dibmikostbzbkiwb\",\"vlans\":[\"yophz\"]}],\"portGroups\":[{\"name\":\"gcrpfbcun\",\"ports\":[\"cez\",\"lfwyfwlwxjwetn\",\"sihclafzvaylp\"]}]},{\"ipGroups\":[{\"name\":\"qwztcmwqkc\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"xfe\"]}],\"vlanGroups\":[{\"name\":\"jexfdeqvhp\",\"vlans\":[\"kkshkbffm\",\"mxzjrgywwpgjx\",\"nptfujgi\",\"gaao\"]},{\"name\":\"ttaqutdew\",\"vlans\":[\"swvr\",\"unzzjgehk\"]}],\"portGroups\":[{\"name\":\"rtixokff\",\"ports\":[\"nljqepqwhixmons\",\"shiy\",\"gvelfc\",\"du\"]}]}],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{\"matchConfigurationName\":\"uwc\",\"sequenceNumber\":6517518115426729228,\"matchCondition\":{\"protocolTypes\":\"tmninw\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"nghgshej\",\"tbxqmuluxlxq\",\"vnersbycucrw\",\"amikzebrqbsm\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"fuhok\"}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"vhczznvfby\",\"sequenceNumber\":8188906980935877313,\"matchCondition\":{\"protocolTypes\":\"wix\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"xqhndvnoamlds\",\"haohdjhhflzokxc\",\"xpelnjetagltsx\",\"atftgzpnpbsw\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"cs\"}},{\"matchConfigurationName\":\"ozihmipgawt\",\"sequenceNumber\":7225694249988782506,\"matchCondition\":{\"protocolTypes\":\"cxcjxgry\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"cil\",\"mcayk\",\"gnoxuztrksx\",\"pndfcpfnznt\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"aosrxuz\"}},{\"matchConfigurationName\":\"amktcqiosmgbzah\",\"sequenceNumber\":7652180722953630761,\"matchCondition\":{\"protocolTypes\":\"rtltla\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"atbhjmznn\",\"s\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Remark\",\"remarkComment\":\"arvlagunbt\"}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"nbmhyree\",\"sequenceNumber\":3097561434291248930,\"matchCondition\":{\"protocolTypes\":\"bpdqmjxlyy\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"wtlmjjyuo\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"xkjeytunlbfj\"}},{\"matchConfigurationName\":\"rusnk\",\"sequenceNumber\":9137583905855969726,\"matchCondition\":{\"protocolTypes\":\"qunjqh\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"l\",\"pakdkifmjnnawt\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"ckpggqoweyird\"}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"wfl\",\"sequenceNumber\":5819390195361642433,\"matchCondition\":{\"protocolTypes\":\"ruwnpqxpx\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"jsa\",\"sii\",\"tmkzjvkviirhgfgr\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"atzv\"}},{\"matchConfigurationName\":\"glbyvi\",\"sequenceNumber\":7274387549715402996,\"matchCondition\":{\"protocolTypes\":\"xkjzwrgxffm\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"kgozxwop\",\"bydpizqaclnapxb\",\"yg\",\"ugjknf\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"uxuuyilflq\"}},{\"matchConfigurationName\":\"quvre\",\"sequenceNumber\":9110473532568054590,\"matchCondition\":{\"protocolTypes\":\"vsujztczytqjtwh\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"rnjlet\",\"xsmrpddouifamow\",\"z\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Deny\",\"remarkComment\":\"qwzdvpiwhxq\"}},{\"matchConfigurationName\":\"dtmaa\",\"sequenceNumber\":4752695551064117756,\"matchCondition\":{\"protocolTypes\":\"ylr\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"jbmzyospspsh\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Remark\",\"remarkComment\":\"pms\"}}]}],\"aclType\":\"ControlPlaneAcl\",\"deviceRole\":\"CE\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"annotation\":\"yogtieyujtvczkcn\"}") .toObject(AccessControlListPatchProperties.class); Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); Assertions.assertEquals("bdb", model.aclsUrl()); @@ -119,7 +119,7 @@ public void testDeserialize() throws Exception { Assertions.assertEquals("fuhok", model.controlPlaneAclConfiguration().get(0).matchConfigurations().get(0).action().remarkComment()); Assertions.assertEquals(AclType.CONTROL_PLANE_ACL, model.aclType()); - Assertions.assertEquals(DeviceRole.NPB, model.deviceRole()); + Assertions.assertEquals(DeviceRole.CE, model.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.TRUE, model.globalAccessControlListActions().enableCount()); Assertions.assertEquals("yogtieyujtvczkcn", model.annotation()); } @@ -358,7 +358,7 @@ public void testSerialize() throws Exception { .withAction(new ControlPlaneAclActionPatch().withType(ControlPlaneAclActionType.REMARK) .withRemarkComment("pms")))))) .withAclType(AclType.CONTROL_PLANE_ACL) - .withDeviceRole(DeviceRole.NPB) + .withDeviceRole(DeviceRole.CE) .withGlobalAccessControlListActions( new GlobalAccessControlListActionPatchProperties().withEnableCount(BooleanEnumProperty.TRUE)) .withAnnotation("yogtieyujtvczkcn"); @@ -433,7 +433,7 @@ public void testSerialize() throws Exception { Assertions.assertEquals("fuhok", model.controlPlaneAclConfiguration().get(0).matchConfigurations().get(0).action().remarkComment()); Assertions.assertEquals(AclType.CONTROL_PLANE_ACL, model.aclType()); - Assertions.assertEquals(DeviceRole.NPB, model.deviceRole()); + Assertions.assertEquals(DeviceRole.CE, model.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.TRUE, model.globalAccessControlListActions().enableCount()); Assertions.assertEquals("yogtieyujtvczkcn", model.annotation()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchTests.java index daf3e862b6d6f..3cb545aa292b0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPatchTests.java @@ -39,7 +39,7 @@ public final class AccessControlListPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AccessControlListPatch model = BinaryData.fromString( - "{\"properties\":{\"configurationType\":\"File\",\"aclsUrl\":\"wpijrajci\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"cf\",\"sequenceNumber\":6256550625746718554,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"yinzqodfvpgs\"],\"fragments\":[\"gsgbpfgzdjt\"],\"ipLengths\":[\"flbqvgaq\",\"lgafcqusrdve\"],\"ttlValues\":[\"sdtutnwlduyc\",\"uzhyrmewipmvekdx\",\"kuqgsjjxundxgket\"],\"dscpMarkings\":[\"hzjhf\",\"mhv\"],\"portCondition\":{},\"protocolNeighbors\":[\"gpmuneqsxvmhfbuz\",\"yihsasbhudypohyu\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"ynsqyrpfoobr\",\"ttymsjny\",\"qdnfwqzdz\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"etherTypes\":[\"xhnfhqly\",\"ijouwivkxoyzunb\"],\"fragments\":[\"rtikvcpwpg\",\"lrcivtsoxfrke\",\"xpmyyefrpmpdnq\",\"skawaoqvmmb\"],\"ipLengths\":[\"fr\"],\"ttlValues\":[\"kzmegnitgvkxlz\",\"qdrfegcealzxwhc\",\"nsymoyqhlwigd\",\"vbkbxgomf\"],\"dscpMarkings\":[\"wasqvdaeyyg\",\"xakjsqzhzb\"],\"portCondition\":{},\"protocolNeighbors\":[\"imsidxasicddyvvj\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"mocwa\",\"pqg\",\"tjeaahhvjhh\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"etherTypes\":[\"bbjjidjksyxk\",\"xvxevblbjednljla\",\"euaulxu\"],\"fragments\":[\"jbnkpp\",\"ynenlsvxeizz\"],\"ipLengths\":[\"lnsrmffe\",\"cxcktpi\",\"merteeammxqiek\"],\"ttlValues\":[\"ddrtkgdojb\",\"xv\"],\"dscpMarkings\":[\"efdeesve\",\"uij\"],\"portCondition\":{},\"protocolNeighbors\":[\"s\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"tujwsawdd\",\"ibabxvititvtzeex\",\"vo\",\"tfgle\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"etherTypes\":[\"bwpypqtgsfjacb\"],\"fragments\":[\"hxudbxvodht\",\"sirudhzmmesckdlp\"],\"ipLengths\":[\"rcxfailcfxwmdb\",\"xdfgsftufqobr\",\"lnacgcc\",\"knh\"],\"ttlValues\":[\"zvytnrzvuljraaer\"],\"dscpMarkings\":[\"kqg\",\"kkjqnvbroylaxxu\",\"cdisd\"],\"portCondition\":{},\"protocolNeighbors\":[\"b\",\"svgjrwhryvy\",\"ytdc\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"cknfnwmbtmvpd\",\"jdhttzaefedxi\",\"ch\",\"phkmcrjdqnsdfz\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Drop\",\"counterName\":\"kdghrjeuutlwx\",\"remarkComment\":\"w\",\"policeRateConfiguration\":{}},{\"type\":\"Log\",\"counterName\":\"bwnhhtql\",\"remarkComment\":\"hgppipifhpfeoa\",\"policeRateConfiguration\":{}},{\"type\":\"Count\",\"counterName\":\"txjcsheafidlt\",\"remarkComment\":\"sr\",\"policeRateConfiguration\":{}}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"h\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"f\",\"fwegprhptillu\",\"biqtgdq\",\"hm\"]},{\"name\":\"sldrizetpwbral\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"hbqzmizakakankjp\",\"n\"]},{\"name\":\"ha\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"jlmuoyxprimrsopt\",\"ecj\"]},{\"name\":\"islstv\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"xdza\",\"mweoohgu\",\"fuzboyjathwtzolb\",\"emwmdxmebwjs\"]}],\"vlanGroups\":[{\"name\":\"hlxvea\",\"vlans\":[\"xnmwmqtibxyijddt\",\"qcttadijaeukmrsi\"]}],\"portGroups\":[{\"name\":\"ndzaapmudq\",\"ports\":[\"wig\",\"ibudqwy\",\"eb\",\"ybpmzznrtffyaq\"]}]},{\"ipGroups\":[{\"name\":\"heioqa\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"ufuqyrx\",\"dlcgqlsismjqfr\",\"dgamquhiosrsj\",\"ivfcdisyirnx\"]}],\"vlanGroups\":[{\"name\":\"exrxzbujrtrhq\",\"vlans\":[\"evkh\",\"nlnzonzlrpi\",\"yw\"]},{\"name\":\"vjtszcofize\",\"vlans\":[\"hgbjkvrelje\",\"murvzm\",\"ov\"]},{\"name\":\"nashcxlp\",\"vlans\":[\"rbdkelvidiz\",\"zsdbccxjmon\"]},{\"name\":\"gnwncypuuwwlt\",\"vlans\":[\"jctzenkei\",\"zzhmkd\",\"svflyhbxcudch\"]}],\"portGroups\":[{\"name\":\"boldforobwj\",\"ports\":[\"zbfhfovvac\",\"pbt\",\"odxeszabbela\"]},{\"name\":\"muaslzkw\",\"ports\":[\"oycqucwy\",\"ahnomdrkywu\",\"psvfuurutlwexxwl\"]},{\"name\":\"niexzsrzpgepq\",\"ports\":[\"bwwpgdakchzy\"]}]},{\"ipGroups\":[{\"name\":\"q\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"kjibnxmysuxswqrn\",\"vl\",\"ijpstte\"]},{\"name\":\"qqpwcyyuf\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"cuwmqsp\"]},{\"name\":\"dqzh\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"unqndyfpchrqb\",\"jjrcgegydc\"]},{\"name\":\"oxjumvqqo\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"aiouaubrjt\",\"oq\",\"fuojrngif\"]}],\"vlanGroups\":[{\"name\":\"asccbiui\",\"vlans\":[\"lyjdfqwm\",\"yoqufdvruz\"]}],\"portGroups\":[{\"name\":\"j\",\"ports\":[\"tfnmdx\",\"tngfdgugeyzihgr\",\"yui\"]},{\"name\":\"bsnmfpph\",\"ports\":[\"evy\"]},{\"name\":\"hsgz\",\"ports\":[\"bgomfgbegl\",\"gleohi\",\"etnluankrrfx\"]}]}],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{\"matchConfigurationName\":\"acvbmqz\",\"sequenceNumber\":137903725051553660,\"matchCondition\":{},\"action\":{}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"acevehjkuyx\",\"sequenceNumber\":5046707434469334203,\"matchCondition\":{},\"action\":{}},{\"matchConfigurationName\":\"lt\",\"sequenceNumber\":2336181597653108768,\"matchCondition\":{},\"action\":{}},{\"matchConfigurationName\":\"mfgvxirpghriypo\",\"sequenceNumber\":7116262338386252749,\"matchCondition\":{},\"action\":{}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"lpyznuciqdsmexi\",\"sequenceNumber\":7908176630325869623,\"matchCondition\":{},\"action\":{}},{\"matchConfigurationName\":\"yasiibmiy\",\"sequenceNumber\":1116985418326144663,\"matchCondition\":{},\"action\":{}}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{\"matchConfigurationName\":\"nmgixh\",\"sequenceNumber\":1424200423877643928,\"matchCondition\":{},\"action\":{}}]}],\"aclType\":\"Management\",\"deviceRole\":\"NPB\",\"globalAccessControlListActions\":{\"enableCount\":\"False\"},\"annotation\":\"gyyprotwy\"},\"tags\":{\"bxhugcmjkavlgorb\":\"d\"}}") + "{\"properties\":{\"configurationType\":\"File\",\"aclsUrl\":\"wpijrajci\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"cf\",\"sequenceNumber\":6256550625746718554,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"yinzqodfvpgs\"],\"fragments\":[\"gsgbpfgzdjt\"],\"ipLengths\":[\"flbqvgaq\",\"lgafcqusrdve\"],\"ttlValues\":[\"sdtutnwlduyc\",\"uzhyrmewipmvekdx\",\"kuqgsjjxundxgket\"],\"dscpMarkings\":[\"hzjhf\",\"mhv\"],\"portCondition\":{},\"protocolNeighbors\":[\"gpmuneqsxvmhfbuz\",\"yihsasbhudypohyu\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"ynsqyrpfoobr\",\"ttymsjny\",\"qdnfwqzdz\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"etherTypes\":[\"xhnfhqly\",\"ijouwivkxoyzunb\"],\"fragments\":[\"rtikvcpwpg\",\"lrcivtsoxfrke\",\"xpmyyefrpmpdnq\",\"skawaoqvmmb\"],\"ipLengths\":[\"fr\"],\"ttlValues\":[\"kzmegnitgvkxlz\",\"qdrfegcealzxwhc\",\"nsymoyqhlwigd\",\"vbkbxgomf\"],\"dscpMarkings\":[\"wasqvdaeyyg\",\"xakjsqzhzb\"],\"portCondition\":{},\"protocolNeighbors\":[\"imsidxasicddyvvj\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"mocwa\",\"pqg\",\"tjeaahhvjhh\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"etherTypes\":[\"bbjjidjksyxk\",\"xvxevblbjednljla\",\"euaulxu\"],\"fragments\":[\"jbnkpp\",\"ynenlsvxeizz\"],\"ipLengths\":[\"lnsrmffe\",\"cxcktpi\",\"merteeammxqiek\"],\"ttlValues\":[\"ddrtkgdojb\",\"xv\"],\"dscpMarkings\":[\"efdeesve\",\"uij\"],\"portCondition\":{},\"protocolNeighbors\":[\"s\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"tujwsawdd\",\"ibabxvititvtzeex\",\"vo\",\"tfgle\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"etherTypes\":[\"bwpypqtgsfjacb\"],\"fragments\":[\"hxudbxvodht\",\"sirudhzmmesckdlp\"],\"ipLengths\":[\"rcxfailcfxwmdb\",\"xdfgsftufqobr\",\"lnacgcc\",\"knh\"],\"ttlValues\":[\"zvytnrzvuljraaer\"],\"dscpMarkings\":[\"kqg\",\"kkjqnvbroylaxxu\",\"cdisd\"],\"portCondition\":{},\"protocolNeighbors\":[\"b\",\"svgjrwhryvy\",\"ytdc\"],\"icmpConfiguration\":{},\"protocolTypes\":[\"cknfnwmbtmvpd\",\"jdhttzaefedxi\",\"ch\",\"phkmcrjdqnsdfz\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Drop\",\"counterName\":\"kdghrjeuutlwx\",\"remarkComment\":\"w\",\"policeRateConfiguration\":{}},{\"type\":\"Log\",\"counterName\":\"bwnhhtql\",\"remarkComment\":\"hgppipifhpfeoa\",\"policeRateConfiguration\":{}},{\"type\":\"Count\",\"counterName\":\"txjcsheafidlt\",\"remarkComment\":\"sr\",\"policeRateConfiguration\":{}}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"h\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"f\",\"fwegprhptillu\",\"biqtgdq\",\"hm\"]},{\"name\":\"sldrizetpwbral\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"hbqzmizakakankjp\",\"n\"]},{\"name\":\"ha\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"jlmuoyxprimrsopt\",\"ecj\"]},{\"name\":\"islstv\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"xdza\",\"mweoohgu\",\"fuzboyjathwtzolb\",\"emwmdxmebwjs\"]}],\"vlanGroups\":[{\"name\":\"hlxvea\",\"vlans\":[\"xnmwmqtibxyijddt\",\"qcttadijaeukmrsi\"]}],\"portGroups\":[{\"name\":\"ndzaapmudq\",\"ports\":[\"wig\",\"ibudqwy\",\"eb\",\"ybpmzznrtffyaq\"]}]},{\"ipGroups\":[{\"name\":\"heioqa\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"ufuqyrx\",\"dlcgqlsismjqfr\",\"dgamquhiosrsj\",\"ivfcdisyirnx\"]}],\"vlanGroups\":[{\"name\":\"exrxzbujrtrhq\",\"vlans\":[\"evkh\",\"nlnzonzlrpi\",\"yw\"]},{\"name\":\"vjtszcofize\",\"vlans\":[\"hgbjkvrelje\",\"murvzm\",\"ov\"]},{\"name\":\"nashcxlp\",\"vlans\":[\"rbdkelvidiz\",\"zsdbccxjmon\"]},{\"name\":\"gnwncypuuwwlt\",\"vlans\":[\"jctzenkei\",\"zzhmkd\",\"svflyhbxcudch\"]}],\"portGroups\":[{\"name\":\"boldforobwj\",\"ports\":[\"zbfhfovvac\",\"pbt\",\"odxeszabbela\"]},{\"name\":\"muaslzkw\",\"ports\":[\"oycqucwy\",\"ahnomdrkywu\",\"psvfuurutlwexxwl\"]},{\"name\":\"niexzsrzpgepq\",\"ports\":[\"bwwpgdakchzy\"]}]},{\"ipGroups\":[{\"name\":\"q\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"kjibnxmysuxswqrn\",\"vl\",\"ijpstte\"]},{\"name\":\"qqpwcyyuf\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"cuwmqsp\"]},{\"name\":\"dqzh\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"unqndyfpchrqb\",\"jjrcgegydc\"]},{\"name\":\"oxjumvqqo\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"aiouaubrjt\",\"oq\",\"fuojrngif\"]}],\"vlanGroups\":[{\"name\":\"asccbiui\",\"vlans\":[\"lyjdfqwm\",\"yoqufdvruz\"]}],\"portGroups\":[{\"name\":\"j\",\"ports\":[\"tfnmdx\",\"tngfdgugeyzihgr\",\"yui\"]},{\"name\":\"bsnmfpph\",\"ports\":[\"evy\"]},{\"name\":\"hsgz\",\"ports\":[\"bgomfgbegl\",\"gleohi\",\"etnluankrrfx\"]}]}],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{\"matchConfigurationName\":\"acvbmqz\",\"sequenceNumber\":137903725051553660,\"matchCondition\":{},\"action\":{}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"acevehjkuyx\",\"sequenceNumber\":5046707434469334203,\"matchCondition\":{},\"action\":{}},{\"matchConfigurationName\":\"lt\",\"sequenceNumber\":2336181597653108768,\"matchCondition\":{},\"action\":{}},{\"matchConfigurationName\":\"mfgvxirpghriypo\",\"sequenceNumber\":7116262338386252749,\"matchCondition\":{},\"action\":{}}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"lpyznuciqdsmexi\",\"sequenceNumber\":7908176630325869623,\"matchCondition\":{},\"action\":{}},{\"matchConfigurationName\":\"yasiibmiy\",\"sequenceNumber\":1116985418326144663,\"matchCondition\":{},\"action\":{}}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{\"matchConfigurationName\":\"nmgixh\",\"sequenceNumber\":1424200423877643928,\"matchCondition\":{},\"action\":{}}]}],\"aclType\":\"Management\",\"deviceRole\":\"ToR\",\"globalAccessControlListActions\":{\"enableCount\":\"False\"},\"annotation\":\"gyyprotwy\"},\"tags\":{\"bxhugcmjkavlgorb\":\"d\"}}") .toObject(AccessControlListPatch.class); Assertions.assertEquals("d", model.tags().get("bxhugcmjkavlgorb")); Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); @@ -80,7 +80,7 @@ public void testDeserialize() throws Exception { Assertions.assertEquals(137903725051553660L, model.controlPlaneAclConfiguration().get(0).matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(AclType.MANAGEMENT, model.aclType()); - Assertions.assertEquals(DeviceRole.NPB, model.deviceRole()); + Assertions.assertEquals(DeviceRole.TOR, model.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalAccessControlListActions().enableCount()); Assertions.assertEquals("gyyprotwy", model.annotation()); } @@ -284,7 +284,7 @@ public void testSerialize() throws Exception { .withMatchCondition(new ControlPlaneAclMatchConditionPatch()) .withAction(new ControlPlaneAclActionPatch()))))) .withAclType(AclType.MANAGEMENT) - .withDeviceRole(DeviceRole.NPB) + .withDeviceRole(DeviceRole.TOR) .withGlobalAccessControlListActions( new GlobalAccessControlListActionPatchProperties().withEnableCount(BooleanEnumProperty.FALSE)) .withAnnotation("gyyprotwy"); @@ -328,7 +328,7 @@ public void testSerialize() throws Exception { Assertions.assertEquals(137903725051553660L, model.controlPlaneAclConfiguration().get(0).matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(AclType.MANAGEMENT, model.aclType()); - Assertions.assertEquals(DeviceRole.NPB, model.deviceRole()); + Assertions.assertEquals(DeviceRole.TOR, model.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalAccessControlListActions().enableCount()); Assertions.assertEquals("gyyprotwy", model.annotation()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPropertiesTests.java index 2dfc4829cbb13..7f23bfdff8196 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListPropertiesTests.java @@ -47,7 +47,7 @@ public final class AccessControlListPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AccessControlListProperties model = BinaryData.fromString( - "{\"annotation\":\"xoegukgjnpiucgy\",\"configurationType\":\"Inline\",\"aclsUrl\":\"qzntypm\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"drqjsdpy\",\"sequenceNumber\":5766056983460655346,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"jzicwifsjt\",\"gzfbishcbk\",\"ajdeyeamdphaga\"],\"fragments\":[\"uxwgipwho\",\"ow\"],\"ipLengths\":[\"hwankixzbinjepu\",\"tmryw\",\"uzoqft\",\"yqzrnkcqvyxlw\"],\"ttlValues\":[\"sicohoqqnwvlry\",\"vwhheunmmqhgyx\",\"konocu\"],\"dscpMarkings\":[\"lyaxuc\",\"nuqszfkbey\",\"ewrmjmwvvjektc\"],\"protocolNeighbors\":[\"nhwlrsffrzpwvl\",\"dqgbiqylihkaetc\"],\"portCondition\":{\"flags\":[\"civfsnkymuctq\",\"jf\",\"ebrjcxe\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"ttxfvjr\",\"i\",\"phxepcyvahf\"],\"portGroupNames\":[\"kyqxjvuujqgidokg\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"oxgvclt\",\"gsncghkjeszz\",\"bijhtxfvgxbf\",\"mxnehmp\"]},\"protocolTypes\":[\"xgodebfqkkrbmp\",\"kgriwflzlfbx\"],\"vlanMatchCondition\":{\"vlans\":[\"ycispnqzahmgkb\",\"pyydhi\"],\"innerVlans\":[\"qqkpikadrg\",\"tqagnbuynh\"],\"vlanGroupNames\":[\"gmebfsiarbutrcv\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"runmp\",\"ttdbhrbnl\",\"nkxmyskpbhenbtk\"],\"ipGroupNames\":[\"w\"]}},{\"etherTypes\":[\"nrs\",\"nlqidybyxczf\"],\"fragments\":[\"aaxdbabphlwrq\",\"fkts\",\"hsucoc\"],\"ipLengths\":[\"yazttbtwwrqpue\",\"ckzywbiexzfeyue\"],\"ttlValues\":[\"bxu\"],\"dscpMarkings\":[\"hqwa\",\"muzyoxaepdk\",\"jancu\",\"rhdwbavxbniw\"],\"protocolNeighbors\":[\"wz\",\"s\"],\"portCondition\":{\"flags\":[\"nxytxh\",\"zxbzpfzabglc\",\"hxw\"],\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"klbb\",\"vplwzbhv\",\"yuguosvmkfssx\"],\"portGroupNames\":[\"kfplgmgsxnk\",\"zkd\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"vlopwiyighx\",\"kdwzbaiuebbaumny\",\"upedeojnabckhs\",\"txp\"]},\"protocolTypes\":[\"btfhvpesaps\",\"rdqmhjjdhtldwkyz\",\"uutkncw\"],\"vlanMatchCondition\":{\"vlans\":[\"vlxotogtwrupqsx\",\"nmic\",\"kvceoveilovnotyf\",\"fcnj\"],\"innerVlans\":[\"nxdhbt\"],\"vlanGroupNames\":[\"h\",\"wpn\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"mclfplphoxuscr\",\"abgy\",\"psbjta\"],\"ipGroupNames\":[\"gxywpmue\",\"fjz\",\"fqkquj\"]}}],\"actions\":[{\"type\":\"Remark\",\"counterName\":\"nobglaocq\",\"remarkComment\":\"ccm\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"lmoyrx\",\"remarkComment\":\"fudwpznt\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"qj\",\"remarkComment\":\"ck\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"bkyvp\",\"remarkComment\":\"anuzbpzkafkuw\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]},{\"matchConfigurationName\":\"bmehh\",\"sequenceNumber\":3647688567520643313,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"etherTypes\":[\"lhspkdee\"],\"fragments\":[\"fm\",\"ag\",\"vt\",\"elmqk\"],\"ipLengths\":[\"hvljuahaquh\",\"dhmdua\",\"aex\"],\"ttlValues\":[\"fadmws\",\"crgvxpvgom\"],\"dscpMarkings\":[\"misgwbnb\",\"e\"],\"protocolNeighbors\":[\"wkz\"],\"portCondition\":{\"flags\":[\"ourqhakau\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"wxosowzxcug\",\"cjooxdjebwpucwwf\",\"ovbvmeueciv\"],\"portGroupNames\":[\"ce\",\"ojgjrwjueiotwmc\",\"ytdxwit\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"awgqwgxhni\",\"kxfbkpycgklwndn\"]},\"protocolTypes\":[\"auwhvylwzbtdhx\",\"jznb\",\"pow\",\"wpr\"],\"vlanMatchCondition\":{\"vlans\":[\"eualupjmkhf\",\"obbc\"],\"innerVlans\":[\"rtjriplrbpbew\"],\"vlanGroupNames\":[\"fgb\",\"c\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"hjkbegibtnmxieb\"],\"ipGroupNames\":[\"loayqcgw\",\"tzjuzgwyzmhtxo\",\"gmtsavjcbpwxqpsr\",\"nftguvriuhpr\"]}}],\"actions\":[{\"type\":\"Log\",\"counterName\":\"qtayri\",\"remarkComment\":\"ro\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Drop\",\"counterName\":\"cqibycnojv\",\"remarkComment\":\"mefqsgzvahapjyzh\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Log\",\"counterName\":\"rvxdjzlmw\",\"remarkComment\":\"kvugfhzovawjvzun\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]},{\"matchConfigurationName\":\"n\",\"sequenceNumber\":7986653224206637858,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"jzuaejxdultskzbb\"],\"fragments\":[\"umveekgpwozuhkf\",\"bsjyofdx\",\"uusdttouwa\"],\"ipLengths\":[\"kqvkelnsmvbxwyjs\",\"lh\"],\"ttlValues\":[\"aln\",\"ixisxyawjoy\"],\"dscpMarkings\":[\"slyjpkiid\",\"yexz\"],\"protocolNeighbors\":[\"ixhnrztf\",\"lhbnxkna\",\"aulppggd\"],\"portCondition\":{\"flags\":[\"pnyiropuhp\",\"gvpgy\",\"gqgitxmedjvcsl\",\"n\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"zzhxgktrm\"],\"portGroupNames\":[\"napkteoellw\",\"tfdygpfqb\",\"ac\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"fqrhhuaopppc\"]},\"protocolTypes\":[\"xolzdahzx\",\"t\",\"bgbkdmoizpost\"],\"vlanMatchCondition\":{\"vlans\":[\"fbunrmfqjhhk\"],\"innerVlans\":[\"vjymjhxxjyngud\",\"vkr\",\"swbxqz\",\"szjfauvjfdxxivet\"],\"vlanGroupNames\":[\"qaqtdoqmcbxvwvxy\",\"lqbhsf\",\"obl\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"wwwfbkr\",\"rn\",\"vshqjohxcr\",\"bfovasrruvwbhsq\"],\"ipGroupNames\":[\"bcgjbirxbp\",\"bsrfbj\",\"dtws\"]}},{\"etherTypes\":[\"ftpvjzbexil\"],\"fragments\":[\"fqqnvwpmqtaruo\",\"jmkcjhwqytj\"],\"ipLengths\":[\"n\"],\"ttlValues\":[\"wgdrjervnaenqp\",\"hin\",\"oygmift\"],\"dscpMarkings\":[\"d\",\"dslgnayqigynduh\"],\"protocolNeighbors\":[\"qlkth\",\"maqolbgycduie\",\"tgccymvaolpss\"],\"portCondition\":{\"flags\":[\"mmdnbbglzps\",\"iydmcwyhzdxs\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"nvdfznuda\",\"dvxzbncblylpst\"],\"portGroupNames\":[\"hxsrzdzucersc\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"evfiwjmygt\"]},\"protocolTypes\":[\"lswtmweriofzpyqs\",\"mwabnetshhszhedp\"],\"vlanMatchCondition\":{\"vlans\":[\"wubmwmbesldn\",\"wwtppj\",\"lcxog\",\"okonzmnsikvmkqz\"],\"innerVlans\":[\"kdltfzxmhhvhg\",\"r\"],\"vlanGroupNames\":[\"kwobdagxtibq\",\"xbxwa\",\"bogqxndlkzgxhu\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"xunkbebxmubyynt\",\"lrb\",\"tkoievseotgq\",\"l\"],\"ipGroupNames\":[\"u\",\"lauwzizxbmpgcjef\",\"zmuvpbttdumorppx\",\"bmnzbtbhjpgl\"]}},{\"etherTypes\":[\"ohdneuel\",\"phsdyhto\",\"fikdowwqu\",\"v\"],\"fragments\":[\"clvit\",\"hqzonosggbhcoh\"],\"ipLengths\":[\"sjnkal\",\"utiiswacf\"],\"ttlValues\":[\"k\",\"zewk\",\"vhqcrail\",\"pnppfuf\"],\"dscpMarkings\":[\"dmhdlxyjr\",\"sag\",\"fcnihgwq\"],\"protocolNeighbors\":[\"edgfbcvkcvq\",\"pkeqdcvdrhvoo\"],\"portCondition\":{\"flags\":[\"bobzdopcjwvnhd\",\"d\"],\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"rslpmutwuoeg\",\"pkhjwni\"],\"portGroupNames\":[\"luicpdggkzzlvmbm\",\"axmodfvuef\",\"wsbpfvm\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"fouyf\",\"aakc\",\"wiyzvqtmnubexkp\",\"ksmond\"]},\"protocolTypes\":[\"uxvypomgkopkwh\",\"jvp\",\"jqg\"],\"vlanMatchCondition\":{\"vlans\":[\"ocmbqfqvmkcxoza\",\"vhelxprglyatdd\",\"kcbcue\"],\"innerVlans\":[\"xgc\",\"qibrhosxsdqrhzoy\",\"i\"],\"vlanGroupNames\":[\"qyib\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"dtmhrkwofyyvoqa\",\"piexpbtgiw\",\"wo\"],\"ipGroupNames\":[\"ashrt\",\"tkcnqxwb\"]}},{\"etherTypes\":[\"ulpiuj\",\"aasipqi\",\"obyu\"],\"fragments\":[\"pqlpq\",\"cciuqgbdbutau\"],\"ipLengths\":[\"tkuwhhmhykojo\",\"afnn\"],\"ttlValues\":[\"ichkoymkcdyhb\",\"kkpwdreqnovvq\",\"ovljxywsu\"],\"dscpMarkings\":[\"rsndsytgadgvra\"],\"protocolNeighbors\":[\"neqn\"],\"portCondition\":{\"flags\":[\"wlquuijfqkace\",\"iipfpubj\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"tohqkvpuvksgp\"],\"portGroupNames\":[\"kn\",\"n\",\"synljphuopxodl\",\"iyntorzihle\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"w\",\"rmslyzrpzbchckqq\"]},\"protocolTypes\":[\"ox\",\"ysuiizynkedya\",\"rwyhqmibzyhwitsm\"],\"vlanMatchCondition\":{\"vlans\":[\"npcdpumnzgm\",\"z\",\"mabiknsorgjhxb\",\"dtlwwrlkd\"],\"innerVlans\":[\"cvokotllxdyhg\",\"y\",\"cogjltdtbn\",\"hadoocrk\"],\"vlanGroupNames\":[\"khnvpam\",\"gxqquezik\",\"wggxkallat\",\"elwuipi\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"gvvcnayrhyr\"],\"ipGroupNames\":[\"mueedndrdvstk\",\"qqtch\"]}}],\"actions\":[{\"type\":\"Log\",\"counterName\":\"tdaaygdvwvg\",\"remarkComment\":\"ohgwxrtfudxepxg\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"mnpkukghimdblxg\",\"remarkComment\":\"mfnjh\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"PoliceRate\",\"counterName\":\"kkfoqr\",\"remarkComment\":\"fkzikfj\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]},{\"matchConfigurationName\":\"ivx\",\"sequenceNumber\":2373068837860943179,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"lsfeaenwabfatkld\",\"xbjhwuaanozjosph\"],\"fragments\":[\"l\",\"jrvxaglrv\"],\"ipLengths\":[\"wosytxitcskf\",\"k\",\"qumiek\",\"ez\"],\"ttlValues\":[\"hlyfjhdgqgg\"],\"dscpMarkings\":[\"unygaeqid\",\"qfatpxllrxcyjm\"],\"protocolNeighbors\":[\"su\",\"arm\",\"wdmjsjqbjhhyx\",\"rw\"],\"portCondition\":{\"flags\":[\"duhpk\",\"kgymareqnajxqug\"],\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"beddgssofw\",\"mzqa\"],\"portGroupNames\":[\"mnjijpxacqqudf\",\"byxbaaabjy\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"fimrzrtuzqogse\",\"nevfdnw\",\"wmewzsyy\",\"euzsoi\"]},\"protocolTypes\":[\"dpfrxtrthzvaytdw\"],\"vlanMatchCondition\":{\"vlans\":[\"qu\",\"paxh\",\"xiilivpdtiirqt\",\"qoaxoruzfgs\"],\"innerVlans\":[\"fxrxxle\",\"tramxjez\"],\"vlanGroupNames\":[\"nwxuqlcvydyp\",\"tdooaoj\",\"niodkooeb\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"sbvdkcrodtjinfw\",\"lfltka\",\"jvefkdlfoakggkfp\",\"gaowpulpqblylsyx\"],\"ipGroupNames\":[\"nsj\",\"r\",\"tiagx\",\"dszue\"]}},{\"etherTypes\":[\"bzkfzbeyvpn\",\"icvi\"],\"fragments\":[\"jjxd\"],\"ipLengths\":[\"uukzclewyhmlw\",\"aztz\",\"ofncckwyfzqwhxxb\",\"yq\"],\"ttlValues\":[\"feqztppriol\",\"or\",\"altol\"],\"dscpMarkings\":[\"wsobqwcsdbn\",\"dcfhucqdpf\",\"vglsbjjca\"],\"protocolNeighbors\":[\"bvtvudutncormr\",\"xqtvcofu\"],\"portCondition\":{\"flags\":[\"kgjubgdknnqvsazn\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"dsg\",\"a\"],\"portGroupNames\":[\"yc\",\"rauwjuetaebu\",\"u\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"vsmzlxwab\"]},\"protocolTypes\":[\"efkifr\",\"tpuqujmq\"],\"vlanMatchCondition\":{\"vlans\":[\"btndo\",\"ongbjcnt\",\"jitcjedftwwaez\"],\"innerVlans\":[\"v\",\"c\",\"zfoqouicybxar\",\"gszufoxciqopid\"],\"vlanGroupNames\":[\"ciodhkhaz\",\"khnzbonlw\",\"toego\",\"dwbwhkszzcmrvexz\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"ra\"],\"ipGroupNames\":[\"koowtl\",\"nguxawqaldsy\",\"uximerqfobw\",\"znkbykutwpfhpagm\"]}}],\"actions\":[{\"type\":\"Count\",\"counterName\":\"nfd\",\"remarkComment\":\"oakgtdlmkkzev\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"PoliceRate\",\"counterName\":\"sdsttwvog\",\"remarkComment\":\"bejdcn\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"ufgmjzrwrdg\",\"remarkComment\":\"wae\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"PoliceRate\",\"counterName\":\"bminrfdwoyuhhzi\",\"remarkComment\":\"efozbhdms\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"rmaequ\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"cslfaoqzpiyylha\",\"nswhcc\"]}],\"vlanGroups\":[{\"name\":\"aivwitqscywu\",\"vlans\":[\"oluhczbwemh\",\"i\",\"sbrgz\",\"wmsweypqwd\"]}],\"portGroups\":[{\"name\":\"cccnxqhuexmktt\",\"ports\":[\"vlz\"]},{\"name\":\"emhzrncsdtc\",\"ports\":[\"iypbsfgytgusl\",\"eadcygqukyhejhz\"]},{\"name\":\"xgfpelolppv\",\"ports\":[\"pqvujzraehtwdwrf\"]}]},{\"ipGroups\":[{\"name\":\"byrcdlbhshfwp\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"wity\",\"hevxcced\",\"pnmdyodnwzxltjcv\"]}],\"vlanGroups\":[{\"name\":\"iugcxnavvwxq\",\"vlans\":[\"qunyowxwlmdjr\"]},{\"name\":\"fgbvfvpdbo\",\"vlans\":[\"izsjqlhkrr\",\"bdeibqipqk\",\"hvxndzwmkrefajpj\",\"rwkq\"]},{\"name\":\"hgbijt\",\"vlans\":[\"fxzsjabibsyst\",\"wfsdjpvkvpbj\"]}],\"portGroups\":[{\"name\":\"bzkdvn\",\"ports\":[\"budurgkakmo\",\"zhjjklffhmouwq\"]},{\"name\":\"zrfze\",\"ports\":[\"bizikayuhq\",\"bjbsybb\",\"wrv\"]},{\"name\":\"dgmfpgvmpipasl\",\"ports\":[\"qfxssmwutw\",\"dsrezpdrhneuyow\"]},{\"name\":\"d\",\"ports\":[\"i\"]}]}],\"lastSyncedTime\":\"2020-12-27T08:51:44Z\",\"aclType\":\"ControlPlaneTrafficPolicy\",\"deviceRole\":\"NPB\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"imejzanl\"},\"networkFabricIds\":[\"iavrm\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"rjqc\",\"sequenceNumber\":7350940410985010764,\"matchCondition\":{\"protocolTypes\":\"rlazszrnw\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"pwp\",\"ylwbtlhflsjcdhsz\",\"jvfbgofelja\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"ldvriiiojnalghfk\"}}]}],\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Disabled\"}") + "{\"annotation\":\"xoegukgjnpiucgy\",\"configurationType\":\"Inline\",\"aclsUrl\":\"qzntypm\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"drqjsdpy\",\"sequenceNumber\":5766056983460655346,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"jzicwifsjt\",\"gzfbishcbk\",\"ajdeyeamdphaga\"],\"fragments\":[\"uxwgipwho\",\"ow\"],\"ipLengths\":[\"hwankixzbinjepu\",\"tmryw\",\"uzoqft\",\"yqzrnkcqvyxlw\"],\"ttlValues\":[\"sicohoqqnwvlry\",\"vwhheunmmqhgyx\",\"konocu\"],\"dscpMarkings\":[\"lyaxuc\",\"nuqszfkbey\",\"ewrmjmwvvjektc\"],\"protocolNeighbors\":[\"nhwlrsffrzpwvl\",\"dqgbiqylihkaetc\"],\"portCondition\":{\"flags\":[\"civfsnkymuctq\",\"jf\",\"ebrjcxe\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"ttxfvjr\",\"i\",\"phxepcyvahf\"],\"portGroupNames\":[\"kyqxjvuujqgidokg\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"oxgvclt\",\"gsncghkjeszz\",\"bijhtxfvgxbf\",\"mxnehmp\"]},\"protocolTypes\":[\"xgodebfqkkrbmp\",\"kgriwflzlfbx\"],\"vlanMatchCondition\":{\"vlans\":[\"ycispnqzahmgkb\",\"pyydhi\"],\"innerVlans\":[\"qqkpikadrg\",\"tqagnbuynh\"],\"vlanGroupNames\":[\"gmebfsiarbutrcv\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"runmp\",\"ttdbhrbnl\",\"nkxmyskpbhenbtk\"],\"ipGroupNames\":[\"w\"]}},{\"etherTypes\":[\"nrs\",\"nlqidybyxczf\"],\"fragments\":[\"aaxdbabphlwrq\",\"fkts\",\"hsucoc\"],\"ipLengths\":[\"yazttbtwwrqpue\",\"ckzywbiexzfeyue\"],\"ttlValues\":[\"bxu\"],\"dscpMarkings\":[\"hqwa\",\"muzyoxaepdk\",\"jancu\",\"rhdwbavxbniw\"],\"protocolNeighbors\":[\"wz\",\"s\"],\"portCondition\":{\"flags\":[\"nxytxh\",\"zxbzpfzabglc\",\"hxw\"],\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"klbb\",\"vplwzbhv\",\"yuguosvmkfssx\"],\"portGroupNames\":[\"kfplgmgsxnk\",\"zkd\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"vlopwiyighx\",\"kdwzbaiuebbaumny\",\"upedeojnabckhs\",\"txp\"]},\"protocolTypes\":[\"btfhvpesaps\",\"rdqmhjjdhtldwkyz\",\"uutkncw\"],\"vlanMatchCondition\":{\"vlans\":[\"vlxotogtwrupqsx\",\"nmic\",\"kvceoveilovnotyf\",\"fcnj\"],\"innerVlans\":[\"nxdhbt\"],\"vlanGroupNames\":[\"h\",\"wpn\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"mclfplphoxuscr\",\"abgy\",\"psbjta\"],\"ipGroupNames\":[\"gxywpmue\",\"fjz\",\"fqkquj\"]}}],\"actions\":[{\"type\":\"Remark\",\"counterName\":\"nobglaocq\",\"remarkComment\":\"ccm\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"lmoyrx\",\"remarkComment\":\"fudwpznt\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"qj\",\"remarkComment\":\"ck\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"bkyvp\",\"remarkComment\":\"anuzbpzkafkuw\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]},{\"matchConfigurationName\":\"bmehh\",\"sequenceNumber\":3647688567520643313,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"etherTypes\":[\"lhspkdee\"],\"fragments\":[\"fm\",\"ag\",\"vt\",\"elmqk\"],\"ipLengths\":[\"hvljuahaquh\",\"dhmdua\",\"aex\"],\"ttlValues\":[\"fadmws\",\"crgvxpvgom\"],\"dscpMarkings\":[\"misgwbnb\",\"e\"],\"protocolNeighbors\":[\"wkz\"],\"portCondition\":{\"flags\":[\"ourqhakau\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"wxosowzxcug\",\"cjooxdjebwpucwwf\",\"ovbvmeueciv\"],\"portGroupNames\":[\"ce\",\"ojgjrwjueiotwmc\",\"ytdxwit\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"awgqwgxhni\",\"kxfbkpycgklwndn\"]},\"protocolTypes\":[\"auwhvylwzbtdhx\",\"jznb\",\"pow\",\"wpr\"],\"vlanMatchCondition\":{\"vlans\":[\"eualupjmkhf\",\"obbc\"],\"innerVlans\":[\"rtjriplrbpbew\"],\"vlanGroupNames\":[\"fgb\",\"c\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"hjkbegibtnmxieb\"],\"ipGroupNames\":[\"loayqcgw\",\"tzjuzgwyzmhtxo\",\"gmtsavjcbpwxqpsr\",\"nftguvriuhpr\"]}}],\"actions\":[{\"type\":\"Log\",\"counterName\":\"qtayri\",\"remarkComment\":\"ro\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Drop\",\"counterName\":\"cqibycnojv\",\"remarkComment\":\"mefqsgzvahapjyzh\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Log\",\"counterName\":\"rvxdjzlmw\",\"remarkComment\":\"kvugfhzovawjvzun\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]},{\"matchConfigurationName\":\"n\",\"sequenceNumber\":7986653224206637858,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"jzuaejxdultskzbb\"],\"fragments\":[\"umveekgpwozuhkf\",\"bsjyofdx\",\"uusdttouwa\"],\"ipLengths\":[\"kqvkelnsmvbxwyjs\",\"lh\"],\"ttlValues\":[\"aln\",\"ixisxyawjoy\"],\"dscpMarkings\":[\"slyjpkiid\",\"yexz\"],\"protocolNeighbors\":[\"ixhnrztf\",\"lhbnxkna\",\"aulppggd\"],\"portCondition\":{\"flags\":[\"pnyiropuhp\",\"gvpgy\",\"gqgitxmedjvcsl\",\"n\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"zzhxgktrm\"],\"portGroupNames\":[\"napkteoellw\",\"tfdygpfqb\",\"ac\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"fqrhhuaopppc\"]},\"protocolTypes\":[\"xolzdahzx\",\"t\",\"bgbkdmoizpost\"],\"vlanMatchCondition\":{\"vlans\":[\"fbunrmfqjhhk\"],\"innerVlans\":[\"vjymjhxxjyngud\",\"vkr\",\"swbxqz\",\"szjfauvjfdxxivet\"],\"vlanGroupNames\":[\"qaqtdoqmcbxvwvxy\",\"lqbhsf\",\"obl\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"wwwfbkr\",\"rn\",\"vshqjohxcr\",\"bfovasrruvwbhsq\"],\"ipGroupNames\":[\"bcgjbirxbp\",\"bsrfbj\",\"dtws\"]}},{\"etherTypes\":[\"ftpvjzbexil\"],\"fragments\":[\"fqqnvwpmqtaruo\",\"jmkcjhwqytj\"],\"ipLengths\":[\"n\"],\"ttlValues\":[\"wgdrjervnaenqp\",\"hin\",\"oygmift\"],\"dscpMarkings\":[\"d\",\"dslgnayqigynduh\"],\"protocolNeighbors\":[\"qlkth\",\"maqolbgycduie\",\"tgccymvaolpss\"],\"portCondition\":{\"flags\":[\"mmdnbbglzps\",\"iydmcwyhzdxs\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"nvdfznuda\",\"dvxzbncblylpst\"],\"portGroupNames\":[\"hxsrzdzucersc\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"evfiwjmygt\"]},\"protocolTypes\":[\"lswtmweriofzpyqs\",\"mwabnetshhszhedp\"],\"vlanMatchCondition\":{\"vlans\":[\"wubmwmbesldn\",\"wwtppj\",\"lcxog\",\"okonzmnsikvmkqz\"],\"innerVlans\":[\"kdltfzxmhhvhg\",\"r\"],\"vlanGroupNames\":[\"kwobdagxtibq\",\"xbxwa\",\"bogqxndlkzgxhu\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"xunkbebxmubyynt\",\"lrb\",\"tkoievseotgq\",\"l\"],\"ipGroupNames\":[\"u\",\"lauwzizxbmpgcjef\",\"zmuvpbttdumorppx\",\"bmnzbtbhjpgl\"]}},{\"etherTypes\":[\"ohdneuel\",\"phsdyhto\",\"fikdowwqu\",\"v\"],\"fragments\":[\"clvit\",\"hqzonosggbhcoh\"],\"ipLengths\":[\"sjnkal\",\"utiiswacf\"],\"ttlValues\":[\"k\",\"zewk\",\"vhqcrail\",\"pnppfuf\"],\"dscpMarkings\":[\"dmhdlxyjr\",\"sag\",\"fcnihgwq\"],\"protocolNeighbors\":[\"edgfbcvkcvq\",\"pkeqdcvdrhvoo\"],\"portCondition\":{\"flags\":[\"bobzdopcjwvnhd\",\"d\"],\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"rslpmutwuoeg\",\"pkhjwni\"],\"portGroupNames\":[\"luicpdggkzzlvmbm\",\"axmodfvuef\",\"wsbpfvm\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"fouyf\",\"aakc\",\"wiyzvqtmnubexkp\",\"ksmond\"]},\"protocolTypes\":[\"uxvypomgkopkwh\",\"jvp\",\"jqg\"],\"vlanMatchCondition\":{\"vlans\":[\"ocmbqfqvmkcxoza\",\"vhelxprglyatdd\",\"kcbcue\"],\"innerVlans\":[\"xgc\",\"qibrhosxsdqrhzoy\",\"i\"],\"vlanGroupNames\":[\"qyib\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"dtmhrkwofyyvoqa\",\"piexpbtgiw\",\"wo\"],\"ipGroupNames\":[\"ashrt\",\"tkcnqxwb\"]}},{\"etherTypes\":[\"ulpiuj\",\"aasipqi\",\"obyu\"],\"fragments\":[\"pqlpq\",\"cciuqgbdbutau\"],\"ipLengths\":[\"tkuwhhmhykojo\",\"afnn\"],\"ttlValues\":[\"ichkoymkcdyhb\",\"kkpwdreqnovvq\",\"ovljxywsu\"],\"dscpMarkings\":[\"rsndsytgadgvra\"],\"protocolNeighbors\":[\"neqn\"],\"portCondition\":{\"flags\":[\"wlquuijfqkace\",\"iipfpubj\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"tohqkvpuvksgp\"],\"portGroupNames\":[\"kn\",\"n\",\"synljphuopxodl\",\"iyntorzihle\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"w\",\"rmslyzrpzbchckqq\"]},\"protocolTypes\":[\"ox\",\"ysuiizynkedya\",\"rwyhqmibzyhwitsm\"],\"vlanMatchCondition\":{\"vlans\":[\"npcdpumnzgm\",\"z\",\"mabiknsorgjhxb\",\"dtlwwrlkd\"],\"innerVlans\":[\"cvokotllxdyhg\",\"y\",\"cogjltdtbn\",\"hadoocrk\"],\"vlanGroupNames\":[\"khnvpam\",\"gxqquezik\",\"wggxkallat\",\"elwuipi\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"gvvcnayrhyr\"],\"ipGroupNames\":[\"mueedndrdvstk\",\"qqtch\"]}}],\"actions\":[{\"type\":\"Log\",\"counterName\":\"tdaaygdvwvg\",\"remarkComment\":\"ohgwxrtfudxepxg\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"mnpkukghimdblxg\",\"remarkComment\":\"mfnjh\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"PoliceRate\",\"counterName\":\"kkfoqr\",\"remarkComment\":\"fkzikfj\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]},{\"matchConfigurationName\":\"ivx\",\"sequenceNumber\":2373068837860943179,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"etherTypes\":[\"lsfeaenwabfatkld\",\"xbjhwuaanozjosph\"],\"fragments\":[\"l\",\"jrvxaglrv\"],\"ipLengths\":[\"wosytxitcskf\",\"k\",\"qumiek\",\"ez\"],\"ttlValues\":[\"hlyfjhdgqgg\"],\"dscpMarkings\":[\"unygaeqid\",\"qfatpxllrxcyjm\"],\"protocolNeighbors\":[\"su\",\"arm\",\"wdmjsjqbjhhyx\",\"rw\"],\"portCondition\":{\"flags\":[\"duhpk\",\"kgymareqnajxqug\"],\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"beddgssofw\",\"mzqa\"],\"portGroupNames\":[\"mnjijpxacqqudf\",\"byxbaaabjy\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"fimrzrtuzqogse\",\"nevfdnw\",\"wmewzsyy\",\"euzsoi\"]},\"protocolTypes\":[\"dpfrxtrthzvaytdw\"],\"vlanMatchCondition\":{\"vlans\":[\"qu\",\"paxh\",\"xiilivpdtiirqt\",\"qoaxoruzfgs\"],\"innerVlans\":[\"fxrxxle\",\"tramxjez\"],\"vlanGroupNames\":[\"nwxuqlcvydyp\",\"tdooaoj\",\"niodkooeb\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"sbvdkcrodtjinfw\",\"lfltka\",\"jvefkdlfoakggkfp\",\"gaowpulpqblylsyx\"],\"ipGroupNames\":[\"nsj\",\"r\",\"tiagx\",\"dszue\"]}},{\"etherTypes\":[\"bzkfzbeyvpn\",\"icvi\"],\"fragments\":[\"jjxd\"],\"ipLengths\":[\"uukzclewyhmlw\",\"aztz\",\"ofncckwyfzqwhxxb\",\"yq\"],\"ttlValues\":[\"feqztppriol\",\"or\",\"altol\"],\"dscpMarkings\":[\"wsobqwcsdbn\",\"dcfhucqdpf\",\"vglsbjjca\"],\"protocolNeighbors\":[\"bvtvudutncormr\",\"xqtvcofu\"],\"portCondition\":{\"flags\":[\"kgjubgdknnqvsazn\"],\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"dsg\",\"a\"],\"portGroupNames\":[\"yc\",\"rauwjuetaebu\",\"u\"]},\"icmpConfiguration\":{\"icmpTypes\":[\"vsmzlxwab\"]},\"protocolTypes\":[\"efkifr\",\"tpuqujmq\"],\"vlanMatchCondition\":{\"vlans\":[\"btndo\",\"ongbjcnt\",\"jitcjedftwwaez\"],\"innerVlans\":[\"v\",\"c\",\"zfoqouicybxar\",\"gszufoxciqopid\"],\"vlanGroupNames\":[\"ciodhkhaz\",\"khnzbonlw\",\"toego\",\"dwbwhkszzcmrvexz\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"ra\"],\"ipGroupNames\":[\"koowtl\",\"nguxawqaldsy\",\"uximerqfobw\",\"znkbykutwpfhpagm\"]}}],\"actions\":[{\"type\":\"Count\",\"counterName\":\"nfd\",\"remarkComment\":\"oakgtdlmkkzev\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"PoliceRate\",\"counterName\":\"sdsttwvog\",\"remarkComment\":\"bejdcn\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"Count\",\"counterName\":\"ufgmjzrwrdg\",\"remarkComment\":\"wae\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}},{\"type\":\"PoliceRate\",\"counterName\":\"bminrfdwoyuhhzi\",\"remarkComment\":\"efozbhdms\",\"policeRateConfiguration\":{\"bitRate\":{},\"burstSize\":{}}}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"rmaequ\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"cslfaoqzpiyylha\",\"nswhcc\"]}],\"vlanGroups\":[{\"name\":\"aivwitqscywu\",\"vlans\":[\"oluhczbwemh\",\"i\",\"sbrgz\",\"wmsweypqwd\"]}],\"portGroups\":[{\"name\":\"cccnxqhuexmktt\",\"ports\":[\"vlz\"]},{\"name\":\"emhzrncsdtc\",\"ports\":[\"iypbsfgytgusl\",\"eadcygqukyhejhz\"]},{\"name\":\"xgfpelolppv\",\"ports\":[\"pqvujzraehtwdwrf\"]}]},{\"ipGroups\":[{\"name\":\"byrcdlbhshfwp\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"wity\",\"hevxcced\",\"pnmdyodnwzxltjcv\"]}],\"vlanGroups\":[{\"name\":\"iugcxnavvwxq\",\"vlans\":[\"qunyowxwlmdjr\"]},{\"name\":\"fgbvfvpdbo\",\"vlans\":[\"izsjqlhkrr\",\"bdeibqipqk\",\"hvxndzwmkrefajpj\",\"rwkq\"]},{\"name\":\"hgbijt\",\"vlans\":[\"fxzsjabibsyst\",\"wfsdjpvkvpbj\"]}],\"portGroups\":[{\"name\":\"bzkdvn\",\"ports\":[\"budurgkakmo\",\"zhjjklffhmouwq\"]},{\"name\":\"zrfze\",\"ports\":[\"bizikayuhq\",\"bjbsybb\",\"wrv\"]},{\"name\":\"dgmfpgvmpipasl\",\"ports\":[\"qfxssmwutw\",\"dsrezpdrhneuyow\"]},{\"name\":\"d\",\"ports\":[\"i\"]}]}],\"lastSyncedTime\":\"2020-12-27T08:51:44Z\",\"aclType\":\"ControlPlaneTrafficPolicy\",\"deviceRole\":\"TerminalServer\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"imejzanl\"},\"networkFabricIds\":[\"iavrm\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{\"matchConfigurationName\":\"rjqc\",\"sequenceNumber\":7350940410985010764,\"matchCondition\":{\"protocolTypes\":\"rlazszrnw\",\"ipCondition\":{},\"ttlMatchCondition\":{},\"portCondition\":{},\"flags\":[\"pwp\",\"ylwbtlhflsjcdhsz\",\"jvfbgofelja\"],\"icmpConfiguration\":{}},\"action\":{\"type\":\"Permit\",\"remarkComment\":\"ldvriiiojnalghfk\"}}]}],\"configurationState\":\"Provisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Disabled\"}") .toObject(AccessControlListProperties.class); Assertions.assertEquals("xoegukgjnpiucgy", model.annotation()); Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); @@ -110,7 +110,7 @@ public void testDeserialize() throws Exception { Assertions.assertEquals("cccnxqhuexmktt", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); Assertions.assertEquals("vlz", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); Assertions.assertEquals(AclType.CP, model.aclType()); - Assertions.assertEquals(DeviceRole.NPB, model.deviceRole()); + Assertions.assertEquals(DeviceRole.TERMINAL_SERVER, model.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.TRUE, model.globalAccessControlListActions().enableCount()); Assertions.assertEquals(IpAddressType.IPV6, model.controlPlaneAclConfiguration().get(0).ipAddressType()); Assertions.assertEquals("rjqc", @@ -496,7 +496,7 @@ public void testSerialize() throws Exception { .withPorts(Arrays.asList("qfxssmwutw", "dsrezpdrhneuyow")), new PortGroupProperties().withName("d").withPorts(Arrays.asList("i")))))) .withAclType(AclType.CP) - .withDeviceRole(DeviceRole.NPB) + .withDeviceRole(DeviceRole.TERMINAL_SERVER) .withGlobalAccessControlListActions( new GlobalAccessControlListActionProperties().withEnableCount(BooleanEnumProperty.TRUE)) .withControlPlaneAclConfiguration( @@ -575,7 +575,7 @@ public void testSerialize() throws Exception { Assertions.assertEquals("cccnxqhuexmktt", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); Assertions.assertEquals("vlz", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); Assertions.assertEquals(AclType.CP, model.aclType()); - Assertions.assertEquals(DeviceRole.NPB, model.deviceRole()); + Assertions.assertEquals(DeviceRole.TERMINAL_SERVER, model.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.TRUE, model.globalAccessControlListActions().enableCount()); Assertions.assertEquals(IpAddressType.IPV6, model.controlPlaneAclConfiguration().get(0).ipAddressType()); Assertions.assertEquals("rjqc", diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateMockTests.java index e6852c1dcfa61..e58bcf66e2a92 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsCreateMockTests.java @@ -40,7 +40,7 @@ public final class AccessControlListsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"dzpx\",\"configurationType\":\"Inline\",\"aclsUrl\":\"qlvbkzai\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"iviniyoizuwwzc\",\"sequenceNumber\":3424445099708255376,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]}],\"lastSyncedTime\":\"2020-12-25T11:24:20Z\",\"aclType\":\"Management\",\"deviceRole\":\"ManagementSwitch\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"ypcuri\"},\"networkFabricIds\":[\"xtclveqdqtzsh\",\"lwjxrymiysgh\",\"cmqdlkkwbdek\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{}]}],\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"},\"location\":\"qhwcxx\",\"tags\":{\"tpzriknoscl\":\"gfvozaiyvrex\"},\"id\":\"jywwumbusnawbnc\",\"name\":\"jkhmsobua\",\"type\":\"okiclrmmudvo\"}"; + = "{\"properties\":{\"annotation\":\"kzmsyezxifjuvhuo\",\"configurationType\":\"Inline\",\"aclsUrl\":\"twvkuhtdxd\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"eknmc\",\"sequenceNumber\":8990421826507555871,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{}]},{\"matchConfigurationName\":\"htkkcc\",\"sequenceNumber\":2320454956467510593,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"yafa\",\"sequenceNumber\":5762601024359305198,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{}],\"portGroups\":[{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{},{}]}],\"lastSyncedTime\":\"2021-10-25T18:27:29Z\",\"aclType\":\"ControlPlaneAcl\",\"deviceRole\":\"NPB\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"ncdrchuewxliq\"},\"networkFabricIds\":[\"nqjoe\",\"cjcglv\",\"bctitexrbalv\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{},{}]}],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"rqlazfjltckbjvd\",\"tags\":{\"tde\":\"fv\"},\"id\":\"fdz\",\"name\":\"xalkqlvbkzaiyrn\",\"type\":\"woi\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -49,65 +49,65 @@ public void testCreate() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - AccessControlList response - = manager.accessControlLists() - .define("ewgglq") - .withRegion("yafa") - .withExistingResourceGroup("qlyoor") - .withConfigurationType(ConfigurationType.INLINE) - .withTags(mapOf("ctilbxn", "lvtiploaws", "ohvdbncdrchue", "ynjtudfhpelza", "lvobctitexrbalv", - "xliqcbonqjoekcjc", "pdyrqlazfjl", "fdqilprqhxfqk")) - .withAnnotation("ykckyhxuzn") - .withAclsUrl("iadj") - .withDefaultAction(CommunityActionTypes.PERMIT) - .withMatchConfigurations( - Arrays.asList( - new AccessControlListMatchConfiguration().withMatchConfigurationName("lcd") - .withSequenceNumber(2236492543838566009L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList(new AccessControlListMatchCondition(), - new AccessControlListMatchCondition(), new AccessControlListMatchCondition(), - new AccessControlListMatchCondition())) - .withActions(Arrays.asList(new AccessControlListAction(), new AccessControlListAction(), - new AccessControlListAction())), - new AccessControlListMatchConfiguration().withMatchConfigurationName("ygmtbiv") - .withSequenceNumber(2231968140941111534L) - .withIpAddressType(IpAddressType.IPV4) - .withMatchConditions(Arrays.asList(new AccessControlListMatchCondition(), - new AccessControlListMatchCondition(), new AccessControlListMatchCondition())) - .withActions(Arrays.asList(new AccessControlListAction(), new AccessControlListAction())))) - .withDynamicMatchConfigurations(Arrays.asList(new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList(new IpGroupProperties(), new IpGroupProperties(), - new IpGroupProperties(), new IpGroupProperties())) - .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties(), - new VlanGroupProperties(), new VlanGroupProperties())) - .withPortGroups(Arrays.asList(new PortGroupProperties())))) - .withAclType(AclType.CP) - .withDeviceRole(DeviceRole.MANAGEMENT_SWITCH) - .withGlobalAccessControlListActions( - new GlobalAccessControlListActionProperties().withEnableCount(BooleanEnumProperty.TRUE)) - .withControlPlaneAclConfiguration(Arrays.asList( - new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV6) - .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties(), - new ControlPlaneAclMatchConfigurationProperties(), - new ControlPlaneAclMatchConfigurationProperties())), - new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV4) - .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties())), - new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV6) - .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties())))) - .create(); + AccessControlList response = manager.accessControlLists() + .define("lj") + .withRegion("qwlbeqc") + .withExistingResourceGroup("vnfyfyftkvzb") + .withConfigurationType(ConfigurationType.INLINE) + .withTags(mapOf("gkoci", "cgropuqgis", "gglqijykckyhxu", "ikqlyoorme", "lcd", "nbcpiadjslvxs", "ivpzjnrw", + "bibfviacghygmt")) + .withAnnotation("iumagfyinmajj") + .withAclsUrl("gtwfk") + .withDefaultAction(CommunityActionTypes.DENY) + .withMatchConfigurations( + Arrays.asList(new AccessControlListMatchConfiguration().withMatchConfigurationName("kbebuafbddm") + .withSequenceNumber(8883823392151997997L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays.asList(new AccessControlListMatchCondition())) + .withActions(Arrays.asList(new AccessControlListAction(), new AccessControlListAction())))) + .withDynamicMatchConfigurations(Arrays.asList( + new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList(new IpGroupProperties(), new IpGroupProperties())) + .withVlanGroups(Arrays.asList(new VlanGroupProperties())) + .withPortGroups(Arrays.asList(new PortGroupProperties(), new PortGroupProperties(), + new PortGroupProperties(), new PortGroupProperties())), + new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList(new IpGroupProperties(), new IpGroupProperties())) + .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties())) + .withPortGroups(Arrays.asList(new PortGroupProperties(), new PortGroupProperties())))) + .withAclType(AclType.MANAGEMENT) + .withDeviceRole(DeviceRole.CE) + .withGlobalAccessControlListActions( + new GlobalAccessControlListActionProperties().withEnableCount(BooleanEnumProperty.TRUE)) + .withControlPlaneAclConfiguration(Arrays.asList( + new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV4) + .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties())), + new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV6) + .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties())), + new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV4) + .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties(), + new ControlPlaneAclMatchConfigurationProperties())), + new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV6) + .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties())))) + .create(); - Assertions.assertEquals("qhwcxx", response.location()); - Assertions.assertEquals("gfvozaiyvrex", response.tags().get("tpzriknoscl")); - Assertions.assertEquals("dzpx", response.annotation()); + Assertions.assertEquals("rqlazfjltckbjvd", response.location()); + Assertions.assertEquals("fv", response.tags().get("tde")); + Assertions.assertEquals("kzmsyezxifjuvhuo", response.annotation()); Assertions.assertEquals(ConfigurationType.INLINE, response.configurationType()); - Assertions.assertEquals("qlvbkzai", response.aclsUrl()); + Assertions.assertEquals("twvkuhtdxd", response.aclsUrl()); Assertions.assertEquals(CommunityActionTypes.DENY, response.defaultAction()); - Assertions.assertEquals("iviniyoizuwwzc", response.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(3424445099708255376L, response.matchConfigurations().get(0).sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, response.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(AclType.MANAGEMENT, response.aclType()); - Assertions.assertEquals(DeviceRole.MANAGEMENT_SWITCH, response.deviceRole()); + Assertions.assertEquals("eknmc", response.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(8990421826507555871L, response.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, response.matchConfigurations().get(0).ipAddressType()); + Assertions.assertEquals(AclType.CONTROL_PLANE_ACL, response.aclType()); + Assertions.assertEquals(DeviceRole.NPB, response.deviceRole()); Assertions.assertEquals(BooleanEnumProperty.TRUE, response.globalAccessControlListActions().enableCount()); Assertions.assertEquals(IpAddressType.IPV4, response.controlPlaneAclConfiguration().get(0).ipAddressType()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupWithResponseMockTests.java index 8d929fea35b11..feb3b7c4ddfec 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsGetByResourceGroupWithResponseMockTests.java @@ -27,7 +27,7 @@ public final class AccessControlListsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"wgljfatezdxqhjep\",\"configurationType\":\"File\",\"aclsUrl\":\"myomjeflgnieeq\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"nnduxkepga\",\"sequenceNumber\":9201835691172142957,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"uterrcanlpfqddww\",\"sequenceNumber\":8521131056616640540,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"my\",\"sequenceNumber\":1495221622507288048,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{}]}],\"lastSyncedTime\":\"2021-06-19T06:45:38Z\",\"aclType\":\"ControlPlaneAcl\",\"deviceRole\":\"CE\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"d\"},\"networkFabricIds\":[\"jzxr\",\"xjiraupirvdonkaq\",\"gvgjg\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{}]}],\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"hnx\",\"tags\":{\"wq\":\"frnkts\",\"kstt\":\"arjteqlujmmknia\"},\"id\":\"imeztas\",\"name\":\"l\",\"type\":\"mecweohlerpt\"}"; + = "{\"properties\":{\"annotation\":\"plpdzriettnmiuf\",\"configurationType\":\"File\",\"aclsUrl\":\"qmlmbyqyeku\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"egumydogrtfwzecg\",\"sequenceNumber\":5184991116845782739,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"iiqwqbv\",\"sequenceNumber\":8160481076351808659,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"tnkruywrxnks\",\"sequenceNumber\":1925056431742315101,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{}],\"portGroups\":[{}]}],\"lastSyncedTime\":\"2021-10-29T19:18:36Z\",\"aclType\":\"Management\",\"deviceRole\":\"ToR\",\"globalAccessControlListActions\":{\"enableCount\":\"False\"},\"lastOperation\":{\"details\":\"iptqhatfg\"},\"networkFabricIds\":[\"bxgfhgkdmsflhh\",\"upqovuwhv\",\"ihmqhqjdcbgc\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{}]}],\"configurationState\":\"Provisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"zdxcmpdmdsypk\",\"tags\":{\"joupxehsbec\":\"hieh\",\"vyhgpgjdrng\":\"uvkbaoq\",\"i\":\"djeepukuofz\"},\"id\":\"tvucyackgkavpmgt\",\"name\":\"cohfksixv\",\"type\":\"kpcesmurj\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,21 +37,21 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); AccessControlList response = manager.accessControlLists() - .getByResourceGroupWithResponse("fb", "b", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("kimntxdvlqmn", "hdhoyvpdu", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("hnx", response.location()); - Assertions.assertEquals("frnkts", response.tags().get("wq")); - Assertions.assertEquals("wgljfatezdxqhjep", response.annotation()); + Assertions.assertEquals("zdxcmpdmdsypk", response.location()); + Assertions.assertEquals("hieh", response.tags().get("joupxehsbec")); + Assertions.assertEquals("plpdzriettnmiuf", response.annotation()); Assertions.assertEquals(ConfigurationType.FILE, response.configurationType()); - Assertions.assertEquals("myomjeflgnieeq", response.aclsUrl()); + Assertions.assertEquals("qmlmbyqyeku", response.aclsUrl()); Assertions.assertEquals(CommunityActionTypes.PERMIT, response.defaultAction()); - Assertions.assertEquals("nnduxkepga", response.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(9201835691172142957L, response.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("egumydogrtfwzecg", response.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5184991116845782739L, response.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, response.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(AclType.CONTROL_PLANE_ACL, response.aclType()); - Assertions.assertEquals(DeviceRole.CE, response.deviceRole()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, response.globalAccessControlListActions().enableCount()); + Assertions.assertEquals(AclType.MANAGEMENT, response.aclType()); + Assertions.assertEquals(DeviceRole.TOR, response.deviceRole()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, response.globalAccessControlListActions().enableCount()); Assertions.assertEquals(IpAddressType.IPV4, response.controlPlaneAclConfiguration().get(0).ipAddressType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupMockTests.java index 6f93451c332af..0c3f10a867ba9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListByResourceGroupMockTests.java @@ -28,7 +28,7 @@ public final class AccessControlListsListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"gbpaba\",\"configurationType\":\"File\",\"aclsUrl\":\"eirjrkak\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"mazlx\",\"sequenceNumber\":3571101816448060118,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{}]}],\"lastSyncedTime\":\"2021-10-27T04:53:25Z\",\"aclType\":\"Tenant\",\"deviceRole\":\"CE\",\"globalAccessControlListActions\":{\"enableCount\":\"False\"},\"lastOperation\":{\"details\":\"tedxzgyhbzmgzsyt\"},\"networkFabricIds\":[\"slr\",\"vsqsbqr\",\"bpiqfstkdl\",\"jzijxefydck\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{}]}],\"configurationState\":\"Provisioned\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Disabled\"},\"location\":\"nhflx\",\"tags\":{\"frdlfewex\":\"trugo\",\"ijclfdprezqx\":\"rvbdyriyraybigks\"},\"id\":\"xeigyddp\",\"name\":\"n\",\"type\":\"bxerzypcralwvc\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"yzjdgmqeh\",\"configurationType\":\"Inline\",\"aclsUrl\":\"gd\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"weyuigyzse\",\"sequenceNumber\":7456172557431019159,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"cxxjyxyunypfkvj\",\"sequenceNumber\":6862070043270090930,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{}]},{\"matchConfigurationName\":\"aqgmztlru\",\"sequenceNumber\":6744707441300977265,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"gjsqqqairoo\",\"sequenceNumber\":1460268210988628753,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{},{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{}]}],\"lastSyncedTime\":\"2021-05-19T21:13Z\",\"aclType\":\"Tenant\",\"deviceRole\":\"ToR\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"fb\"},\"networkFabricIds\":[\"r\",\"gljfat\",\"zdxqhjeph\",\"imyo\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{}]}],\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\"},\"location\":\"am\",\"tags\":{\"futerrcanlpfqd\":\"biter\",\"wupqkvmygueef\":\"wwpgcq\",\"agw\":\"xzwvcvtjdq\",\"rpxj\":\"jafbdvpcdzdbjz\"},\"id\":\"raupirvdonka\",\"name\":\"ngvgjgcwwuusjjht\",\"type\":\"yz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -38,23 +38,23 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.accessControlLists().listByResourceGroup("wvzapybdeea", com.azure.core.util.Context.NONE); + = manager.accessControlLists().listByResourceGroup("bpnxohagcoj", com.azure.core.util.Context.NONE); - Assertions.assertEquals("nhflx", response.iterator().next().location()); - Assertions.assertEquals("trugo", response.iterator().next().tags().get("frdlfewex")); - Assertions.assertEquals("gbpaba", response.iterator().next().annotation()); - Assertions.assertEquals(ConfigurationType.FILE, response.iterator().next().configurationType()); - Assertions.assertEquals("eirjrkak", response.iterator().next().aclsUrl()); - Assertions.assertEquals(CommunityActionTypes.DENY, response.iterator().next().defaultAction()); - Assertions.assertEquals("mazlx", + Assertions.assertEquals("am", response.iterator().next().location()); + Assertions.assertEquals("biter", response.iterator().next().tags().get("futerrcanlpfqd")); + Assertions.assertEquals("yzjdgmqeh", response.iterator().next().annotation()); + Assertions.assertEquals(ConfigurationType.INLINE, response.iterator().next().configurationType()); + Assertions.assertEquals("gd", response.iterator().next().aclsUrl()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, response.iterator().next().defaultAction()); + Assertions.assertEquals("weyuigyzse", response.iterator().next().matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(3571101816448060118L, + Assertions.assertEquals(7456172557431019159L, response.iterator().next().matchConfigurations().get(0).sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, + Assertions.assertEquals(IpAddressType.IPV4, response.iterator().next().matchConfigurations().get(0).ipAddressType()); Assertions.assertEquals(AclType.TENANT, response.iterator().next().aclType()); - Assertions.assertEquals(DeviceRole.CE, response.iterator().next().deviceRole()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals(DeviceRole.TOR, response.iterator().next().deviceRole()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, response.iterator().next().globalAccessControlListActions().enableCount()); Assertions.assertEquals(IpAddressType.IPV6, response.iterator().next().controlPlaneAclConfiguration().get(0).ipAddressType()); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListMockTests.java index a1803c4ed0668..7501d25d676f3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListMockTests.java @@ -28,7 +28,7 @@ public final class AccessControlListsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"rbizx\",\"configurationType\":\"Inline\",\"aclsUrl\":\"mhzbcuj\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"r\",\"sequenceNumber\":3885308377188332629,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"bf\",\"sequenceNumber\":6423338404278797884,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"mkuquvcgvn\",\"sequenceNumber\":515464128940727586,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{}]}],\"lastSyncedTime\":\"2021-06-22T01:01:42Z\",\"aclType\":\"ControlPlaneAcl\",\"deviceRole\":\"ManagementSwitch\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"pomiustkq\"},\"networkFabricIds\":[\"bhlgrrskvt\",\"bkeeohpfedx\",\"djudekmxhwzm\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{},{}]}],\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Updating\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"edijdhzkwvuewe\",\"tags\":{\"lxdknxctglz\":\"jels\",\"fsgwi\":\"cx\",\"wjudx\":\"yiw\",\"zcffchn\":\"fvn\"},\"id\":\"iyevjeht\",\"name\":\"eaoxxsehfl\",\"type\":\"m\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"highnxhgmfrnk\",\"configurationType\":\"File\",\"aclsUrl\":\"wq\",\"defaultAction\":\"Permit\",\"matchConfigurations\":[{\"matchConfigurationName\":\"qlujmmkniaukst\",\"sequenceNumber\":6960325120499186636,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"gmecwe\",\"sequenceNumber\":5219918410336774887,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"a\",\"sequenceNumber\":4984572145315342018,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{}]}],\"lastSyncedTime\":\"2021-01-06T16:16:23Z\",\"aclType\":\"Management\",\"deviceRole\":\"CE\",\"globalAccessControlListActions\":{\"enableCount\":\"True\"},\"lastOperation\":{\"details\":\"yqrlg\"},\"networkFabricIds\":[\"pb\",\"kpardo\",\"dtedxz\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{}]}],\"configurationState\":\"Failed\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"},\"location\":\"bqrqbpiqfstkdlyj\",\"tags\":{\"ckffkzlchrkiwpa\":\"xefy\",\"nit\":\"nhflx\"},\"id\":\"ug\",\"name\":\"tfrdlfewexbrvb\",\"type\":\"yriyraybi\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -39,22 +39,23 @@ public void testList() throws Exception { PagedIterable response = manager.accessControlLists().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("edijdhzkwvuewe", response.iterator().next().location()); - Assertions.assertEquals("jels", response.iterator().next().tags().get("lxdknxctglz")); - Assertions.assertEquals("rbizx", response.iterator().next().annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, response.iterator().next().configurationType()); - Assertions.assertEquals("mhzbcuj", response.iterator().next().aclsUrl()); + Assertions.assertEquals("bqrqbpiqfstkdlyj", response.iterator().next().location()); + Assertions.assertEquals("xefy", response.iterator().next().tags().get("ckffkzlchrkiwpa")); + Assertions.assertEquals("highnxhgmfrnk", response.iterator().next().annotation()); + Assertions.assertEquals(ConfigurationType.FILE, response.iterator().next().configurationType()); + Assertions.assertEquals("wq", response.iterator().next().aclsUrl()); Assertions.assertEquals(CommunityActionTypes.PERMIT, response.iterator().next().defaultAction()); - Assertions.assertEquals("r", response.iterator().next().matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(3885308377188332629L, + Assertions.assertEquals("qlujmmkniaukst", + response.iterator().next().matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(6960325120499186636L, response.iterator().next().matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, response.iterator().next().matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(AclType.CONTROL_PLANE_ACL, response.iterator().next().aclType()); - Assertions.assertEquals(DeviceRole.MANAGEMENT_SWITCH, response.iterator().next().deviceRole()); + Assertions.assertEquals(AclType.MANAGEMENT, response.iterator().next().aclType()); + Assertions.assertEquals(DeviceRole.CE, response.iterator().next().deviceRole()); Assertions.assertEquals(BooleanEnumProperty.TRUE, response.iterator().next().globalAccessControlListActions().enableCount()); - Assertions.assertEquals(IpAddressType.IPV6, + Assertions.assertEquals(IpAddressType.IPV4, response.iterator().next().controlPlaneAclConfiguration().get(0).ipAddressType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListResultTests.java index 7d72e9a87db76..20075daaacda5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AccessControlListsListResultTests.java @@ -18,7 +18,7 @@ public final class AccessControlListsListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AccessControlListsListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"fkoxmlghktuidvr\",\"configurationType\":\"File\",\"aclsUrl\":\"lpdwwexymzvlazi\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"qsg\",\"sequenceNumber\":546267716188388176,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"rpmey\",\"sequenceNumber\":7297334234854184102,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{}]}],\"lastSyncedTime\":\"2021-01-30T11:52:58Z\",\"aclType\":\"Tenant\",\"deviceRole\":\"ToR\",\"globalAccessControlListActions\":{\"enableCount\":\"False\"},\"lastOperation\":{\"details\":\"mp\"},\"networkFabricIds\":[\"awz\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{}]}],\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\"},\"location\":\"hiqfyuttdiy\",\"tags\":{\"txkyctwwgzwxjlm\":\"vnwsw\"},\"id\":\"cvogygzyvne\",\"name\":\"zaifghtmoqqtlff\",\"type\":\"zbkr\"}],\"nextLink\":\"jjavfq\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"fkoxmlghktuidvr\",\"configurationType\":\"File\",\"aclsUrl\":\"lpdwwexymzvlazi\",\"defaultAction\":\"Deny\",\"matchConfigurations\":[{\"matchConfigurationName\":\"qsg\",\"sequenceNumber\":546267716188388176,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"rpmey\",\"sequenceNumber\":7297334234854184102,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{}]}],\"lastSyncedTime\":\"2021-01-30T11:52:58Z\",\"aclType\":\"Tenant\",\"deviceRole\":\"TerminalServer\",\"globalAccessControlListActions\":{\"enableCount\":\"False\"},\"lastOperation\":{\"details\":\"mp\"},\"networkFabricIds\":[\"awz\"],\"controlPlaneAclConfiguration\":[{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv6\",\"matchConfigurations\":[{},{},{},{}]},{\"ipAddressType\":\"IPv4\",\"matchConfigurations\":[{},{},{}]}],\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\"},\"location\":\"hiqfyuttdiy\",\"tags\":{\"txkyctwwgzwxjlm\":\"vnwsw\"},\"id\":\"cvogygzyvne\",\"name\":\"zaifghtmoqqtlff\",\"type\":\"zbkr\"}],\"nextLink\":\"jjavfq\"}") .toObject(AccessControlListsListResult.class); Assertions.assertEquals("hiqfyuttdiy", model.value().get(0).location()); Assertions.assertEquals("vnwsw", model.value().get(0).tags().get("txkyctwwgzwxjlm")); @@ -31,7 +31,7 @@ public void testDeserialize() throws Exception { model.value().get(0).matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV4, model.value().get(0).matchConfigurations().get(0).ipAddressType()); Assertions.assertEquals(AclType.TENANT, model.value().get(0).aclType()); - Assertions.assertEquals(DeviceRole.TOR, model.value().get(0).deviceRole()); + Assertions.assertEquals(DeviceRole.TERMINAL_SERVER, model.value().get(0).deviceRole()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.value().get(0).globalAccessControlListActions().enableCount()); Assertions.assertEquals(IpAddressType.IPV6, diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPatchPropertiesTests.java index a2b0c5adb232d..ea0e8e6600efe 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPatchPropertiesTests.java @@ -14,22 +14,22 @@ public final class ActionIpCommunityPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ActionIpCommunityPatchProperties model = BinaryData.fromString( - "{\"add\":{\"ipCommunityIds\":[\"i\"]},\"delete\":{\"ipCommunityIds\":[\"f\",\"xm\"]},\"set\":{\"ipCommunityIds\":[\"kretsnyr\"]}}") + "{\"add\":{\"ipCommunityIds\":[\"k\",\"n\"]},\"delete\":{\"ipCommunityIds\":[\"bxogkevdayv\"]},\"set\":{\"ipCommunityIds\":[\"iy\"]}}") .toObject(ActionIpCommunityPatchProperties.class); - Assertions.assertEquals("i", model.add().ipCommunityIds().get(0)); - Assertions.assertEquals("f", model.delete().ipCommunityIds().get(0)); - Assertions.assertEquals("kretsnyr", model.set().ipCommunityIds().get(0)); + Assertions.assertEquals("k", model.add().ipCommunityIds().get(0)); + Assertions.assertEquals("bxogkevdayv", model.delete().ipCommunityIds().get(0)); + Assertions.assertEquals("iy", model.set().ipCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ActionIpCommunityPatchProperties model = new ActionIpCommunityPatchProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("i"))) - .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("f", "xm"))) - .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("kretsnyr"))); + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("k", "n"))) + .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("bxogkevdayv"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("iy"))); model = BinaryData.fromObject(model).toObject(ActionIpCommunityPatchProperties.class); - Assertions.assertEquals("i", model.add().ipCommunityIds().get(0)); - Assertions.assertEquals("f", model.delete().ipCommunityIds().get(0)); - Assertions.assertEquals("kretsnyr", model.set().ipCommunityIds().get(0)); + Assertions.assertEquals("k", model.add().ipCommunityIds().get(0)); + Assertions.assertEquals("bxogkevdayv", model.delete().ipCommunityIds().get(0)); + Assertions.assertEquals("iy", model.set().ipCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPropertiesTests.java index 1f41e1522dc49..0042c72f31cd8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpCommunityPropertiesTests.java @@ -14,22 +14,22 @@ public final class ActionIpCommunityPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ActionIpCommunityProperties model = BinaryData.fromString( - "{\"add\":{\"ipCommunityIds\":[\"urskuffudbk\",\"unngjoasnzlaw\",\"wqsni\"]},\"delete\":{\"ipCommunityIds\":[\"qzurvukszkmxbh\"]},\"set\":{\"ipCommunityIds\":[\"ae\"]}}") + "{\"add\":{\"ipCommunityIds\":[\"blqivc\",\"uqfpzjz\",\"bpcwtwtrchkcmru\"]},\"delete\":{\"ipCommunityIds\":[\"sqsqmiekxip\",\"qchf\"]},\"set\":{\"ipCommunityIds\":[\"kvjjlbajc\",\"rzyqokbgumuejx\"]}}") .toObject(ActionIpCommunityProperties.class); - Assertions.assertEquals("urskuffudbk", model.add().ipCommunityIds().get(0)); - Assertions.assertEquals("qzurvukszkmxbh", model.delete().ipCommunityIds().get(0)); - Assertions.assertEquals("ae", model.set().ipCommunityIds().get(0)); + Assertions.assertEquals("blqivc", model.add().ipCommunityIds().get(0)); + Assertions.assertEquals("sqsqmiekxip", model.delete().ipCommunityIds().get(0)); + Assertions.assertEquals("kvjjlbajc", model.set().ipCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ActionIpCommunityProperties model = new ActionIpCommunityProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("urskuffudbk", "unngjoasnzlaw", "wqsni"))) - .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("qzurvukszkmxbh"))) - .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("ae"))); + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("blqivc", "uqfpzjz", "bpcwtwtrchkcmru"))) + .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("sqsqmiekxip", "qchf"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("kvjjlbajc", "rzyqokbgumuejx"))); model = BinaryData.fromObject(model).toObject(ActionIpCommunityProperties.class); - Assertions.assertEquals("urskuffudbk", model.add().ipCommunityIds().get(0)); - Assertions.assertEquals("qzurvukszkmxbh", model.delete().ipCommunityIds().get(0)); - Assertions.assertEquals("ae", model.set().ipCommunityIds().get(0)); + Assertions.assertEquals("blqivc", model.add().ipCommunityIds().get(0)); + Assertions.assertEquals("sqsqmiekxip", model.delete().ipCommunityIds().get(0)); + Assertions.assertEquals("kvjjlbajc", model.set().ipCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPatchPropertiesTests.java index d361f5f81630b..9c7cf2e096b47 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPatchPropertiesTests.java @@ -14,24 +14,24 @@ public final class ActionIpExtendedCommunityPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ActionIpExtendedCommunityPatchProperties model = BinaryData.fromString( - "{\"add\":{\"ipExtendedCommunityIds\":[\"byzz\",\"xsygaoymyckd\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"xbmljrjyfjleuxix\",\"psjldgnimqoac\",\"qzxjziqcsotwqtk\",\"dcdefqoe\"]},\"set\":{\"ipExtendedCommunityIds\":[\"gnddaxaogskhc\",\"m\",\"bipyse\",\"yyb\"]}}") + "{\"add\":{\"ipExtendedCommunityIds\":[\"gkjalrjwaezp\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"psbomt\",\"epzimfc\",\"suiwexpasckpg\"]},\"set\":{\"ipExtendedCommunityIds\":[\"xbwslxgcmxtoejt\",\"vqctmlidkxz\"]}}") .toObject(ActionIpExtendedCommunityPatchProperties.class); - Assertions.assertEquals("byzz", model.add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("xbmljrjyfjleuxix", model.delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("gnddaxaogskhc", model.set().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("gkjalrjwaezp", model.add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("psbomt", model.delete().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("xbwslxgcmxtoejt", model.set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ActionIpExtendedCommunityPatchProperties model = new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("byzz", "xsygaoymyckd"))) - .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("xbmljrjyfjleuxix", "psjldgnimqoac", "qzxjziqcsotwqtk", "dcdefqoe"))) + .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("gkjalrjwaezp"))) + .withDelete(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("psbomt", "epzimfc", "suiwexpasckpg"))) .withSet(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("gnddaxaogskhc", "m", "bipyse", "yyb"))); + .withIpExtendedCommunityIds(Arrays.asList("xbwslxgcmxtoejt", "vqctmlidkxz"))); model = BinaryData.fromObject(model).toObject(ActionIpExtendedCommunityPatchProperties.class); - Assertions.assertEquals("byzz", model.add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("xbmljrjyfjleuxix", model.delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("gnddaxaogskhc", model.set().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("gkjalrjwaezp", model.add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("psbomt", model.delete().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("xbwslxgcmxtoejt", model.set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPropertiesTests.java index 7b092596ae263..0ae4f5940af60 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ActionIpExtendedCommunityPropertiesTests.java @@ -14,24 +14,24 @@ public final class ActionIpExtendedCommunityPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ActionIpExtendedCommunityProperties model = BinaryData.fromString( - "{\"add\":{\"ipExtendedCommunityIds\":[\"mwow\",\"mhmifhfutjyx\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"tguqa\",\"moygcax\",\"ymdqr\",\"vgicxt\"]},\"set\":{\"ipExtendedCommunityIds\":[\"gnsydksvjfgxgdpi\",\"jkhcoscoljjhcs\",\"zooefzsdttbq\",\"aqdvwo\"]}}") + "{\"add\":{\"ipExtendedCommunityIds\":[\"kjkngzfsulaybhoz\",\"sbufnh\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"tpo\",\"eytrsljzm\"]},\"set\":{\"ipExtendedCommunityIds\":[\"sggsxznbp\",\"mkqbylbbnjldicq\"]}}") .toObject(ActionIpExtendedCommunityProperties.class); - Assertions.assertEquals("mwow", model.add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("tguqa", model.delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("gnsydksvjfgxgdpi", model.set().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("kjkngzfsulaybhoz", model.add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("tpo", model.delete().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("sggsxznbp", model.set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ActionIpExtendedCommunityProperties model = new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("mwow", "mhmifhfutjyx"))) - .withDelete(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("tguqa", "moygcax", "ymdqr", "vgicxt"))) - .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("gnsydksvjfgxgdpi", "jkhcoscoljjhcs", "zooefzsdttbq", "aqdvwo"))); + .withAdd( + new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("kjkngzfsulaybhoz", "sbufnh"))) + .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("tpo", "eytrsljzm"))) + .withSet(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("sggsxznbp", "mkqbylbbnjldicq"))); model = BinaryData.fromObject(model).toObject(ActionIpExtendedCommunityProperties.class); - Assertions.assertEquals("mwow", model.add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("tguqa", model.delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("gnsydksvjfgxgdpi", model.set().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("kjkngzfsulaybhoz", model.add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("tpo", model.delete().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("sggsxznbp", model.set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteConfigurationTests.java index ad6a2a787cbe3..95bf41ea8f70f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteConfigurationTests.java @@ -14,20 +14,22 @@ public final class AggregateRouteConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AggregateRouteConfiguration model = BinaryData.fromString( - "{\"ipv4Routes\":[{\"prefix\":\"eba\"}],\"ipv6Routes\":[{\"prefix\":\"llrzlsmmdqgmihz\"},{\"prefix\":\"imcqrh\"}]}") + "{\"ipv4Routes\":[{\"prefix\":\"e\"},{\"prefix\":\"gjqafkmkrokzr\"}],\"ipv6Routes\":[{\"prefix\":\"etw\"},{\"prefix\":\"qrtvaoznqni\"},{\"prefix\":\"iezeagm\"},{\"prefix\":\"eituugedhfpjs\"}]}") .toObject(AggregateRouteConfiguration.class); - Assertions.assertEquals("eba", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("llrzlsmmdqgmihz", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("e", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("etw", model.ipv6Routes().get(0).prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AggregateRouteConfiguration model - = new AggregateRouteConfiguration().withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("eba"))) - .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("llrzlsmmdqgmihz"), - new AggregateRoute().withPrefix("imcqrh"))); + AggregateRouteConfiguration model = new AggregateRouteConfiguration() + .withIpv4Routes( + Arrays.asList(new AggregateRoute().withPrefix("e"), new AggregateRoute().withPrefix("gjqafkmkrokzr"))) + .withIpv6Routes( + Arrays.asList(new AggregateRoute().withPrefix("etw"), new AggregateRoute().withPrefix("qrtvaoznqni"), + new AggregateRoute().withPrefix("iezeagm"), new AggregateRoute().withPrefix("eituugedhfpjs"))); model = BinaryData.fromObject(model).toObject(AggregateRouteConfiguration.class); - Assertions.assertEquals("eba", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("llrzlsmmdqgmihz", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("e", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("etw", model.ipv6Routes().get(0).prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRoutePatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRoutePatchConfigurationTests.java index 033ae1b6bbeb9..32318a026ddf7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRoutePatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRoutePatchConfigurationTests.java @@ -14,21 +14,20 @@ public final class AggregateRoutePatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AggregateRoutePatchConfiguration model = BinaryData.fromString( - "{\"ipv4Routes\":[{\"prefix\":\"wamec\"}],\"ipv6Routes\":[{\"prefix\":\"ioulndhzyoe\"},{\"prefix\":\"jhtollh\"},{\"prefix\":\"vidmytzl\"},{\"prefix\":\"glxpnovyoanfbcsw\"}]}") + "{\"ipv4Routes\":[{\"prefix\":\"apfjiik\"},{\"prefix\":\"jdiq\"}],\"ipv6Routes\":[{\"prefix\":\"ejhpclbiedfsbwc\"}]}") .toObject(AggregateRoutePatchConfiguration.class); - Assertions.assertEquals("wamec", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("ioulndhzyoe", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("apfjiik", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ejhpclbiedfsbwc", model.ipv6Routes().get(0).prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { AggregateRoutePatchConfiguration model = new AggregateRoutePatchConfiguration() - .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("wamec"))) - .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("ioulndhzyoe"), - new AggregateRoute().withPrefix("jhtollh"), new AggregateRoute().withPrefix("vidmytzl"), - new AggregateRoute().withPrefix("glxpnovyoanfbcsw"))); + .withIpv4Routes( + Arrays.asList(new AggregateRoute().withPrefix("apfjiik"), new AggregateRoute().withPrefix("jdiq"))) + .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("ejhpclbiedfsbwc"))); model = BinaryData.fromObject(model).toObject(AggregateRoutePatchConfiguration.class); - Assertions.assertEquals("wamec", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("ioulndhzyoe", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("apfjiik", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ejhpclbiedfsbwc", model.ipv6Routes().get(0).prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteTests.java index 930ed75666019..b2d4d9c01bb01 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AggregateRouteTests.java @@ -11,15 +11,14 @@ public final class AggregateRouteTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - AggregateRoute model - = BinaryData.fromString("{\"prefix\":\"xtminklogxsvtzar\"}").toObject(AggregateRoute.class); - Assertions.assertEquals("xtminklogxsvtzar", model.prefix()); + AggregateRoute model = BinaryData.fromString("{\"prefix\":\"lzmb\"}").toObject(AggregateRoute.class); + Assertions.assertEquals("lzmb", model.prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AggregateRoute model = new AggregateRoute().withPrefix("xtminklogxsvtzar"); + AggregateRoute model = new AggregateRoute().withPrefix("lzmb"); model = BinaryData.fromObject(model).toObject(AggregateRoute.class); - Assertions.assertEquals("xtminklogxsvtzar", model.prefix()); + Assertions.assertEquals("lzmb", model.prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AnnotationResourceTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AnnotationResourceTests.java index 79eb0953bdf4a..59c48bf82169a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AnnotationResourceTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/AnnotationResourceTests.java @@ -12,14 +12,14 @@ public final class AnnotationResourceTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AnnotationResource model - = BinaryData.fromString("{\"annotation\":\"sczpgvdwnapfd\"}").toObject(AnnotationResource.class); - Assertions.assertEquals("sczpgvdwnapfd", model.annotation()); + = BinaryData.fromString("{\"annotation\":\"ytehqpuvjmvqmt\"}").toObject(AnnotationResource.class); + Assertions.assertEquals("ytehqpuvjmvqmt", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AnnotationResource model = new AnnotationResource().withAnnotation("sczpgvdwnapfd"); + AnnotationResource model = new AnnotationResource().withAnnotation("ytehqpuvjmvqmt"); model = BinaryData.fromObject(model).toObject(AnnotationResource.class); - Assertions.assertEquals("sczpgvdwnapfd", model.annotation()); + Assertions.assertEquals("ytehqpuvjmvqmt", model.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ArmConfigurationDiffResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ArmConfigurationDiffResponsePropertiesTests.java index 93472d662efc0..e1c4a054e2c3b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ArmConfigurationDiffResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ArmConfigurationDiffResponsePropertiesTests.java @@ -11,8 +11,9 @@ public final class ArmConfigurationDiffResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ArmConfigurationDiffResponseProperties model = BinaryData.fromString("{\"configurationDiffUrl\":\"ronsdunr\"}") - .toObject(ArmConfigurationDiffResponseProperties.class); - Assertions.assertEquals("ronsdunr", model.configurationDiffUrl()); + ArmConfigurationDiffResponseProperties model + = BinaryData.fromString("{\"configurationDiffUrl\":\"igcfddofxnf\"}") + .toObject(ArmConfigurationDiffResponseProperties.class); + Assertions.assertEquals("igcfddofxnf", model.configurationDiffUrl()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdConfigurationTests.java index 21057b5bb6188..31ffa3d8f872f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdConfigurationTests.java @@ -13,18 +13,18 @@ public final class BfdConfigurationTests { public void testDeserialize() throws Exception { BfdConfiguration model = BinaryData .fromString( - "{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1411346592,\"multiplier\":1480169002}") + "{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":558826863,\"multiplier\":1665055697}") .toObject(BfdConfiguration.class); - Assertions.assertEquals(1411346592, model.intervalInMilliSeconds()); - Assertions.assertEquals(1480169002, model.multiplier()); + Assertions.assertEquals(558826863, model.intervalInMilliSeconds()); + Assertions.assertEquals(1665055697, model.multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { BfdConfiguration model - = new BfdConfiguration().withIntervalInMilliSeconds(1411346592).withMultiplier(1480169002); + = new BfdConfiguration().withIntervalInMilliSeconds(558826863).withMultiplier(1665055697); model = BinaryData.fromObject(model).toObject(BfdConfiguration.class); - Assertions.assertEquals(1411346592, model.intervalInMilliSeconds()); - Assertions.assertEquals(1480169002, model.multiplier()); + Assertions.assertEquals(558826863, model.intervalInMilliSeconds()); + Assertions.assertEquals(1665055697, model.multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdPatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdPatchConfigurationTests.java index a867f0ceaf6e6..9af77795fa7eb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdPatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BfdPatchConfigurationTests.java @@ -13,18 +13,18 @@ public final class BfdPatchConfigurationTests { public void testDeserialize() throws Exception { BfdPatchConfiguration model = BinaryData .fromString( - "{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1462544860,\"multiplier\":1759946929}") + "{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":833933188,\"multiplier\":2060565024}") .toObject(BfdPatchConfiguration.class); - Assertions.assertEquals(1462544860, model.intervalInMilliSeconds()); - Assertions.assertEquals(1759946929, model.multiplier()); + Assertions.assertEquals(833933188, model.intervalInMilliSeconds()); + Assertions.assertEquals(2060565024, model.multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { BfdPatchConfiguration model - = new BfdPatchConfiguration().withIntervalInMilliSeconds(1462544860).withMultiplier(1759946929); + = new BfdPatchConfiguration().withIntervalInMilliSeconds(833933188).withMultiplier(2060565024); model = BinaryData.fromObject(model).toObject(BfdPatchConfiguration.class); - Assertions.assertEquals(1462544860, model.intervalInMilliSeconds()); - Assertions.assertEquals(1759946929, model.multiplier()); + Assertions.assertEquals(833933188, model.intervalInMilliSeconds()); + Assertions.assertEquals(2060565024, model.multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpConfigurationTests.java index 3dc10d4a414a2..5ea3d241bb8b4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpConfigurationTests.java @@ -23,67 +23,66 @@ public final class BgpConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { BgpConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1684190073,\"multiplier\":417743478},\"defaultRouteOriginate\":\"True\",\"allowAS\":1136445930,\"allowASOverride\":\"Disable\",\"fabricASN\":4456587067686960599,\"peerASN\":5963284589021239728,\"ipv4ListenRangePrefixes\":[\"ekaj\"],\"ipv6ListenRangePrefixes\":[\"zg\",\"norbjgmnzjot\",\"mrxkhlobvv\",\"bhvhdiqay\"],\"ipv4NeighborAddress\":[{\"address\":\"yu\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Accepted\"},{\"address\":\"lvhyibdrqrswhbu\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Failed\"}],\"ipv6NeighborAddress\":[{\"address\":\"xztfwfqchvczevj\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioning\"},{\"address\":\"v\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioned\"},{\"address\":\"z\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Rejected\"},{\"address\":\"hqyhwqw\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Succeeded\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"zeoxin\",\"greohtwhlpuzjp\",\"eezn\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"zlbciphmse\"}") + "{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1625904109,\"multiplier\":1268752565},\"defaultRouteOriginate\":\"False\",\"allowAS\":417743478,\"allowASOverride\":\"Enable\",\"fabricASN\":4880998101692983054,\"peerASN\":1021873909266464669,\"ipv4ListenRangePrefixes\":[\"aqgzekajclyzgs\",\"orbjg\"],\"ipv6ListenRangePrefixes\":[\"jotvmrxkhl\",\"bvvjbhvhdiq\",\"yfluiyuosnuudte\"],\"ipv4NeighborAddress\":[{\"address\":\"ibdrqrswhbuubpyr\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioning\"},{\"address\":\"fwfqchvcze\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioning\"},{\"address\":\"fyvrtpqpemhzcgk\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioned\"}],\"ipv6NeighborAddress\":[{\"address\":\"qwemvxqabckmzeo\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Rejected\"},{\"address\":\"h\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"ErrorProvisioning\"},{\"address\":\"pceeznzangprbf\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Accepted\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"hm\",\"exroqrndkt\",\"fvo\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Pre-Policy\"]}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"gnixxowwzkyfwnw\"}") .toObject(BgpConfiguration.class); - Assertions.assertEquals("zlbciphmse", model.annotation()); - Assertions.assertEquals(1684190073, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(417743478, model.bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.defaultRouteOriginate()); - Assertions.assertEquals(1136445930, model.allowAS()); - Assertions.assertEquals(AllowASOverride.DISABLE, model.allowASOverride()); - Assertions.assertEquals(5963284589021239728L, model.peerAsn()); - Assertions.assertEquals("ekaj", model.ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("zg", model.ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("yu", model.ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("xztfwfqchvczevj", model.ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("zeoxin", model.bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals("gnixxowwzkyfwnw", model.annotation()); + Assertions.assertEquals(1625904109, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1268752565, model.bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.defaultRouteOriginate()); + Assertions.assertEquals(417743478, model.allowAS()); + Assertions.assertEquals(AllowASOverride.ENABLE, model.allowASOverride()); + Assertions.assertEquals(1021873909266464669L, model.peerAsn()); + Assertions.assertEquals("aqgzekajclyzgs", model.ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("jotvmrxkhl", model.ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("ibdrqrswhbuubpyr", model.ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("qwemvxqabckmzeo", model.ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("hm", model.bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.v4OverV6BgpSession()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.v6OverV4BgpSession()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - BgpConfiguration model = new BgpConfiguration().withAnnotation("zlbciphmse") + BgpConfiguration model = new BgpConfiguration().withAnnotation("gnixxowwzkyfwnw") .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1684190073).withMultiplier(417743478)) - .withDefaultRouteOriginate(BooleanEnumProperty.TRUE) - .withAllowAS(1136445930) - .withAllowASOverride(AllowASOverride.DISABLE) - .withPeerAsn(5963284589021239728L) - .withIpv4ListenRangePrefixes(Arrays.asList("ekaj")) - .withIpv6ListenRangePrefixes(Arrays.asList("zg", "norbjgmnzjot", "mrxkhlobvv", "bhvhdiqay")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("yu"), - new NeighborAddress().withAddress("lvhyibdrqrswhbu"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("xztfwfqchvczevj"), - new NeighborAddress().withAddress("v"), new NeighborAddress().withAddress("z"), - new NeighborAddress().withAddress("hqyhwqw"))) - .withBmpConfiguration(new InternalNetworkBmpProperties() - .withNeighborIpExclusions(Arrays.asList("zeoxin", "greohtwhlpuzjp", "eezn")) - .withBmpConfigurationState(BmpConfigurationState.ENABLED) - .withExportPolicyConfiguration( - new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.ALL)))) - .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) + new BfdConfiguration().withIntervalInMilliSeconds(1625904109).withMultiplier(1268752565)) + .withDefaultRouteOriginate(BooleanEnumProperty.FALSE) + .withAllowAS(417743478) + .withAllowASOverride(AllowASOverride.ENABLE) + .withPeerAsn(1021873909266464669L) + .withIpv4ListenRangePrefixes(Arrays.asList("aqgzekajclyzgs", "orbjg")) + .withIpv6ListenRangePrefixes(Arrays.asList("jotvmrxkhl", "bvvjbhvhdiq", "yfluiyuosnuudte")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("ibdrqrswhbuubpyr"), + new NeighborAddress().withAddress("fwfqchvcze"), new NeighborAddress().withAddress("fyvrtpqpemhzcgk"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("qwemvxqabckmzeo"), + new NeighborAddress().withAddress("h"), new NeighborAddress().withAddress("pceeznzangprbf"))) + .withBmpConfiguration( + new InternalNetworkBmpProperties().withNeighborIpExclusions(Arrays.asList("hm", "exroqrndkt", "fvo")) + .withBmpConfigurationState(BmpConfigurationState.ENABLED) + .withExportPolicyConfiguration(new BmpExportPolicyProperties() + .withExportPolicies(Arrays.asList(BmpExportPolicy.ALL, BmpExportPolicy.PRE_POLICY)))) + .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED); model = BinaryData.fromObject(model).toObject(BgpConfiguration.class); - Assertions.assertEquals("zlbciphmse", model.annotation()); - Assertions.assertEquals(1684190073, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(417743478, model.bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.defaultRouteOriginate()); - Assertions.assertEquals(1136445930, model.allowAS()); - Assertions.assertEquals(AllowASOverride.DISABLE, model.allowASOverride()); - Assertions.assertEquals(5963284589021239728L, model.peerAsn()); - Assertions.assertEquals("ekaj", model.ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("zg", model.ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("yu", model.ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("xztfwfqchvczevj", model.ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("zeoxin", model.bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals("gnixxowwzkyfwnw", model.annotation()); + Assertions.assertEquals(1625904109, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1268752565, model.bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.defaultRouteOriginate()); + Assertions.assertEquals(417743478, model.allowAS()); + Assertions.assertEquals(AllowASOverride.ENABLE, model.allowASOverride()); + Assertions.assertEquals(1021873909266464669L, model.peerAsn()); + Assertions.assertEquals("aqgzekajclyzgs", model.ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("jotvmrxkhl", model.ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("ibdrqrswhbuubpyr", model.ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("qwemvxqabckmzeo", model.ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("hm", model.bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.v4OverV6BgpSession()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.v6OverV4BgpSession()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpPatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpPatchConfigurationTests.java index a11c3be0e7731..f423b7ac43247 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpPatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BgpPatchConfigurationTests.java @@ -21,59 +21,60 @@ public final class BgpPatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { BgpPatchConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":2066989618,\"multiplier\":678222315},\"defaultRouteOriginate\":\"False\",\"allowAS\":619716025,\"allowASOverride\":\"Enable\",\"fabricASN\":8828984340020327962,\"peerASN\":2340340986521325133,\"ipv4ListenRangePrefixes\":[\"fofwan\",\"hks\"],\"ipv6ListenRangePrefixes\":[\"w\",\"zcgwdfriw\",\"ybjpozoks\",\"vgllixdgby\"],\"ipv4NeighborAddress\":[{\"address\":\"wqkjvx\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"ErrorProvisioning\"},{\"address\":\"hu\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioning\"}],\"ipv6NeighborAddress\":[{\"address\":\"uugggzlfbgrd\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioned\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"lperpilttjzgc\"],\"bmpConfigurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"ode\"}") + "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1703241541,\"multiplier\":1216756136},\"defaultRouteOriginate\":\"True\",\"allowAS\":237566379,\"allowASOverride\":\"Enable\",\"fabricASN\":195587910968791047,\"peerASN\":4892858602092646353,\"ipv4ListenRangePrefixes\":[\"cmfpfbodet\"],\"ipv6ListenRangePrefixes\":[\"rgvtsh\"],\"ipv4NeighborAddress\":[{\"address\":\"waivmuqkevzg\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioning\"}],\"ipv6NeighborAddress\":[{\"address\":\"xxzetwwzjwotnx\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Succeeded\"},{\"address\":\"foxqwecrsn\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"PendingCommit\"},{\"address\":\"ovppqibukklvzrlr\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"ErrorDeprovisioning\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"zivfqbqnasdsy\",\"nzsieuscplh\",\"vdgxly\"],\"bmpConfigurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"ezsvkolrupjov\"}") .toObject(BgpPatchConfiguration.class); - Assertions.assertEquals("ode", model.annotation()); - Assertions.assertEquals(2066989618, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(678222315, model.bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.defaultRouteOriginate()); - Assertions.assertEquals(619716025, model.allowAS()); + Assertions.assertEquals("ezsvkolrupjov", model.annotation()); + Assertions.assertEquals(1703241541, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1216756136, model.bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.defaultRouteOriginate()); + Assertions.assertEquals(237566379, model.allowAS()); Assertions.assertEquals(AllowASOverride.ENABLE, model.allowASOverride()); - Assertions.assertEquals(2340340986521325133L, model.peerAsn()); - Assertions.assertEquals("fofwan", model.ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("w", model.ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("wqkjvx", model.ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("uugggzlfbgrd", model.ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("lperpilttjzgc", model.bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(4892858602092646353L, model.peerAsn()); + Assertions.assertEquals("cmfpfbodet", model.ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("rgvtsh", model.ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("waivmuqkevzg", model.ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("xxzetwwzjwotnx", model.ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("zivfqbqnasdsy", model.bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.v6OverV4BgpSession()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.v6OverV4BgpSession()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - BgpPatchConfiguration model = new BgpPatchConfiguration().withAnnotation("ode") + BgpPatchConfiguration model = new BgpPatchConfiguration().withAnnotation("ezsvkolrupjov") .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(2066989618).withMultiplier(678222315)) - .withDefaultRouteOriginate(BooleanEnumProperty.FALSE) - .withAllowAS(619716025) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1703241541).withMultiplier(1216756136)) + .withDefaultRouteOriginate(BooleanEnumProperty.TRUE) + .withAllowAS(237566379) .withAllowASOverride(AllowASOverride.ENABLE) - .withPeerAsn(2340340986521325133L) - .withIpv4ListenRangePrefixes(Arrays.asList("fofwan", "hks")) - .withIpv6ListenRangePrefixes(Arrays.asList("w", "zcgwdfriw", "ybjpozoks", "vgllixdgby")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("wqkjvx"), - new NeighborAddressPatch().withAddress("hu"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("uugggzlfbgrd"))) - .withBmpConfiguration( - new InternalNetworkBmpPatchProperties().withNeighborIpExclusions(Arrays.asList("lperpilttjzgc")) - .withBmpConfigurationState(BmpConfigurationState.DISABLED)) - .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED); + .withPeerAsn(4892858602092646353L) + .withIpv4ListenRangePrefixes(Arrays.asList("cmfpfbodet")) + .withIpv6ListenRangePrefixes(Arrays.asList("rgvtsh")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("waivmuqkevzg"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("xxzetwwzjwotnx"), + new NeighborAddressPatch().withAddress("foxqwecrsn"), + new NeighborAddressPatch().withAddress("ovppqibukklvzrlr"))) + .withBmpConfiguration(new InternalNetworkBmpPatchProperties() + .withNeighborIpExclusions(Arrays.asList("zivfqbqnasdsy", "nzsieuscplh", "vdgxly")) + .withBmpConfigurationState(BmpConfigurationState.DISABLED)) + .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED); model = BinaryData.fromObject(model).toObject(BgpPatchConfiguration.class); - Assertions.assertEquals("ode", model.annotation()); - Assertions.assertEquals(2066989618, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(678222315, model.bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.defaultRouteOriginate()); - Assertions.assertEquals(619716025, model.allowAS()); + Assertions.assertEquals("ezsvkolrupjov", model.annotation()); + Assertions.assertEquals(1703241541, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1216756136, model.bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.defaultRouteOriginate()); + Assertions.assertEquals(237566379, model.allowAS()); Assertions.assertEquals(AllowASOverride.ENABLE, model.allowASOverride()); - Assertions.assertEquals(2340340986521325133L, model.peerAsn()); - Assertions.assertEquals("fofwan", model.ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("w", model.ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("wqkjvx", model.ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("uugggzlfbgrd", model.ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("lperpilttjzgc", model.bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(4892858602092646353L, model.peerAsn()); + Assertions.assertEquals("cmfpfbodet", model.ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("rgvtsh", model.ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("waivmuqkevzg", model.ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("xxzetwwzjwotnx", model.ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("zivfqbqnasdsy", model.bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.v6OverV4BgpSession()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.v6OverV4BgpSession()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPatchPropertiesTests.java index cd123a32b6c97..acb2d75cc94e3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPatchPropertiesTests.java @@ -19,58 +19,57 @@ public final class BmpConfigurationPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { BmpConfigurationPatchProperties model = BinaryData.fromString( - "{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"wlkryzmpgqqdh\",\"stationName\":\"tx\",\"stationIp\":\"egykjmpadbzjo\",\"stationPort\":686613259,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1266038730,\"probeInterval\":799282136,\"probeCount\":2013762241},\"stationNetwork\":\"jgrpquafxgjqq\",\"monitoredNetworks\":[\"tffxdbisihumw\"],\"exportPolicy\":\"LocalRib\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"vpnIpv6\",\"vpnIpv6\",\"vpnIpv6\",\"ipv6Unicast\"]}") + "{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"xdwffw\",\"stationName\":\"qkebc\",\"stationIp\":\"reu\",\"stationPort\":1258258593,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1108050701,\"probeInterval\":1525302870,\"probeCount\":1012452621},\"stationNetwork\":\"lbqv\",\"monitoredNetworks\":[\"ekxn\",\"kdvcgowrd\",\"ddddwzdlbbcztam\",\"yrkwsthpivocf\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"Post-Policy\",\"All\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"vpnIpv4\"]}") .toObject(BmpConfigurationPatchProperties.class); - Assertions.assertEquals(StationConfigurationState.ENABLED, model.stationConfigurationState()); - Assertions.assertEquals("wlkryzmpgqqdh", model.scopeResourceId()); - Assertions.assertEquals("tx", model.stationName()); - Assertions.assertEquals("egykjmpadbzjo", model.stationIp()); - Assertions.assertEquals(686613259, model.stationPort()); - Assertions.assertEquals(StationConnectionMode.ACTIVE, model.stationConnectionMode()); - Assertions.assertEquals(1266038730, model.stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(799282136, model.stationConnectionProperties().probeInterval()); - Assertions.assertEquals(2013762241, model.stationConnectionProperties().probeCount()); - Assertions.assertEquals("jgrpquafxgjqq", model.stationNetwork()); - Assertions.assertEquals("tffxdbisihumw", model.monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicy()); + Assertions.assertEquals(StationConfigurationState.DISABLED, model.stationConfigurationState()); + Assertions.assertEquals("xdwffw", model.scopeResourceId()); + Assertions.assertEquals("qkebc", model.stationName()); + Assertions.assertEquals("reu", model.stationIp()); + Assertions.assertEquals(1258258593, model.stationPort()); + Assertions.assertEquals(StationConnectionMode.PASSIVE, model.stationConnectionMode()); + Assertions.assertEquals(1108050701, model.stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(1525302870, model.stationConnectionProperties().probeInterval()); + Assertions.assertEquals(1012452621, model.stationConnectionProperties().probeCount()); + Assertions.assertEquals("lbqv", model.stationNetwork()); + Assertions.assertEquals("ekxn", model.monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicy()); Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, model.monitoredAddressFamilies().get(0)); + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV4, model.monitoredAddressFamilies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { BmpConfigurationPatchProperties model = new BmpConfigurationPatchProperties() - .withStationConfigurationState(StationConfigurationState.ENABLED) - .withScopeResourceId("wlkryzmpgqqdh") - .withStationName("tx") - .withStationIp("egykjmpadbzjo") - .withStationPort(686613259) - .withStationConnectionMode(StationConnectionMode.ACTIVE) - .withStationConnectionProperties(new StationConnectionPatchProperties().withKeepaliveIdleTime(1266038730) - .withProbeInterval(799282136) - .withProbeCount(2013762241)) - .withStationNetwork("jgrpquafxgjqq") - .withMonitoredNetworks(Arrays.asList("tffxdbisihumw")) - .withExportPolicy(BmpExportPolicy.LOCAL_RIB) - .withExportPolicyConfiguration(new BmpExportPolicyPatchProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, BmpExportPolicy.LOCAL_RIB))) - .withMonitoredAddressFamilies( - Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV6, BmpMonitoredAddressFamily.VPN_IPV6, - BmpMonitoredAddressFamily.VPN_IPV6, BmpMonitoredAddressFamily.IPV6UNICAST)); + .withStationConfigurationState(StationConfigurationState.DISABLED) + .withScopeResourceId("xdwffw") + .withStationName("qkebc") + .withStationIp("reu") + .withStationPort(1258258593) + .withStationConnectionMode(StationConnectionMode.PASSIVE) + .withStationConnectionProperties(new StationConnectionPatchProperties().withKeepaliveIdleTime(1108050701) + .withProbeInterval(1525302870) + .withProbeCount(1012452621)) + .withStationNetwork("lbqv") + .withMonitoredNetworks(Arrays.asList("ekxn", "kdvcgowrd", "ddddwzdlbbcztam", "yrkwsthpivocf")) + .withExportPolicy(BmpExportPolicy.ALL) + .withExportPolicyConfiguration( + new BmpExportPolicyPatchProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, + BmpExportPolicy.POST_POLICY, BmpExportPolicy.ALL, BmpExportPolicy.LOCAL_RIB))) + .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV4)); model = BinaryData.fromObject(model).toObject(BmpConfigurationPatchProperties.class); - Assertions.assertEquals(StationConfigurationState.ENABLED, model.stationConfigurationState()); - Assertions.assertEquals("wlkryzmpgqqdh", model.scopeResourceId()); - Assertions.assertEquals("tx", model.stationName()); - Assertions.assertEquals("egykjmpadbzjo", model.stationIp()); - Assertions.assertEquals(686613259, model.stationPort()); - Assertions.assertEquals(StationConnectionMode.ACTIVE, model.stationConnectionMode()); - Assertions.assertEquals(1266038730, model.stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(799282136, model.stationConnectionProperties().probeInterval()); - Assertions.assertEquals(2013762241, model.stationConnectionProperties().probeCount()); - Assertions.assertEquals("jgrpquafxgjqq", model.stationNetwork()); - Assertions.assertEquals("tffxdbisihumw", model.monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicy()); + Assertions.assertEquals(StationConfigurationState.DISABLED, model.stationConfigurationState()); + Assertions.assertEquals("xdwffw", model.scopeResourceId()); + Assertions.assertEquals("qkebc", model.stationName()); + Assertions.assertEquals("reu", model.stationIp()); + Assertions.assertEquals(1258258593, model.stationPort()); + Assertions.assertEquals(StationConnectionMode.PASSIVE, model.stationConnectionMode()); + Assertions.assertEquals(1108050701, model.stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(1525302870, model.stationConnectionProperties().probeInterval()); + Assertions.assertEquals(1012452621, model.stationConnectionProperties().probeCount()); + Assertions.assertEquals("lbqv", model.stationNetwork()); + Assertions.assertEquals("ekxn", model.monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicy()); Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, model.monitoredAddressFamilies().get(0)); + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV4, model.monitoredAddressFamilies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPropertiesTests.java index 0f791aad02c6d..cea7e146eb686 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpConfigurationPropertiesTests.java @@ -19,57 +19,56 @@ public final class BmpConfigurationPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { BmpConfigurationProperties model = BinaryData.fromString( - "{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"izeqlc\",\"stationName\":\"qnofkwhg\",\"stationIp\":\"wfyfdbvooelmikds\",\"stationPort\":1122817965,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1455507139,\"probeInterval\":13824201,\"probeCount\":1780015156},\"stationNetwork\":\"qmlmwjwsmnwb\",\"monitoredNetworks\":[\"v\",\"mmriyzyvques\",\"plcsinbulolx\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"ipv6Unicast\"]}") + "{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"llvnatbgvlpgfyge\",\"stationName\":\"akybepsihz\",\"stationIp\":\"eoymppglxjs\",\"stationPort\":150077940,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1604426705,\"probeInterval\":268877934,\"probeCount\":374055525},\"stationNetwork\":\"lubrukhqbuoyrbdk\",\"monitoredNetworks\":[\"mvvvjmfjjf\",\"xuvsveamseauuuvh\",\"io\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\"]}") .toObject(BmpConfigurationProperties.class); - Assertions.assertEquals(StationConfigurationState.DISABLED, model.stationConfigurationState()); - Assertions.assertEquals("izeqlc", model.scopeResourceId()); - Assertions.assertEquals("qnofkwhg", model.stationName()); - Assertions.assertEquals("wfyfdbvooelmikds", model.stationIp()); - Assertions.assertEquals(1122817965, model.stationPort()); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.stationConfigurationState()); + Assertions.assertEquals("llvnatbgvlpgfyge", model.scopeResourceId()); + Assertions.assertEquals("akybepsihz", model.stationName()); + Assertions.assertEquals("eoymppglxjs", model.stationIp()); + Assertions.assertEquals(150077940, model.stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, model.stationConnectionMode()); - Assertions.assertEquals(1455507139, model.stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(13824201, model.stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1780015156, model.stationConnectionProperties().probeCount()); - Assertions.assertEquals("qmlmwjwsmnwb", model.stationNetwork()); - Assertions.assertEquals("v", model.monitoredNetworks().get(0)); + Assertions.assertEquals(1604426705, model.stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(268877934, model.stationConnectionProperties().probeInterval()); + Assertions.assertEquals(374055525, model.stationConnectionProperties().probeCount()); + Assertions.assertEquals("lubrukhqbuoyrbdk", model.stationNetwork()); + Assertions.assertEquals("mvvvjmfjjf", model.monitoredNetworks().get(0)); Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, model.monitoredAddressFamilies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { BmpConfigurationProperties model - = new BmpConfigurationProperties().withStationConfigurationState(StationConfigurationState.DISABLED) - .withScopeResourceId("izeqlc") - .withStationName("qnofkwhg") - .withStationIp("wfyfdbvooelmikds") - .withStationPort(1122817965) + = new BmpConfigurationProperties().withStationConfigurationState(StationConfigurationState.ENABLED) + .withScopeResourceId("llvnatbgvlpgfyge") + .withStationName("akybepsihz") + .withStationIp("eoymppglxjs") + .withStationPort(150077940) .withStationConnectionMode(StationConnectionMode.PASSIVE) - .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(1455507139) - .withProbeInterval(13824201) - .withProbeCount(1780015156)) - .withStationNetwork("qmlmwjwsmnwb") - .withMonitoredNetworks(Arrays.asList("v", "mmriyzyvques", "plcsinbulolx")) + .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(1604426705) + .withProbeInterval(268877934) + .withProbeCount(374055525)) + .withStationNetwork("lubrukhqbuoyrbdk") + .withMonitoredNetworks(Arrays.asList("mvvvjmfjjf", "xuvsveamseauuuvh", "io")) .withExportPolicy(BmpExportPolicy.ALL) .withExportPolicyConfiguration(new BmpExportPolicyProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, BmpExportPolicy.LOCAL_RIB))) - .withMonitoredAddressFamilies( - Arrays.asList(BmpMonitoredAddressFamily.IPV6UNICAST, BmpMonitoredAddressFamily.IPV6UNICAST)); + .withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.POST_POLICY))) + .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.IPV6UNICAST)); model = BinaryData.fromObject(model).toObject(BmpConfigurationProperties.class); - Assertions.assertEquals(StationConfigurationState.DISABLED, model.stationConfigurationState()); - Assertions.assertEquals("izeqlc", model.scopeResourceId()); - Assertions.assertEquals("qnofkwhg", model.stationName()); - Assertions.assertEquals("wfyfdbvooelmikds", model.stationIp()); - Assertions.assertEquals(1122817965, model.stationPort()); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.stationConfigurationState()); + Assertions.assertEquals("llvnatbgvlpgfyge", model.scopeResourceId()); + Assertions.assertEquals("akybepsihz", model.stationName()); + Assertions.assertEquals("eoymppglxjs", model.stationIp()); + Assertions.assertEquals(150077940, model.stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, model.stationConnectionMode()); - Assertions.assertEquals(1455507139, model.stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(13824201, model.stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1780015156, model.stationConnectionProperties().probeCount()); - Assertions.assertEquals("qmlmwjwsmnwb", model.stationNetwork()); - Assertions.assertEquals("v", model.monitoredNetworks().get(0)); + Assertions.assertEquals(1604426705, model.stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(268877934, model.stationConnectionProperties().probeInterval()); + Assertions.assertEquals(374055525, model.stationConnectionProperties().probeCount()); + Assertions.assertEquals("lubrukhqbuoyrbdk", model.stationNetwork()); + Assertions.assertEquals("mvvvjmfjjf", model.monitoredNetworks().get(0)); Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, model.monitoredAddressFamilies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPatchPropertiesTests.java index e924389d8a326..fd3c20148c3aa 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPatchPropertiesTests.java @@ -13,16 +13,17 @@ public final class BmpExportPolicyPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - BmpExportPolicyPatchProperties model = BinaryData.fromString("{\"exportPolicies\":[\"LocalRib\",\"LocalRib\"]}") - .toObject(BmpExportPolicyPatchProperties.class); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicies().get(0)); + BmpExportPolicyPatchProperties model + = BinaryData.fromString("{\"exportPolicies\":[\"Pre-Policy\",\"LocalRib\",\"LocalRib\"]}") + .toObject(BmpExportPolicyPatchProperties.class); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - BmpExportPolicyPatchProperties model = new BmpExportPolicyPatchProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.LOCAL_RIB)); + BmpExportPolicyPatchProperties model = new BmpExportPolicyPatchProperties().withExportPolicies( + Arrays.asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.LOCAL_RIB)); model = BinaryData.fromObject(model).toObject(BmpExportPolicyPatchProperties.class); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicies().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPropertiesTests.java index 3ce273bd3793f..4657d01611198 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/BmpExportPolicyPropertiesTests.java @@ -13,16 +13,17 @@ public final class BmpExportPolicyPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - BmpExportPolicyProperties model = BinaryData.fromString("{\"exportPolicies\":[\"All\",\"LocalRib\"]}") - .toObject(BmpExportPolicyProperties.class); - Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicies().get(0)); + BmpExportPolicyProperties model + = BinaryData.fromString("{\"exportPolicies\":[\"Pre-Policy\",\"All\",\"Pre-Policy\"]}") + .toObject(BmpExportPolicyProperties.class); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - BmpExportPolicyProperties model = new BmpExportPolicyProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.ALL, BmpExportPolicy.LOCAL_RIB)); + BmpExportPolicyProperties model = new BmpExportPolicyProperties().withExportPolicies( + Arrays.asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.ALL, BmpExportPolicy.PRE_POLICY)); model = BinaryData.fromObject(model).toObject(BmpExportPolicyProperties.class); - Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicies().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchDetailsTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchDetailsTests.java index 0282255e5067b..a24a9e08218c4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchDetailsTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchDetailsTests.java @@ -11,9 +11,8 @@ public final class CommitBatchDetailsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - CommitBatchDetails model - = BinaryData.fromString("{\"failedDevices\":[\"ih\",\"swxmfurqm\",\"mwwpnt\",\"motahbqsvnk\"]}") - .toObject(CommitBatchDetails.class); - Assertions.assertEquals("ih", model.failedDevices().get(0)); + CommitBatchDetails model = BinaryData.fromString("{\"failedDevices\":[\"bx\",\"bmwdukinhlxhgde\"]}") + .toObject(CommitBatchDetails.class); + Assertions.assertEquals("bx", model.failedDevices().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusRequestTests.java index b64a0994eed7e..6b0c1cf86ffda 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusRequestTests.java @@ -12,14 +12,14 @@ public final class CommitBatchStatusRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CommitBatchStatusRequest model - = BinaryData.fromString("{\"commitBatchId\":\"pxpyaf\"}").toObject(CommitBatchStatusRequest.class); - Assertions.assertEquals("pxpyaf", model.commitBatchId()); + = BinaryData.fromString("{\"commitBatchId\":\"tm\"}").toObject(CommitBatchStatusRequest.class); + Assertions.assertEquals("tm", model.commitBatchId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - CommitBatchStatusRequest model = new CommitBatchStatusRequest().withCommitBatchId("pxpyaf"); + CommitBatchStatusRequest model = new CommitBatchStatusRequest().withCommitBatchId("tm"); model = BinaryData.fromObject(model).toObject(CommitBatchStatusRequest.class); - Assertions.assertEquals("pxpyaf", model.commitBatchId()); + Assertions.assertEquals("tm", model.commitBatchId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusResponsePropertiesTests.java index e9344ca99b042..79679c91f377e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitBatchStatusResponsePropertiesTests.java @@ -13,10 +13,10 @@ public final class CommitBatchStatusResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CommitBatchStatusResponseProperties model = BinaryData.fromString( - "{\"commitBatchId\":\"qqxuhvz\",\"commitBatchState\":\"Processing\",\"commitBatchDetails\":{\"failedDevices\":[\"szxacdwukokgoojj\",\"uktubcmunhgbtzv\",\"xvs\",\"cuufkrfn\"]}}") + "{\"commitBatchId\":\"jqpulmwqg\",\"commitBatchState\":\"Succeeded\",\"commitBatchDetails\":{\"failedDevices\":[\"wxzfvvzucq\",\"gu\"]}}") .toObject(CommitBatchStatusResponseProperties.class); - Assertions.assertEquals("qqxuhvz", model.commitBatchId()); - Assertions.assertEquals(CommitBatchState.PROCESSING, model.commitBatchState()); - Assertions.assertEquals("szxacdwukokgoojj", model.commitBatchDetails().failedDevices().get(0)); + Assertions.assertEquals("jqpulmwqg", model.commitBatchId()); + Assertions.assertEquals(CommitBatchState.SUCCEEDED, model.commitBatchState()); + Assertions.assertEquals("wxzfvvzucq", model.commitBatchDetails().failedDevices().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitConfigurationRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitConfigurationRequestTests.java index a7e5f9ab34b29..f635fa5b0d1b9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitConfigurationRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommitConfigurationRequestTests.java @@ -14,22 +14,23 @@ public final class CommitConfigurationRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - CommitConfigurationRequest model = BinaryData.fromString( - "{\"commitStage\":\"Rollback\",\"commitPolicy\":\"StageCEConfiguration\",\"devices\":[\"lndyclwgycv\",\"qnzjcyqqz\"]}") + CommitConfigurationRequest model = BinaryData + .fromString( + "{\"commitStage\":\"Rollback\",\"commitPolicy\":\"StageCEConfiguration\",\"devices\":[\"vrb\"]}") .toObject(CommitConfigurationRequest.class); Assertions.assertEquals(CommitStage.ROLLBACK, model.commitStage()); Assertions.assertEquals(CommitConfigurationPolicy.STAGE_CECONFIGURATION, model.commitPolicy()); - Assertions.assertEquals("lndyclwgycv", model.devices().get(0)); + Assertions.assertEquals("vrb", model.devices().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { CommitConfigurationRequest model = new CommitConfigurationRequest().withCommitStage(CommitStage.ROLLBACK) .withCommitPolicy(CommitConfigurationPolicy.STAGE_CECONFIGURATION) - .withDevices(Arrays.asList("lndyclwgycv", "qnzjcyqqz")); + .withDevices(Arrays.asList("vrb")); model = BinaryData.fromObject(model).toObject(CommitConfigurationRequest.class); Assertions.assertEquals(CommitStage.ROLLBACK, model.commitStage()); Assertions.assertEquals(CommitConfigurationPolicy.STAGE_CECONFIGURATION, model.commitPolicy()); - Assertions.assertEquals("lndyclwgycv", model.devices().get(0)); + Assertions.assertEquals("vrb", model.devices().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommonPostActionResponseForDeviceROCommandsTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommonPostActionResponseForDeviceROCommandsTests.java index ce0b12124eeaa..cfda48180217a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommonPostActionResponseForDeviceROCommandsTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/CommonPostActionResponseForDeviceROCommandsTests.java @@ -12,9 +12,9 @@ public final class CommonPostActionResponseForDeviceROCommandsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CommonPostActionResponseForDeviceROCommands model = BinaryData.fromString( - "{\"configurationState\":\"DeferredControl\",\"outputUrl\":\"l\",\"deviceConfigurationPreview\":\"pkvegeatt\"}") + "{\"configurationState\":\"CommitStaged\",\"outputUrl\":\"jnwosst\",\"deviceConfigurationPreview\":\"xt\"}") .toObject(CommonPostActionResponseForDeviceROCommands.class); - Assertions.assertEquals("l", model.outputUrl()); - Assertions.assertEquals("pkvegeatt", model.deviceConfigurationPreview()); + Assertions.assertEquals("jnwosst", model.outputUrl()); + Assertions.assertEquals("xt", model.deviceConfigurationPreview()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConditionalDefaultRoutePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConditionalDefaultRoutePropertiesTests.java index fbe0b6670e356..7b2de36c4e032 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConditionalDefaultRoutePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConditionalDefaultRoutePropertiesTests.java @@ -14,37 +14,32 @@ public final class ConditionalDefaultRoutePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ConditionalDefaultRouteProperties model = BinaryData.fromString( - "{\"ipv4Routes\":[{\"prefix\":\"dgsapleqfg\",\"nextHop\":[\"env\",\"z\"]},{\"prefix\":\"lvyakeszsuuvul\",\"nextHop\":[\"cwgg\",\"hxvlqgfbrve\",\"icaovphirlzbipi\"]},{\"prefix\":\"nnepkwzzzku\",\"nextHop\":[\"uwcjomip\"]},{\"prefix\":\"wkau\",\"nextHop\":[\"twykoxvbw\",\"fxxdplrelfkvg\"]}],\"ipv6Routes\":[{\"prefix\":\"btuxlbpxrhrfje\",\"nextHop\":[\"azwef\",\"ktlhqash\",\"ostjixyz\",\"ecigzzdwjta\"]},{\"prefix\":\"fvvtdpcbpz\",\"nextHop\":[\"mcsaugbr\",\"fiwltkfysu\",\"te\",\"hkl\"]},{\"prefix\":\"whcv\",\"nextHop\":[\"yyhgqokjbmsr\",\"ixyxxhwrlqomaqs\",\"ilp\",\"z\"]},{\"prefix\":\"rwnrzo\",\"nextHop\":[\"xagysokli\",\"ksybvrrbnhylsb\",\"ujcy\"]}]}") + "{\"ipv4Routes\":[{\"prefix\":\"rvkgpogplbjuvl\",\"nextHop\":[\"xnrnjh\",\"na\"]},{\"prefix\":\"ge\",\"nextHop\":[\"xnepqmjm\"]},{\"prefix\":\"pl\",\"nextHop\":[\"fykkfhsovadkrm\",\"xmwqpdkesjqbzkq\"]}],\"ipv6Routes\":[{\"prefix\":\"poriwbwggijtspzj\",\"nextHop\":[\"rhikwsbzrhdug\"]},{\"prefix\":\"uhtr\",\"nextHop\":[\"frunj\",\"hrjhiycbauseqn\",\"zkvihvtu\",\"y\"]},{\"prefix\":\"sqwzszoszjgzu\",\"nextHop\":[\"fnyskwwu\",\"qhcza\",\"ojmslhip\",\"ukvbljpxpr\"]}]}") .toObject(ConditionalDefaultRouteProperties.class); - Assertions.assertEquals("dgsapleqfg", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("env", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("btuxlbpxrhrfje", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("azwef", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("rvkgpogplbjuvl", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("xnrnjh", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("poriwbwggijtspzj", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rhikwsbzrhdug", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ConditionalDefaultRouteProperties model = new ConditionalDefaultRouteProperties() .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("dgsapleqfg").withNextHop(Arrays.asList("env", "z")), - new StaticRouteProperties().withPrefix("lvyakeszsuuvul") - .withNextHop(Arrays.asList("cwgg", "hxvlqgfbrve", "icaovphirlzbipi")), - new StaticRouteProperties().withPrefix("nnepkwzzzku").withNextHop(Arrays.asList("uwcjomip")), - new StaticRouteProperties().withPrefix("wkau") - .withNextHop(Arrays.asList("twykoxvbw", "fxxdplrelfkvg")))) + new StaticRouteProperties().withPrefix("rvkgpogplbjuvl").withNextHop(Arrays.asList("xnrnjh", "na")), + new StaticRouteProperties().withPrefix("ge").withNextHop(Arrays.asList("xnepqmjm")), + new StaticRouteProperties().withPrefix("pl") + .withNextHop(Arrays.asList("fykkfhsovadkrm", "xmwqpdkesjqbzkq")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("btuxlbpxrhrfje") - .withNextHop(Arrays.asList("azwef", "ktlhqash", "ostjixyz", "ecigzzdwjta")), - new StaticRouteProperties().withPrefix("fvvtdpcbpz") - .withNextHop(Arrays.asList("mcsaugbr", "fiwltkfysu", "te", "hkl")), - new StaticRouteProperties().withPrefix("whcv") - .withNextHop(Arrays.asList("yyhgqokjbmsr", "ixyxxhwrlqomaqs", "ilp", "z")), - new StaticRouteProperties().withPrefix("rwnrzo") - .withNextHop(Arrays.asList("xagysokli", "ksybvrrbnhylsb", "ujcy")))); + new StaticRouteProperties().withPrefix("poriwbwggijtspzj").withNextHop(Arrays.asList("rhikwsbzrhdug")), + new StaticRouteProperties().withPrefix("uhtr") + .withNextHop(Arrays.asList("frunj", "hrjhiycbauseqn", "zkvihvtu", "y")), + new StaticRouteProperties().withPrefix("sqwzszoszjgzu") + .withNextHop(Arrays.asList("fnyskwwu", "qhcza", "ojmslhip", "ukvbljpxpr")))); model = BinaryData.fromObject(model).toObject(ConditionalDefaultRouteProperties.class); - Assertions.assertEquals("dgsapleqfg", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("env", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("btuxlbpxrhrfje", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("azwef", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("rvkgpogplbjuvl", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("xnrnjh", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("poriwbwggijtspzj", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rhikwsbzrhdug", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetPatchTests.java index c53033094dd14..ac2737e193d1c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetPatchTests.java @@ -11,17 +11,17 @@ public final class ConnectedSubnetPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ConnectedSubnetPatch model = BinaryData.fromString("{\"prefix\":\"gnnbzrtf\",\"annotation\":\"dzuubjtvgjsxm\"}") + ConnectedSubnetPatch model = BinaryData.fromString("{\"prefix\":\"ggzlf\",\"annotation\":\"rdcgu\"}") .toObject(ConnectedSubnetPatch.class); - Assertions.assertEquals("dzuubjtvgjsxm", model.annotation()); - Assertions.assertEquals("gnnbzrtf", model.prefix()); + Assertions.assertEquals("rdcgu", model.annotation()); + Assertions.assertEquals("ggzlf", model.prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ConnectedSubnetPatch model = new ConnectedSubnetPatch().withAnnotation("dzuubjtvgjsxm").withPrefix("gnnbzrtf"); + ConnectedSubnetPatch model = new ConnectedSubnetPatch().withAnnotation("rdcgu").withPrefix("ggzlf"); model = BinaryData.fromObject(model).toObject(ConnectedSubnetPatch.class); - Assertions.assertEquals("dzuubjtvgjsxm", model.annotation()); - Assertions.assertEquals("gnnbzrtf", model.prefix()); + Assertions.assertEquals("rdcgu", model.annotation()); + Assertions.assertEquals("ggzlf", model.prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyPatchTests.java index eebe4f520e440..066d33db147c9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyPatchTests.java @@ -13,18 +13,18 @@ public final class ConnectedSubnetRoutePolicyPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ConnectedSubnetRoutePolicyPatch model = BinaryData.fromString( - "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ywv\",\"exportIpv6RoutePolicyId\":\"igvjrktp\"}}") + "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"bv\",\"exportIpv6RoutePolicyId\":\"pbwxgoooxz\"}}") .toObject(ConnectedSubnetRoutePolicyPatch.class); - Assertions.assertEquals("ywv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("igvjrktp", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("bv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("pbwxgoooxz", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ConnectedSubnetRoutePolicyPatch model = new ConnectedSubnetRoutePolicyPatch().withExportRoutePolicy( - new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("ywv").withExportIpv6RoutePolicyId("igvjrktp")); + new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("bv").withExportIpv6RoutePolicyId("pbwxgoooxz")); model = BinaryData.fromObject(model).toObject(ConnectedSubnetRoutePolicyPatch.class); - Assertions.assertEquals("ywv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("igvjrktp", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("bv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("pbwxgoooxz", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyTests.java index 709c2833d0d3d..e0691571e288f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetRoutePolicyTests.java @@ -13,19 +13,18 @@ public final class ConnectedSubnetRoutePolicyTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ConnectedSubnetRoutePolicy model = BinaryData.fromString( - "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"qnsqktcmb\",\"exportIpv6RoutePolicyId\":\"zzoslpkyb\"}}") + "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"jdeolctae\",\"exportIpv6RoutePolicyId\":\"syrled\"}}") .toObject(ConnectedSubnetRoutePolicy.class); - Assertions.assertEquals("qnsqktcmb", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("zzoslpkyb", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("jdeolctae", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("syrled", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ConnectedSubnetRoutePolicy model = new ConnectedSubnetRoutePolicy() - .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("qnsqktcmb") - .withExportIpv6RoutePolicyId("zzoslpkyb")); + ConnectedSubnetRoutePolicy model = new ConnectedSubnetRoutePolicy().withExportRoutePolicy( + new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("jdeolctae").withExportIpv6RoutePolicyId("syrled")); model = BinaryData.fromObject(model).toObject(ConnectedSubnetRoutePolicy.class); - Assertions.assertEquals("qnsqktcmb", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("zzoslpkyb", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("jdeolctae", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("syrled", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetTests.java index eda18d3b5abd0..cc5aa116ac6ea 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ConnectedSubnetTests.java @@ -11,17 +11,17 @@ public final class ConnectedSubnetTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ConnectedSubnet model = BinaryData.fromString("{\"prefix\":\"du\",\"annotation\":\"ixexkydfbwljavhu\"}") - .toObject(ConnectedSubnet.class); - Assertions.assertEquals("ixexkydfbwljavhu", model.annotation()); - Assertions.assertEquals("du", model.prefix()); + ConnectedSubnet model + = BinaryData.fromString("{\"prefix\":\"javh\",\"annotation\":\"rkjd\"}").toObject(ConnectedSubnet.class); + Assertions.assertEquals("rkjd", model.annotation()); + Assertions.assertEquals("javh", model.prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ConnectedSubnet model = new ConnectedSubnet().withAnnotation("ixexkydfbwljavhu").withPrefix("du"); + ConnectedSubnet model = new ConnectedSubnet().withAnnotation("rkjd").withPrefix("javh"); model = BinaryData.fromObject(model).toObject(ConnectedSubnet.class); - Assertions.assertEquals("ixexkydfbwljavhu", model.annotation()); - Assertions.assertEquals("du", model.prefix()); + Assertions.assertEquals("rkjd", model.annotation()); + Assertions.assertEquals("javh", model.prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ControllerServicesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ControllerServicesTests.java index 703020b53dab1..1a1a3366d9fab 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ControllerServicesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ControllerServicesTests.java @@ -11,10 +11,11 @@ public final class ControllerServicesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ControllerServices model = BinaryData.fromString( - "{\"ipv4AddressSpaces\":[\"ayprldid\",\"mtffbvtzldzchuba\",\"wnlzuvi\",\"vlghfrbzakpjtcqr\"],\"ipv6AddressSpaces\":[\"ojpsucm\",\"imcwqxynqjgsa\",\"kyvscbgngcrus\",\"hirc\"]}") + ControllerServices model = BinaryData + .fromString( + "{\"ipv4AddressSpaces\":[\"nnx\",\"mvynuqqko\"],\"ipv6AddressSpaces\":[\"ratnicppf\",\"scle\"]}") .toObject(ControllerServices.class); - Assertions.assertEquals("ayprldid", model.ipv4AddressSpaces().get(0)); - Assertions.assertEquals("ojpsucm", model.ipv6AddressSpaces().get(0)); + Assertions.assertEquals("nnx", model.ipv4AddressSpaces().get(0)); + Assertions.assertEquals("ratnicppf", model.ipv6AddressSpaces().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPatchPropertiesTests.java index 11fa50973644a..9e8c70ddbd9da 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPatchPropertiesTests.java @@ -16,30 +16,30 @@ public final class DestinationPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DestinationPatchProperties model = BinaryData.fromString( - "{\"name\":\"fzlhibf\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"bktuajkufpvvd\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"mnobbai\",\"cfbfy\",\"zaisfofg\"]},\"destinationTapRuleId\":\"rkmgifmyzbuhdnhh\"}") + "{\"name\":\"ztxt\",\"destinationType\":\"Direct\",\"destinationId\":\"ftj\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"lgrjcxhhfhzns\",\"xwfog\",\"vuylyumbwep\"]},\"destinationTapRuleId\":\"nuomsx\"}") .toObject(DestinationPatchProperties.class); - Assertions.assertEquals("fzlhibf", model.name()); - Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinationType()); - Assertions.assertEquals("bktuajkufpvvd", model.destinationId()); - Assertions.assertEquals(Encapsulation.NONE, model.isolationDomainProperties().encapsulation()); - Assertions.assertEquals("mnobbai", model.isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("rkmgifmyzbuhdnhh", model.destinationTapRuleId()); + Assertions.assertEquals("ztxt", model.name()); + Assertions.assertEquals(DestinationType.DIRECT, model.destinationType()); + Assertions.assertEquals("ftj", model.destinationId()); + Assertions.assertEquals(Encapsulation.GRE, model.isolationDomainProperties().encapsulation()); + Assertions.assertEquals("lgrjcxhhfhzns", model.isolationDomainProperties().neighborGroupIds().get(0)); + Assertions.assertEquals("nuomsx", model.destinationTapRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - DestinationPatchProperties model = new DestinationPatchProperties().withName("fzlhibf") - .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("bktuajkufpvvd") - .withIsolationDomainProperties(new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("mnobbai", "cfbfy", "zaisfofg"))) - .withDestinationTapRuleId("rkmgifmyzbuhdnhh"); + DestinationPatchProperties model = new DestinationPatchProperties().withName("ztxt") + .withDestinationType(DestinationType.DIRECT) + .withDestinationId("ftj") + .withIsolationDomainProperties(new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("lgrjcxhhfhzns", "xwfog", "vuylyumbwep"))) + .withDestinationTapRuleId("nuomsx"); model = BinaryData.fromObject(model).toObject(DestinationPatchProperties.class); - Assertions.assertEquals("fzlhibf", model.name()); - Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinationType()); - Assertions.assertEquals("bktuajkufpvvd", model.destinationId()); - Assertions.assertEquals(Encapsulation.NONE, model.isolationDomainProperties().encapsulation()); - Assertions.assertEquals("mnobbai", model.isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("rkmgifmyzbuhdnhh", model.destinationTapRuleId()); + Assertions.assertEquals("ztxt", model.name()); + Assertions.assertEquals(DestinationType.DIRECT, model.destinationType()); + Assertions.assertEquals("ftj", model.destinationId()); + Assertions.assertEquals(Encapsulation.GRE, model.isolationDomainProperties().encapsulation()); + Assertions.assertEquals("lgrjcxhhfhzns", model.isolationDomainProperties().neighborGroupIds().get(0)); + Assertions.assertEquals("nuomsx", model.destinationTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPropertiesTests.java index 1725e417943e0..74bba5c6f0275 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DestinationPropertiesTests.java @@ -16,30 +16,30 @@ public final class DestinationPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DestinationProperties model = BinaryData.fromString( - "{\"name\":\"vxhfmuhkezuuc\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"cocdxvbeqzjd\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"dwneecmytlx\",\"gjrw\"]},\"destinationTapRuleId\":\"ffaofkvfruxz\"}") + "{\"name\":\"ayioxpqgqs\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"clefeombodvdgf\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"ym\",\"f\",\"vzceuy\"]},\"destinationTapRuleId\":\"ktck\"}") .toObject(DestinationProperties.class); - Assertions.assertEquals("vxhfmuhkezuuc", model.name()); + Assertions.assertEquals("ayioxpqgqs", model.name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinationType()); - Assertions.assertEquals("cocdxvbeqzjd", model.destinationId()); - Assertions.assertEquals(Encapsulation.GRE, model.isolationDomainProperties().encapsulation()); - Assertions.assertEquals("dwneecmytlx", model.isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("ffaofkvfruxz", model.destinationTapRuleId()); + Assertions.assertEquals("clefeombodvdgf", model.destinationId()); + Assertions.assertEquals(Encapsulation.NONE, model.isolationDomainProperties().encapsulation()); + Assertions.assertEquals("ym", model.isolationDomainProperties().neighborGroupIds().get(0)); + Assertions.assertEquals("ktck", model.destinationTapRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - DestinationProperties model = new DestinationProperties().withName("vxhfmuhkezuuc") + DestinationProperties model = new DestinationProperties().withName("ayioxpqgqs") .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("cocdxvbeqzjd") - .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("dwneecmytlx", "gjrw"))) - .withDestinationTapRuleId("ffaofkvfruxz"); + .withDestinationId("clefeombodvdgf") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) + .withNeighborGroupIds(Arrays.asList("ym", "f", "vzceuy"))) + .withDestinationTapRuleId("ktck"); model = BinaryData.fromObject(model).toObject(DestinationProperties.class); - Assertions.assertEquals("vxhfmuhkezuuc", model.name()); + Assertions.assertEquals("ayioxpqgqs", model.name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinationType()); - Assertions.assertEquals("cocdxvbeqzjd", model.destinationId()); - Assertions.assertEquals(Encapsulation.GRE, model.isolationDomainProperties().encapsulation()); - Assertions.assertEquals("dwneecmytlx", model.isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("ffaofkvfruxz", model.destinationTapRuleId()); + Assertions.assertEquals("clefeombodvdgf", model.destinationId()); + Assertions.assertEquals(Encapsulation.NONE, model.isolationDomainProperties().encapsulation()); + Assertions.assertEquals("ym", model.isolationDomainProperties().neighborGroupIds().get(0)); + Assertions.assertEquals("ktck", model.destinationTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceInterfacePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceInterfacePropertiesTests.java index fd7057159fd7c..1a89384bd7ddf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceInterfacePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceInterfacePropertiesTests.java @@ -12,11 +12,11 @@ public final class DeviceInterfacePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DeviceInterfaceProperties model = BinaryData.fromString( - "{\"identifier\":\"cqeb\",\"interfaceType\":\"rdjomlnwsb\",\"supportedConnectorTypes\":[{\"connectorType\":\"sflxkqesd\",\"maxSpeedInMbps\":1696526892}]}") + "{\"identifier\":\"cv\",\"interfaceType\":\"zulrqt\",\"supportedConnectorTypes\":[{\"connectorType\":\"ezp\",\"maxSpeedInMbps\":1784958915},{\"connectorType\":\"yfmx\",\"maxSpeedInMbps\":1297191670},{\"connectorType\":\"zf\",\"maxSpeedInMbps\":493502164},{\"connectorType\":\"no\",\"maxSpeedInMbps\":1039114475}]}") .toObject(DeviceInterfaceProperties.class); - Assertions.assertEquals("cqeb", model.identifier()); - Assertions.assertEquals("rdjomlnwsb", model.interfaceType()); - Assertions.assertEquals("sflxkqesd", model.supportedConnectorTypes().get(0).connectorType()); - Assertions.assertEquals(1696526892, model.supportedConnectorTypes().get(0).maxSpeedInMbps()); + Assertions.assertEquals("cv", model.identifier()); + Assertions.assertEquals("zulrqt", model.interfaceType()); + Assertions.assertEquals("ezp", model.supportedConnectorTypes().get(0).connectorType()); + Assertions.assertEquals(1784958915, model.supportedConnectorTypes().get(0).maxSpeedInMbps()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRoCommandTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRoCommandTests.java index e5e1f80033579..bfcd1d8afad7c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRoCommandTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRoCommandTests.java @@ -11,14 +11,14 @@ public final class DeviceRoCommandTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - DeviceRoCommand model = BinaryData.fromString("{\"command\":\"poqzucfz\"}").toObject(DeviceRoCommand.class); - Assertions.assertEquals("poqzucfz", model.command()); + DeviceRoCommand model = BinaryData.fromString("{\"command\":\"hydv\"}").toObject(DeviceRoCommand.class); + Assertions.assertEquals("hydv", model.command()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - DeviceRoCommand model = new DeviceRoCommand().withCommand("poqzucfz"); + DeviceRoCommand model = new DeviceRoCommand().withCommand("hydv"); model = BinaryData.fromObject(model).toObject(DeviceRoCommand.class); - Assertions.assertEquals("poqzucfz", model.command()); + Assertions.assertEquals("hydv", model.command()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRwCommandTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRwCommandTests.java index f7f7712abc08c..484139854d458 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRwCommandTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DeviceRwCommandTests.java @@ -11,17 +11,17 @@ public final class DeviceRwCommandTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - DeviceRwCommand model = BinaryData.fromString("{\"command\":\"kgtzqnwqsttewu\",\"commandUrl\":\"ysjeufjx\"}") - .toObject(DeviceRwCommand.class); - Assertions.assertEquals("kgtzqnwqsttewu", model.command()); - Assertions.assertEquals("ysjeufjx", model.commandUrl()); + DeviceRwCommand model + = BinaryData.fromString("{\"command\":\"xx\",\"commandUrl\":\"fcwrri\"}").toObject(DeviceRwCommand.class); + Assertions.assertEquals("xx", model.command()); + Assertions.assertEquals("fcwrri", model.commandUrl()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - DeviceRwCommand model = new DeviceRwCommand().withCommand("kgtzqnwqsttewu").withCommandUrl("ysjeufjx"); + DeviceRwCommand model = new DeviceRwCommand().withCommand("xx").withCommandUrl("fcwrri"); model = BinaryData.fromObject(model).toObject(DeviceRwCommand.class); - Assertions.assertEquals("kgtzqnwqsttewu", model.command()); - Assertions.assertEquals("ysjeufjx", model.commandUrl()); + Assertions.assertEquals("xx", model.command()); + Assertions.assertEquals("fcwrri", model.commandUrl()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchRequestTests.java index b5aaeef20e6c0..f51dcb4cc8873 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchRequestTests.java @@ -12,14 +12,14 @@ public final class DiscardCommitBatchRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DiscardCommitBatchRequest model - = BinaryData.fromString("{\"commitBatchId\":\"ytzuaedrl\"}").toObject(DiscardCommitBatchRequest.class); - Assertions.assertEquals("ytzuaedrl", model.commitBatchId()); + = BinaryData.fromString("{\"commitBatchId\":\"kzou\"}").toObject(DiscardCommitBatchRequest.class); + Assertions.assertEquals("kzou", model.commitBatchId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - DiscardCommitBatchRequest model = new DiscardCommitBatchRequest().withCommitBatchId("ytzuaedrl"); + DiscardCommitBatchRequest model = new DiscardCommitBatchRequest().withCommitBatchId("kzou"); model = BinaryData.fromObject(model).toObject(DiscardCommitBatchRequest.class); - Assertions.assertEquals("ytzuaedrl", model.commitBatchId()); + Assertions.assertEquals("kzou", model.commitBatchId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchResponsePropertiesTests.java index af51898a0fa87..ba59a24408291 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/DiscardCommitBatchResponsePropertiesTests.java @@ -11,8 +11,8 @@ public final class DiscardCommitBatchResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - DiscardCommitBatchResponseProperties model = BinaryData.fromString("{\"commitBatchId\":\"gkts\"}") + DiscardCommitBatchResponseProperties model = BinaryData.fromString("{\"commitBatchId\":\"dtbgblxbuib\"}") .toObject(DiscardCommitBatchResponseProperties.class); - Assertions.assertEquals("gkts", model.commitBatchId()); + Assertions.assertEquals("dtbgblxbuib", model.commitBatchId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorInnerTests.java new file mode 100644 index 0000000000000..2297adc4c32f9 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorInnerTests.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Assertions; + +public final class EdgeConnectorInnerTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + EdgeConnectorInner model = BinaryData.fromString( + "{\"properties\":{\"connectivityModel\":\"expressRoute\",\"version\":\"epeqlhbtys\",\"managedFabricIds\":[\"e\"],\"provisioningState\":\"Canceled\"},\"location\":\"pqnofkwhgy\",\"tags\":{\"sqqykgjj\":\"yfdbvooelmik\",\"mlmwj\":\"mvsiy\",\"yvquesxplcs\":\"smnwbmacvemmriy\",\"lolxxhcyn\":\"nb\"},\"id\":\"mvaizv\",\"name\":\"wqqpwcidsjqcqyz\",\"type\":\"rtfdlgp\"}") + .toObject(EdgeConnectorInner.class); + Assertions.assertEquals("pqnofkwhgy", model.location()); + Assertions.assertEquals("yfdbvooelmik", model.tags().get("sqqykgjj")); + Assertions.assertEquals(ConnectivityModel.EXPRESS_ROUTE, model.properties().connectivityModel()); + Assertions.assertEquals("epeqlhbtys", model.properties().version()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + EdgeConnectorInner model = new EdgeConnectorInner().withLocation("pqnofkwhgy") + .withTags(mapOf("sqqykgjj", "yfdbvooelmik", "mlmwj", "mvsiy", "yvquesxplcs", "smnwbmacvemmriy", "lolxxhcyn", + "nb")) + .withProperties(new EdgeConnectorProperties().withConnectivityModel(ConnectivityModel.EXPRESS_ROUTE) + .withVersion("epeqlhbtys")); + model = BinaryData.fromObject(model).toObject(EdgeConnectorInner.class); + Assertions.assertEquals("pqnofkwhgy", model.location()); + Assertions.assertEquals("yfdbvooelmik", model.tags().get("sqqykgjj")); + Assertions.assertEquals(ConnectivityModel.EXPRESS_ROUTE, model.properties().connectivityModel()); + Assertions.assertEquals("epeqlhbtys", model.properties().version()); + } + + // 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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorListResultTests.java new file mode 100644 index 0000000000000..85d3759c24d5d --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorListResultTests.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.implementation.models.EdgeConnectorListResult; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import org.junit.jupiter.api.Assertions; + +public final class EdgeConnectorListResultTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + EdgeConnectorListResult model = BinaryData.fromString( + "{\"value\":[{\"properties\":{\"connectivityModel\":\"arcProxy\",\"version\":\"wmqnwmy\",\"managedFabricIds\":[\"ti\",\"gy\"],\"provisioningState\":\"Succeeded\"},\"location\":\"nzhdm\",\"tags\":{\"khkoqcud\":\"jbrybfa\",\"jjhq\":\"wmoyhd\"},\"id\":\"zcbjfpxoy\",\"name\":\"nm\",\"type\":\"niqw\"},{\"properties\":{\"connectivityModel\":\"none\",\"version\":\"xfknjq\",\"managedFabricIds\":[\"nwvravntv\",\"lkwqisnlpaymket\"],\"provisioningState\":\"Canceled\"},\"location\":\"dme\",\"tags\":{\"tx\":\"kryzmpgqqdht\"},\"id\":\"regykjmpad\",\"name\":\"zjohdhczh\",\"type\":\"xitydljgrpqua\"}],\"nextLink\":\"gjqqbactffxdb\"}") + .toObject(EdgeConnectorListResult.class); + Assertions.assertEquals("nzhdm", model.value().get(0).location()); + Assertions.assertEquals("jbrybfa", model.value().get(0).tags().get("khkoqcud")); + Assertions.assertEquals(ConnectivityModel.ARC_PROXY, model.value().get(0).properties().connectivityModel()); + Assertions.assertEquals("wmqnwmy", model.value().get(0).properties().version()); + Assertions.assertEquals("gjqqbactffxdb", model.nextLink()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchTests.java new file mode 100644 index 0000000000000..f62e1a815ae56 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchTests.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Assertions; + +public final class EdgeConnectorPatchTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + EdgeConnectorPatch model = BinaryData.fromString( + "{\"tags\":{\"jbpe\":\"ekip\",\"sywpejt\":\"tjpairpwjmcgi\",\"giuztqefzypul\":\"qopugrse\"},\"properties\":{\"connectivityModel\":\"arcProxy\",\"version\":\"cendidhue\"}}") + .toObject(EdgeConnectorPatch.class); + Assertions.assertEquals("ekip", model.tags().get("jbpe")); + Assertions.assertEquals(ConnectivityModel.ARC_PROXY, model.properties().connectivityModel()); + Assertions.assertEquals("cendidhue", model.properties().version()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + EdgeConnectorPatch model = new EdgeConnectorPatch() + .withTags(mapOf("jbpe", "ekip", "sywpejt", "tjpairpwjmcgi", "giuztqefzypul", "qopugrse")) + .withProperties(new EdgeConnectorPatchableProperties().withConnectivityModel(ConnectivityModel.ARC_PROXY) + .withVersion("cendidhue")); + model = BinaryData.fromObject(model).toObject(EdgeConnectorPatch.class); + Assertions.assertEquals("ekip", model.tags().get("jbpe")); + Assertions.assertEquals(ConnectivityModel.ARC_PROXY, model.properties().connectivityModel()); + Assertions.assertEquals("cendidhue", model.properties().version()); + } + + // 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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchablePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchablePropertiesTests.java new file mode 100644 index 0000000000000..45929a1a4a4a4 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPatchablePropertiesTests.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties; +import org.junit.jupiter.api.Assertions; + +public final class EdgeConnectorPatchablePropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + EdgeConnectorPatchableProperties model + = BinaryData.fromString("{\"connectivityModel\":\"none\",\"version\":\"cxoasgukqmkiyn\"}") + .toObject(EdgeConnectorPatchableProperties.class); + Assertions.assertEquals(ConnectivityModel.NONE, model.connectivityModel()); + Assertions.assertEquals("cxoasgukqmkiyn", model.version()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + EdgeConnectorPatchableProperties model + = new EdgeConnectorPatchableProperties().withConnectivityModel(ConnectivityModel.NONE) + .withVersion("cxoasgukqmkiyn"); + model = BinaryData.fromObject(model).toObject(EdgeConnectorPatchableProperties.class); + Assertions.assertEquals(ConnectivityModel.NONE, model.connectivityModel()); + Assertions.assertEquals("cxoasgukqmkiyn", model.version()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPropertiesTests.java new file mode 100644 index 0000000000000..9ade20f255a4e --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorPropertiesTests.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import org.junit.jupiter.api.Assertions; + +public final class EdgeConnectorPropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + EdgeConnectorProperties model = BinaryData.fromString( + "{\"connectivityModel\":\"none\",\"version\":\"likalbcyuwahw\",\"managedFabricIds\":[\"vaidzcephn\",\"nuhgy\",\"zkhi\"],\"provisioningState\":\"Accepted\"}") + .toObject(EdgeConnectorProperties.class); + Assertions.assertEquals(ConnectivityModel.NONE, model.connectivityModel()); + Assertions.assertEquals("likalbcyuwahw", model.version()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + EdgeConnectorProperties model + = new EdgeConnectorProperties().withConnectivityModel(ConnectivityModel.NONE).withVersion("likalbcyuwahw"); + model = BinaryData.fromObject(model).toObject(EdgeConnectorProperties.class); + Assertions.assertEquals(ConnectivityModel.NONE, model.connectivityModel()); + Assertions.assertEquals("likalbcyuwahw", model.version()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateMockTests.java new file mode 100644 index 0000000000000..7df3a06963184 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsCreateMockTests.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.credential.AccessToken; +import com.azure.core.http.HttpClient; +import com.azure.core.management.profile.AzureProfile; +import com.azure.core.models.AzureCloud; +import com.azure.core.test.http.MockHttpResponse; +import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties; +import java.nio.charset.StandardCharsets; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +public final class EdgeConnectorsCreateMockTests { + @Test + public void testCreate() throws Exception { + String responseStr + = "{\"properties\":{\"connectivityModel\":\"arcProxy\",\"version\":\"sat\",\"managedFabricIds\":[\"wouewrwcqrv\",\"wvyjprrxhx\"],\"provisioningState\":\"Succeeded\"},\"location\":\"znm\",\"tags\":{\"vbwew\":\"swa\",\"eiehwma\":\"d\",\"ag\":\"lp\"},\"id\":\"m\",\"name\":\"beneqapll\",\"type\":\"dowsj\"}"; + + HttpClient httpClient + = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); + ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() + .withHttpClient(httpClient) + .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), + new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); + + EdgeConnector response = manager.edgeConnectors() + .define("famnpbyxbglqyb") + .withRegion("xben") + .withExistingResourceGroup("sfas") + .withProperties( + new EdgeConnectorProperties().withConnectivityModel(ConnectivityModel.NONE).withVersion("jxwcojjmps")) + .withTags(mapOf("traqeskmvrcyyzaa", "gnrrqvrxouoqte", "wiegsswijqsndq", "pww", "zxwqmundlegdlc", "bdt")) + .create(); + + Assertions.assertEquals("znm", response.location()); + Assertions.assertEquals("swa", response.tags().get("vbwew")); + Assertions.assertEquals(ConnectivityModel.ARC_PROXY, response.properties().connectivityModel()); + Assertions.assertEquals("sat", response.properties().version()); + } + + // 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; + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupWithResponseMockTests.java new file mode 100644 index 0000000000000..877485115f280 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsGetByResourceGroupWithResponseMockTests.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.credential.AccessToken; +import com.azure.core.http.HttpClient; +import com.azure.core.management.profile.AzureProfile; +import com.azure.core.models.AzureCloud; +import com.azure.core.test.http.MockHttpResponse; +import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import java.nio.charset.StandardCharsets; +import java.time.OffsetDateTime; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +public final class EdgeConnectorsGetByResourceGroupWithResponseMockTests { + @Test + public void testGetByResourceGroupWithResponse() throws Exception { + String responseStr + = "{\"properties\":{\"connectivityModel\":\"direct\",\"version\":\"shnoxrmabb\",\"managedFabricIds\":[\"cdbqzwuta\",\"bvaqguaubmcwpll\",\"jdccd\",\"ewtddigmmjve\"],\"provisioningState\":\"Succeeded\"},\"location\":\"rbkwcnvgxgui\",\"tags\":{\"jpiafzwhrgmznt\":\"cemkcwcbvh\",\"gfo\":\"oafzrqm\",\"ojjbky\":\"rryzbqpksoaxszuh\"},\"id\":\"dsdgvhecqkb\",\"name\":\"temamyshnksu\",\"type\":\"chzspgbyvumxy\"}"; + + HttpClient httpClient + = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); + ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() + .withHttpClient(httpClient) + .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), + new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); + + EdgeConnector response = manager.edgeConnectors() + .getByResourceGroupWithResponse("ahtlopbnsbjzrn", "cagagmgu", com.azure.core.util.Context.NONE) + .getValue(); + + Assertions.assertEquals("rbkwcnvgxgui", response.location()); + Assertions.assertEquals("cemkcwcbvh", response.tags().get("jpiafzwhrgmznt")); + Assertions.assertEquals(ConnectivityModel.DIRECT, response.properties().connectivityModel()); + Assertions.assertEquals("shnoxrmabb", response.properties().version()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupMockTests.java new file mode 100644 index 0000000000000..a1d2f0f29f566 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListByResourceGroupMockTests.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.credential.AccessToken; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.management.profile.AzureProfile; +import com.azure.core.models.AzureCloud; +import com.azure.core.test.http.MockHttpResponse; +import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import java.nio.charset.StandardCharsets; +import java.time.OffsetDateTime; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +public final class EdgeConnectorsListByResourceGroupMockTests { + @Test + public void testListByResourceGroup() throws Exception { + String responseStr + = "{\"value\":[{\"properties\":{\"connectivityModel\":\"direct\",\"version\":\"bqkx\",\"managedFabricIds\":[\"kajkihnlqfqawyn\",\"lcfx\"],\"provisioningState\":\"Failed\"},\"location\":\"viiriedfyht\",\"tags\":{\"ud\":\"pp\",\"xzcrf\":\"ylxqcsumqdria\",\"qlufojuexpkqhg\":\"kbchnhexmg\"},\"id\":\"wyzvnsnak\",\"name\":\"obcuy\",\"type\":\"mltdgxiqrgr\"}]}"; + + HttpClient httpClient + = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); + ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() + .withHttpClient(httpClient) + .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), + new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); + + PagedIterable response + = manager.edgeConnectors().listByResourceGroup("hctrrvuhgcht", com.azure.core.util.Context.NONE); + + Assertions.assertEquals("viiriedfyht", response.iterator().next().location()); + Assertions.assertEquals("pp", response.iterator().next().tags().get("ud")); + Assertions.assertEquals(ConnectivityModel.DIRECT, response.iterator().next().properties().connectivityModel()); + Assertions.assertEquals("bqkx", response.iterator().next().properties().version()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListMockTests.java new file mode 100644 index 0000000000000..98bb451173179 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/EdgeConnectorsListMockTests.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.credential.AccessToken; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.management.profile.AzureProfile; +import com.azure.core.models.AzureCloud; +import com.azure.core.test.http.MockHttpResponse; +import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; +import com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel; +import com.azure.resourcemanager.managednetworkfabric.models.EdgeConnector; +import java.nio.charset.StandardCharsets; +import java.time.OffsetDateTime; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +public final class EdgeConnectorsListMockTests { + @Test + public void testList() throws Exception { + String responseStr + = "{\"value\":[{\"properties\":{\"connectivityModel\":\"arcProxy\",\"version\":\"xueqyjeeoytgny\",\"managedFabricIds\":[\"lqipnzgnybu\",\"lala\",\"zncn\"],\"provisioningState\":\"Canceled\"},\"location\":\"hx\",\"tags\":{\"rnjkgalodfsbh\":\"yykrzrjj\",\"tygyia\":\"h\",\"sijcmn\":\"hctxarl\",\"gxjmwzkafuvbg\":\"gp\"},\"id\":\"yarsbhjlc\",\"name\":\"vsmrxypb\",\"type\":\"wnyznaix\"}]}"; + + HttpClient httpClient + = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); + ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() + .withHttpClient(httpClient) + .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), + new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); + + PagedIterable response = manager.edgeConnectors().list(com.azure.core.util.Context.NONE); + + Assertions.assertEquals("hx", response.iterator().next().location()); + Assertions.assertEquals("yykrzrjj", response.iterator().next().tags().get("rnjkgalodfsbh")); + Assertions.assertEquals(ConnectivityModel.ARC_PROXY, + response.iterator().next().properties().connectivityModel()); + Assertions.assertEquals("xueqyjeeoytgny", response.iterator().next().properties().version()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationPatchTests.java index fcfc631462894..d1b4ec9849943 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationPatchTests.java @@ -11,20 +11,20 @@ public final class ExportRoutePolicyInformationPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ExportRoutePolicyInformationPatch model = BinaryData - .fromString("{\"exportIpv4RoutePolicyId\":\"bgd\",\"exportIpv6RoutePolicyId\":\"imorzolxosgiht\"}") - .toObject(ExportRoutePolicyInformationPatch.class); - Assertions.assertEquals("bgd", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("imorzolxosgiht", model.exportIpv6RoutePolicyId()); + ExportRoutePolicyInformationPatch model + = BinaryData.fromString("{\"exportIpv4RoutePolicyId\":\"gwtmszcf\",\"exportIpv6RoutePolicyId\":\"q\"}") + .toObject(ExportRoutePolicyInformationPatch.class); + Assertions.assertEquals("gwtmszcf", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("q", model.exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExportRoutePolicyInformationPatch model - = new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId("bgd") - .withExportIpv6RoutePolicyId("imorzolxosgiht"); + = new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId("gwtmszcf") + .withExportIpv6RoutePolicyId("q"); model = BinaryData.fromObject(model).toObject(ExportRoutePolicyInformationPatch.class); - Assertions.assertEquals("bgd", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("imorzolxosgiht", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("gwtmszcf", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("q", model.exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationTests.java index 8f573078f9bd2..d4856683c9a08 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyInformationTests.java @@ -11,19 +11,20 @@ public final class ExportRoutePolicyInformationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ExportRoutePolicyInformation model - = BinaryData.fromString("{\"exportIpv4RoutePolicyId\":\"a\",\"exportIpv6RoutePolicyId\":\"eiancsqoac\"}") - .toObject(ExportRoutePolicyInformation.class); - Assertions.assertEquals("a", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("eiancsqoac", model.exportIpv6RoutePolicyId()); + ExportRoutePolicyInformation model = BinaryData + .fromString("{\"exportIpv4RoutePolicyId\":\"vbzpggpwme\",\"exportIpv6RoutePolicyId\":\"bqajejir\"}") + .toObject(ExportRoutePolicyInformation.class); + Assertions.assertEquals("vbzpggpwme", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("bqajejir", model.exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExportRoutePolicyInformation model = new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("a") - .withExportIpv6RoutePolicyId("eiancsqoac"); + ExportRoutePolicyInformation model + = new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("vbzpggpwme") + .withExportIpv6RoutePolicyId("bqajejir"); model = BinaryData.fromObject(model).toObject(ExportRoutePolicyInformation.class); - Assertions.assertEquals("a", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("eiancsqoac", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("vbzpggpwme", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("bqajejir", model.exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyPatchTests.java index c7cdb4677c5eb..0bc2fd135a4be 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyPatchTests.java @@ -12,18 +12,18 @@ public final class ExportRoutePolicyPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExportRoutePolicyPatch model = BinaryData - .fromString("{\"exportIpv4RoutePolicyId\":\"agdvcdqhftz\",\"exportIpv6RoutePolicyId\":\"yfaofdf\"}") + .fromString("{\"exportIpv4RoutePolicyId\":\"nqanhkigglclwal\",\"exportIpv6RoutePolicyId\":\"ubhg\"}") .toObject(ExportRoutePolicyPatch.class); - Assertions.assertEquals("agdvcdqhftz", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("yfaofdf", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("nqanhkigglclwal", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("ubhg", model.exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExportRoutePolicyPatch model = new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("agdvcdqhftz") - .withExportIpv6RoutePolicyId("yfaofdf"); + ExportRoutePolicyPatch model = new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("nqanhkigglclwal") + .withExportIpv6RoutePolicyId("ubhg"); model = BinaryData.fromObject(model).toObject(ExportRoutePolicyPatch.class); - Assertions.assertEquals("agdvcdqhftz", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("yfaofdf", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("nqanhkigglclwal", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("ubhg", model.exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyTests.java index 9dacd55f14bc8..3db9e114d0b46 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExportRoutePolicyTests.java @@ -11,19 +11,19 @@ public final class ExportRoutePolicyTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ExportRoutePolicy model = BinaryData - .fromString("{\"exportIpv4RoutePolicyId\":\"tksdwgdnkefgmw\",\"exportIpv6RoutePolicyId\":\"c\"}") - .toObject(ExportRoutePolicy.class); - Assertions.assertEquals("tksdwgdnkefgmw", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("c", model.exportIpv6RoutePolicyId()); + ExportRoutePolicy model + = BinaryData.fromString("{\"exportIpv4RoutePolicyId\":\"iiftksd\",\"exportIpv6RoutePolicyId\":\"dnkefgm\"}") + .toObject(ExportRoutePolicy.class); + Assertions.assertEquals("iiftksd", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("dnkefgm", model.exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExportRoutePolicy model - = new ExportRoutePolicy().withExportIpv4RoutePolicyId("tksdwgdnkefgmw").withExportIpv6RoutePolicyId("c"); + = new ExportRoutePolicy().withExportIpv4RoutePolicyId("iiftksd").withExportIpv6RoutePolicyId("dnkefgm"); model = BinaryData.fromObject(model).toObject(ExportRoutePolicy.class); - Assertions.assertEquals("tksdwgdnkefgmw", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("c", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("iiftksd", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("dnkefgm", model.exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPatchPropertiesTests.java index 7e309bf76e339..6581f47608fb4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPatchPropertiesTests.java @@ -12,16 +12,16 @@ public final class ExternalNetworkBmpPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ExternalNetworkBmpPatchProperties model = BinaryData.fromString("{\"configurationState\":\"Enabled\"}") + ExternalNetworkBmpPatchProperties model = BinaryData.fromString("{\"configurationState\":\"Disabled\"}") .toObject(ExternalNetworkBmpPatchProperties.class); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExternalNetworkBmpPatchProperties model - = new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED); + = new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED); model = BinaryData.fromObject(model).toObject(ExternalNetworkBmpPatchProperties.class); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPropertiesTests.java index 2e4ebc252591e..616e700aeabde 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkBmpPropertiesTests.java @@ -12,16 +12,16 @@ public final class ExternalNetworkBmpPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ExternalNetworkBmpProperties model = BinaryData.fromString("{\"configurationState\":\"Enabled\"}") + ExternalNetworkBmpProperties model = BinaryData.fromString("{\"configurationState\":\"Disabled\"}") .toObject(ExternalNetworkBmpProperties.class); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExternalNetworkBmpProperties model - = new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED); + = new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.DISABLED); model = BinaryData.fromObject(model).toObject(ExternalNetworkBmpProperties.class); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkInnerTests.java index 2a2899f5471dd..2f93144549be3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkInnerTests.java @@ -29,167 +29,163 @@ public final class ExternalNetworkInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"gikyjtkak\",\"networkToNetworkInterconnectId\":\"bishjvpzaptuo\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"oizjixwfgcdiyk\",\"importIpv6RoutePolicyId\":\"xwnujvqyn\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"i\",\"exportIpv6RoutePolicyId\":\"dmuqohhi\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"uddrwjc\",\"jbrhlhpvzadbw\",\"nnin\"],\"exportRouteTargets\":[\"xrzfrmvztiucwvi\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"khkrc\"],\"importIpv6RouteTargets\":[\"cbvzarmqcb\"],\"exportIpv4RouteTargets\":[\"stsinvag\"],\"exportIpv6RouteTargets\":[\"yhdrxb\",\"dvcehqw\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"xnmxgnmguzb\",\"primaryIpv6Prefix\":\"vorbalkjnbk\",\"secondaryIpv4Prefix\":\"h\",\"secondaryIpv6Prefix\":\"tqstqkqsygxiyne\",\"mtu\":499879853,\"vlanId\":555593471,\"fabricASN\":9068474490181674407,\"peerASN\":2909735429003827098,\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":583145498,\"multiplier\":239129430},\"ingressAclId\":\"pqcckqiawzlz\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"gacizuxlrarw\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1981503896,\"threshold\":841250139,\"idleTimeExpiry\":1967090984},{\"maximumRoutes\":1889022680,\"threshold\":897768578,\"idleTimeExpiry\":1924810885}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1048624802,\"threshold\":1624416011,\"idleTimeExpiry\":802548202},{\"maximumRoutes\":1958545231,\"threshold\":1112826692,\"idleTimeExpiry\":96953266},{\"maximumRoutes\":11542985,\"threshold\":877954807,\"idleTimeExpiry\":2000994478},{\"maximumRoutes\":237675407,\"threshold\":602201525,\"idleTimeExpiry\":2142343469}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1641670527,\"multiplier\":1630671557},\"ipv4Routes\":[{\"prefix\":\"cypxbbfetw\",\"nextHop\":[\"y\"]},{\"prefix\":\"zox\",\"nextHop\":[\"xql\",\"r\",\"lqownkiua\"]}],\"ipv6Routes\":[{\"prefix\":\"nahwk\",\"nextHop\":[\"jmztnlmso\",\"dtmvecdhdyswcrp\",\"veajczxvlgsrg\",\"rfizr\"]}]},\"lastOperation\":{\"details\":\"lptyuqhr\"},\"networkFabricId\":\"cs\",\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"},\"id\":\"ixcnpcf\",\"name\":\"kkpyycpaw\",\"type\":\"pjprdpwr\"}") + "{\"properties\":{\"annotation\":\"d\",\"networkToNetworkInterconnectId\":\"bgymqt\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"reojxrjnbsc\",\"importIpv6RoutePolicyId\":\"xavipneychbj\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"fsgnw\",\"exportIpv6RoutePolicyId\":\"zed\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"borx\"],\"exportRouteTargets\":[\"lnfyzav\",\"rbypi\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"pdjtaqh\"],\"importIpv6RouteTargets\":[\"azpdg\"],\"exportIpv4RouteTargets\":[\"h\",\"shthmgpczqu\"],\"exportIpv6RouteTargets\":[\"kbvcpxtzhigqqbti\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"jbl\",\"primaryIpv6Prefix\":\"nsihqhudsm\",\"secondaryIpv4Prefix\":\"uaawja\",\"secondaryIpv6Prefix\":\"wj\",\"mtu\":152243142,\"vlanId\":205920680,\"fabricASN\":3199532640764332782,\"peerASN\":5644773463428738089,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":960311602,\"multiplier\":1330888938},\"ingressAclId\":\"os\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"nbg\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":9189725,\"threshold\":234513191,\"idleTimeExpiry\":165901802}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":157855583,\"threshold\":2027196194,\"idleTimeExpiry\":146834281},{\"maximumRoutes\":457522278,\"threshold\":640176044,\"idleTimeExpiry\":869584816},{\"maximumRoutes\":1853377573,\"threshold\":1216848035,\"idleTimeExpiry\":1917204796}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1936720238,\"multiplier\":64531850},\"ipv4Routes\":[{\"prefix\":\"hnrecchd\",\"nextHop\":[\"rmuhkahmjedbiucv\",\"hhwmjpjbweunxcq\"]},{\"prefix\":\"rihufoihppiybxv\",\"nextHop\":[\"zuzpbgkzcs\"]},{\"prefix\":\"piuzvk\",\"nextHop\":[\"hdimjuktirzkau\",\"pucdocf\",\"plw\"]}],\"ipv6Routes\":[{\"prefix\":\"m\",\"nextHop\":[\"wrjlvzkl\"]}]},\"lastOperation\":{\"details\":\"gikyjtkak\"},\"networkFabricId\":\"bishjvpzaptuo\",\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"id\":\"xwfgcdiykkcx\",\"name\":\"nujvqynvavi\",\"type\":\"mdmuqoh\"}") .toObject(ExternalNetworkInner.class); - Assertions.assertEquals("gikyjtkak", model.annotation()); - Assertions.assertEquals("bishjvpzaptuo", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("oizjixwfgcdiyk", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("xwnujvqyn", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("i", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("dmuqohhi", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("d", model.annotation()); + Assertions.assertEquals("bgymqt", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("reojxrjnbsc", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("xavipneychbj", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("fsgnw", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("zed", model.exportRoutePolicy().exportIpv6RoutePolicyId()); Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("uddrwjc", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("xrzfrmvztiucwvi", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("khkrc", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("cbvzarmqcb", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("stsinvag", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("yhdrxb", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("xnmxgnmguzb", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("vorbalkjnbk", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("h", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("tqstqkqsygxiyne", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(499879853, model.optionAProperties().mtu()); - Assertions.assertEquals(555593471, model.optionAProperties().vlanId()); - Assertions.assertEquals(2909735429003827098L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(583145498, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(239129430, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("pqcckqiawzlz", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("borx", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("lnfyzav", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("pdjtaqh", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("azpdg", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("h", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("kbvcpxtzhigqqbti", + model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("jbl", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("nsihqhudsm", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("uaawja", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("wj", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(152243142, model.optionAProperties().mtu()); + Assertions.assertEquals(205920680, model.optionAProperties().vlanId()); + Assertions.assertEquals(5644773463428738089L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(960311602, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1330888938, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("os", model.optionAProperties().ingressAclId()); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("gacizuxlrarw", model.optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(1981503896, + Assertions.assertEquals("nbg", model.optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(9189725, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(841250139, + Assertions.assertEquals(234513191, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1967090984, + Assertions.assertEquals(165901802, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1048624802, + Assertions.assertEquals(157855583, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1624416011, + Assertions.assertEquals(2027196194, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(802548202, + Assertions.assertEquals(146834281, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1641670527, + Assertions.assertEquals(1936720238, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1630671557, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("cypxbbfetw", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("y", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("nahwk", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jmztnlmso", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(64531850, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("hnrecchd", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("rmuhkahmjedbiucv", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("m", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("wrjlvzkl", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExternalNetworkInner model - = new ExternalNetworkInner().withAnnotation("gikyjtkak") - .withNetworkToNetworkInterconnectId("bishjvpzaptuo") - .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("oizjixwfgcdiyk") - .withImportIpv6RoutePolicyId("xwnujvqyn")) - .withExportRoutePolicy( - new ExportRoutePolicy().withExportIpv4RoutePolicyId("i").withExportIpv6RoutePolicyId("dmuqohhi")) - .withPeeringOption(PeeringOption.OPTIONA) - .withOptionBProperties(new L3OptionBProperties() - .withImportRouteTargets(Arrays.asList("uddrwjc", "jbrhlhpvzadbw", "nnin")) - .withExportRouteTargets(Arrays.asList("xrzfrmvztiucwvi")) - .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("khkrc")) - .withImportIpv6RouteTargets(Arrays.asList("cbvzarmqcb")) - .withExportIpv4RouteTargets(Arrays.asList("stsinvag")) - .withExportIpv6RouteTargets(Arrays.asList("yhdrxb", "dvcehqw")))) - .withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties() - .withPrimaryIpv4Prefix("xnmxgnmguzb") - .withPrimaryIpv6Prefix("vorbalkjnbk") - .withSecondaryIpv4Prefix("h") - .withSecondaryIpv6Prefix("tqstqkqsygxiyne") - .withMtu(499879853) - .withVlanId(555593471) - .withPeerAsn(2909735429003827098L) - .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(583145498).withMultiplier(239129430)) - .withIngressAclId("pqcckqiawzlz") - .withBmpConfiguration( - new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withEgressAclId("gacizuxlrarw") - .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(1981503896) - .withThreshold(841250139) - .withIdleTimeExpiry(1967090984), - new PrefixLimitProperties().withMaximumRoutes(1889022680) - .withThreshold(897768578) - .withIdleTimeExpiry(1924810885)))) - .withNativeIpv6PrefixLimit( - new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(1048624802) - .withThreshold(1624416011) - .withIdleTimeExpiry(802548202), - new PrefixLimitProperties().withMaximumRoutes(1958545231) - .withThreshold(1112826692) - .withIdleTimeExpiry(96953266), - new PrefixLimitProperties().withMaximumRoutes(11542985) - .withThreshold(877954807) - .withIdleTimeExpiry(2000994478), - new PrefixLimitProperties().withMaximumRoutes(237675407) - .withThreshold(602201525) - .withIdleTimeExpiry(2142343469))))) - .withStaticRouteConfiguration(new ExternalNetworkStaticRouteConfiguration() - .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1641670527).withMultiplier(1630671557)) - .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("cypxbbfetw").withNextHop(Arrays.asList("y")), - new StaticRouteProperties().withPrefix("zox") - .withNextHop(Arrays.asList("xql", "r", "lqownkiua")))) - .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("nahwk") - .withNextHop(Arrays.asList("jmztnlmso", "dtmvecdhdyswcrp", "veajczxvlgsrg", "rfizr"))))); + ExternalNetworkInner model = new ExternalNetworkInner().withAnnotation("d") + .withNetworkToNetworkInterconnectId("bgymqt") + .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("reojxrjnbsc") + .withImportIpv6RoutePolicyId("xavipneychbj")) + .withExportRoutePolicy( + new ExportRoutePolicy().withExportIpv4RoutePolicyId("fsgnw").withExportIpv6RoutePolicyId("zed")) + .withPeeringOption(PeeringOption.OPTIONA) + .withOptionBProperties(new L3OptionBProperties().withImportRouteTargets(Arrays.asList("borx")) + .withExportRouteTargets(Arrays.asList("lnfyzav", "rbypi")) + .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("pdjtaqh")) + .withImportIpv6RouteTargets(Arrays.asList("azpdg")) + .withExportIpv4RouteTargets(Arrays.asList("h", "shthmgpczqu")) + .withExportIpv6RouteTargets(Arrays.asList("kbvcpxtzhigqqbti")))) + .withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("jbl") + .withPrimaryIpv6Prefix("nsihqhudsm") + .withSecondaryIpv4Prefix("uaawja") + .withSecondaryIpv6Prefix("wj") + .withMtu(152243142) + .withVlanId(205920680) + .withPeerAsn(5644773463428738089L) + .withBfdConfiguration( + new BfdConfiguration().withIntervalInMilliSeconds(960311602).withMultiplier(1330888938)) + .withIngressAclId("os") + .withBmpConfiguration( + new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED)) + .withEgressAclId("nbg") + .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED) + .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(9189725) + .withThreshold(234513191) + .withIdleTimeExpiry(165901802)))) + .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList( + new PrefixLimitProperties().withMaximumRoutes(157855583) + .withThreshold(2027196194) + .withIdleTimeExpiry(146834281), + new PrefixLimitProperties().withMaximumRoutes(457522278) + .withThreshold(640176044) + .withIdleTimeExpiry(869584816), + new PrefixLimitProperties().withMaximumRoutes(1853377573) + .withThreshold(1216848035) + .withIdleTimeExpiry(1917204796))))) + .withStaticRouteConfiguration(new ExternalNetworkStaticRouteConfiguration() + .withBfdConfiguration( + new BfdConfiguration().withIntervalInMilliSeconds(1936720238).withMultiplier(64531850)) + .withIpv4Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("hnrecchd") + .withNextHop(Arrays.asList("rmuhkahmjedbiucv", "hhwmjpjbweunxcq")), + new StaticRouteProperties().withPrefix("rihufoihppiybxv").withNextHop(Arrays.asList("zuzpbgkzcs")), + new StaticRouteProperties().withPrefix("piuzvk") + .withNextHop(Arrays.asList("hdimjuktirzkau", "pucdocf", "plw")))) + .withIpv6Routes( + Arrays.asList(new StaticRouteProperties().withPrefix("m").withNextHop(Arrays.asList("wrjlvzkl"))))); model = BinaryData.fromObject(model).toObject(ExternalNetworkInner.class); - Assertions.assertEquals("gikyjtkak", model.annotation()); - Assertions.assertEquals("bishjvpzaptuo", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("oizjixwfgcdiyk", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("xwnujvqyn", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("i", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("dmuqohhi", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("d", model.annotation()); + Assertions.assertEquals("bgymqt", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("reojxrjnbsc", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("xavipneychbj", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("fsgnw", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("zed", model.exportRoutePolicy().exportIpv6RoutePolicyId()); Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("uddrwjc", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("xrzfrmvztiucwvi", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("khkrc", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("cbvzarmqcb", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("stsinvag", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("yhdrxb", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("xnmxgnmguzb", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("vorbalkjnbk", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("h", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("tqstqkqsygxiyne", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(499879853, model.optionAProperties().mtu()); - Assertions.assertEquals(555593471, model.optionAProperties().vlanId()); - Assertions.assertEquals(2909735429003827098L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(583145498, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(239129430, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("pqcckqiawzlz", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("borx", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("lnfyzav", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("pdjtaqh", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("azpdg", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("h", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("kbvcpxtzhigqqbti", + model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("jbl", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("nsihqhudsm", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("uaawja", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("wj", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(152243142, model.optionAProperties().mtu()); + Assertions.assertEquals(205920680, model.optionAProperties().vlanId()); + Assertions.assertEquals(5644773463428738089L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(960311602, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1330888938, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("os", model.optionAProperties().ingressAclId()); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("gacizuxlrarw", model.optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(1981503896, + Assertions.assertEquals("nbg", model.optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(9189725, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(841250139, + Assertions.assertEquals(234513191, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1967090984, + Assertions.assertEquals(165901802, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1048624802, + Assertions.assertEquals(157855583, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1624416011, + Assertions.assertEquals(2027196194, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(802548202, + Assertions.assertEquals(146834281, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1641670527, + Assertions.assertEquals(1936720238, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1630671557, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("cypxbbfetw", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("y", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("nahwk", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jmztnlmso", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(64531850, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("hnrecchd", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("rmuhkahmjedbiucv", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("m", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("wrjlvzkl", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesOptionAPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesOptionAPropertiesTests.java index b5c08308b32ab..be0ecfd369f0e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesOptionAPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesOptionAPropertiesTests.java @@ -21,91 +21,76 @@ public final class ExternalNetworkPatchPropertiesOptionAPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkPatchPropertiesOptionAProperties model = BinaryData.fromString( - "{\"primaryIpv4Prefix\":\"twlety\",\"primaryIpv6Prefix\":\"szrtlhpdhwynct\",\"secondaryIpv4Prefix\":\"zcnjfmbbfnvjxit\",\"secondaryIpv6Prefix\":\"vnk\",\"mtu\":1838859138,\"vlanId\":1636743521,\"fabricASN\":1524812917464626225,\"peerASN\":2714614785863345826,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":286522476,\"multiplier\":1106473092},\"ingressAclId\":\"ibhyxwbg\",\"egressAclId\":\"davqdorbcc\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1482007887,\"threshold\":1255958,\"idleTimeExpiry\":536906348},{\"maximumRoutes\":1220141088,\"threshold\":2037922061,\"idleTimeExpiry\":426424994},{\"maximumRoutes\":86351878,\"threshold\":502368164,\"idleTimeExpiry\":1117131622}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":138852421,\"threshold\":1936379477,\"idleTimeExpiry\":1847434186},{\"maximumRoutes\":72792455,\"threshold\":271809891,\"idleTimeExpiry\":449092721},{\"maximumRoutes\":1296621349,\"threshold\":850797696,\"idleTimeExpiry\":1683465955},{\"maximumRoutes\":1972653121,\"threshold\":561222848,\"idleTimeExpiry\":1851901458}]}}") + "{\"primaryIpv4Prefix\":\"upp\",\"primaryIpv6Prefix\":\"prcmvouujxdiik\",\"secondaryIpv4Prefix\":\"xrezsvavlrxi\",\"secondaryIpv6Prefix\":\"moywlu\",\"mtu\":528264962,\"vlanId\":1983453114,\"fabricASN\":5471624493214372032,\"peerASN\":2504188211857388946,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":922685586,\"multiplier\":143163451},\"ingressAclId\":\"tsaebwfwhxorpwa\",\"egressAclId\":\"zwuge\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":2000734751,\"threshold\":426027202,\"idleTimeExpiry\":1454821604}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1649497704,\"threshold\":378538633,\"idleTimeExpiry\":351926206}]}}") .toObject(ExternalNetworkPatchPropertiesOptionAProperties.class); - Assertions.assertEquals("twlety", model.primaryIpv4Prefix()); - Assertions.assertEquals("szrtlhpdhwynct", model.primaryIpv6Prefix()); - Assertions.assertEquals("zcnjfmbbfnvjxit", model.secondaryIpv4Prefix()); - Assertions.assertEquals("vnk", model.secondaryIpv6Prefix()); - Assertions.assertEquals(1838859138, model.mtu()); - Assertions.assertEquals(1636743521, model.vlanId()); - Assertions.assertEquals(2714614785863345826L, model.peerAsn()); - Assertions.assertEquals(286522476, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1106473092, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("ibhyxwbg", model.ingressAclId()); - Assertions.assertEquals("davqdorbcc", model.egressAclId()); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.v4OverV6BgpSession()); + Assertions.assertEquals("upp", model.primaryIpv4Prefix()); + Assertions.assertEquals("prcmvouujxdiik", model.primaryIpv6Prefix()); + Assertions.assertEquals("xrezsvavlrxi", model.secondaryIpv4Prefix()); + Assertions.assertEquals("moywlu", model.secondaryIpv6Prefix()); + Assertions.assertEquals(528264962, model.mtu()); + Assertions.assertEquals(1983453114, model.vlanId()); + Assertions.assertEquals(2504188211857388946L, model.peerAsn()); + Assertions.assertEquals(922685586, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(143163451, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("tsaebwfwhxorpwa", model.ingressAclId()); + Assertions.assertEquals("zwuge", model.egressAclId()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().configurationState()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.v6OverV4BgpSession()); - Assertions.assertEquals(1482007887, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1255958, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(536906348, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(138852421, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1936379477, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1847434186, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(2000734751, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(426027202, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1454821604, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1649497704, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(378538633, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(351926206, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExternalNetworkPatchPropertiesOptionAProperties model - = new ExternalNetworkPatchPropertiesOptionAProperties().withPrimaryIpv4Prefix("twlety") - .withPrimaryIpv6Prefix("szrtlhpdhwynct") - .withSecondaryIpv4Prefix("zcnjfmbbfnvjxit") - .withSecondaryIpv6Prefix("vnk") - .withMtu(1838859138) - .withVlanId(1636743521) - .withPeerAsn(2714614785863345826L) + = new ExternalNetworkPatchPropertiesOptionAProperties().withPrimaryIpv4Prefix("upp") + .withPrimaryIpv6Prefix("prcmvouujxdiik") + .withSecondaryIpv4Prefix("xrezsvavlrxi") + .withSecondaryIpv6Prefix("moywlu") + .withMtu(528264962) + .withVlanId(1983453114) + .withPeerAsn(2504188211857388946L) .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(286522476).withMultiplier(1106473092)) - .withIngressAclId("ibhyxwbg") - .withEgressAclId("davqdorbcc") + new BfdPatchConfiguration().withIntervalInMilliSeconds(922685586).withMultiplier(143163451)) + .withIngressAclId("tsaebwfwhxorpwa") + .withEgressAclId("zwuge") .withBmpConfiguration( - new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) + new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED)) + .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(1482007887) - .withThreshold(1255958) - .withIdleTimeExpiry(536906348), - new PrefixLimitPatchProperties().withMaximumRoutes(1220141088) - .withThreshold(2037922061) - .withIdleTimeExpiry(426424994), - new PrefixLimitPatchProperties().withMaximumRoutes(86351878) - .withThreshold(502368164) - .withIdleTimeExpiry(1117131622)))) - .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(138852421) - .withThreshold(1936379477) - .withIdleTimeExpiry(1847434186), - new PrefixLimitPatchProperties().withMaximumRoutes(72792455) - .withThreshold(271809891) - .withIdleTimeExpiry(449092721), - new PrefixLimitPatchProperties().withMaximumRoutes(1296621349) - .withThreshold(850797696) - .withIdleTimeExpiry(1683465955), - new PrefixLimitPatchProperties().withMaximumRoutes(1972653121) - .withThreshold(561222848) - .withIdleTimeExpiry(1851901458)))); + .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(2000734751) + .withThreshold(426027202) + .withIdleTimeExpiry(1454821604)))) + .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(1649497704) + .withThreshold(378538633) + .withIdleTimeExpiry(351926206)))); model = BinaryData.fromObject(model).toObject(ExternalNetworkPatchPropertiesOptionAProperties.class); - Assertions.assertEquals("twlety", model.primaryIpv4Prefix()); - Assertions.assertEquals("szrtlhpdhwynct", model.primaryIpv6Prefix()); - Assertions.assertEquals("zcnjfmbbfnvjxit", model.secondaryIpv4Prefix()); - Assertions.assertEquals("vnk", model.secondaryIpv6Prefix()); - Assertions.assertEquals(1838859138, model.mtu()); - Assertions.assertEquals(1636743521, model.vlanId()); - Assertions.assertEquals(2714614785863345826L, model.peerAsn()); - Assertions.assertEquals(286522476, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1106473092, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("ibhyxwbg", model.ingressAclId()); - Assertions.assertEquals("davqdorbcc", model.egressAclId()); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.v4OverV6BgpSession()); + Assertions.assertEquals("upp", model.primaryIpv4Prefix()); + Assertions.assertEquals("prcmvouujxdiik", model.primaryIpv6Prefix()); + Assertions.assertEquals("xrezsvavlrxi", model.secondaryIpv4Prefix()); + Assertions.assertEquals("moywlu", model.secondaryIpv6Prefix()); + Assertions.assertEquals(528264962, model.mtu()); + Assertions.assertEquals(1983453114, model.vlanId()); + Assertions.assertEquals(2504188211857388946L, model.peerAsn()); + Assertions.assertEquals(922685586, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(143163451, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("tsaebwfwhxorpwa", model.ingressAclId()); + Assertions.assertEquals("zwuge", model.egressAclId()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().configurationState()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.v6OverV4BgpSession()); - Assertions.assertEquals(1482007887, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1255958, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(536906348, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(138852421, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1936379477, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1847434186, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(2000734751, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(426027202, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1454821604, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1649497704, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(378538633, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(351926206, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesTests.java index f1e0e81ae97b1..aa30bf5170fe0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchPropertiesTests.java @@ -29,169 +29,158 @@ public final class ExternalNetworkPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkPatchProperties model = BinaryData.fromString( - "{\"annotation\":\"otxjqfiafcnlrtbf\",\"networkToNetworkInterconnectId\":\"zzcaoijolbuauk\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"eopex\",\"importIpv6RoutePolicyId\":\"xq\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"swyiljpibkgxyxy\",\"exportIpv6RoutePolicyId\":\"xre\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"n\"],\"exportRouteTargets\":[\"wytkujsqy\",\"mmoxfablqgpwbmwh\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"iwrycgnwplrrb\"],\"importIpv6RouteTargets\":[\"tsbbibtic\",\"hqvumspbfs\"],\"exportIpv4RouteTargets\":[\"bbewfcu\",\"fpyyxmzrmtm\",\"wi\",\"uweyyjshcyb\"],\"exportIpv6RouteTargets\":[\"ppoxprcmv\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"jxdiikmoxrezsv\",\"primaryIpv6Prefix\":\"lrxikj\",\"secondaryIpv4Prefix\":\"ywlunpipcwybs\",\"secondaryIpv6Prefix\":\"ncnpat\",\"mtu\":1723251022,\"vlanId\":1197765673,\"fabricASN\":8377870689638642307,\"peerASN\":3049731764529681661,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":2051992962,\"multiplier\":314441452},\"ingressAclId\":\"zwuge\",\"egressAclId\":\"jfccylhtrht\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":351926206,\"threshold\":2077004962,\"idleTimeExpiry\":1784905229}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1650484560,\"threshold\":1223455688,\"idleTimeExpiry\":2006890038}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":715641821,\"multiplier\":745319010},\"ipv4Routes\":[{\"prefix\":\"lokfpmijpdvzv\",\"nextHop\":[\"hwb\",\"qufv\",\"gnrglaqrwyamb\",\"bafeb\"]},{\"prefix\":\"xfkjqutibh\",\"nextHop\":[\"nntrvrkps\",\"bduxvzmlghnys\",\"lpyeu\",\"kppdi\"]},{\"prefix\":\"qb\",\"nextHop\":[\"xvhhyqq\",\"gatxgrznmginmtsd\",\"xch\",\"kibmgjymn\"]},{\"prefix\":\"jca\",\"nextHop\":[\"irwcqzoofjnqjsv\",\"pfbhtleber\",\"yljeknfqnwjjqx\"]}],\"ipv6Routes\":[{\"prefix\":\"dnjrx\",\"nextHop\":[\"rhw\",\"ehycpn\"]},{\"prefix\":\"wawonoehrguql\",\"nextHop\":[\"wafbjzmp\",\"rguyfa\"]},{\"prefix\":\"bko\",\"nextHop\":[\"ygvthrmxkbcjw\",\"dxomrawppk\",\"boozflyacagaed\"]},{\"prefix\":\"oiqclmgdtwgab\",\"nextHop\":[\"f\",\"uz\"]}]}}") + "{\"annotation\":\"jdpdfhtwmmkfq\",\"networkToNetworkInterconnectId\":\"iqulwwtrjmeq\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"hzokpoyuohue\",\"importIpv6RoutePolicyId\":\"na\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"hmpoe\",\"exportIpv6RoutePolicyId\":\"glpwsa\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"mxpezco\",\"oyj\",\"mfqzwqdnx\"],\"exportRouteTargets\":[\"dcnwmywxfq\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"myzdpczaqpqi\",\"dbmp\",\"rwtx\"],\"importIpv6RouteTargets\":[\"samonat\",\"izexroqsqj\",\"hrmt\"],\"exportIpv4RouteTargets\":[\"lwsttxsrgxfqpan\",\"ceov\",\"gzwhsxyrujmtik\",\"s\"],\"exportIpv6RouteTargets\":[\"yohzixyq\",\"fn\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"cqqqdseipn\",\"primaryIpv6Prefix\":\"wzxhrptyodlhkf\",\"secondaryIpv4Prefix\":\"ltddsobjopnouh\",\"secondaryIpv6Prefix\":\"ezkqxsalu\",\"mtu\":1184431792,\"vlanId\":141399792,\"fabricASN\":4688229056821084754,\"peerASN\":2077921705395952844,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1065975774,\"multiplier\":1338220816},\"ingressAclId\":\"atm\",\"egressAclId\":\"c\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":104599977,\"threshold\":1840962173,\"idleTimeExpiry\":151077686}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1093422687,\"threshold\":575713175,\"idleTimeExpiry\":1063121774},{\"maximumRoutes\":1850584063,\"threshold\":949323558,\"idleTimeExpiry\":470261023}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":819698,\"multiplier\":1650141631},\"ipv4Routes\":[{\"prefix\":\"hfixa\",\"nextHop\":[\"c\",\"lzjrmhpfy\",\"vyldqpzfzxsoxin\",\"nj\"]}],\"ipv6Routes\":[{\"prefix\":\"drocqsxytq\",\"nextHop\":[\"cmiwdw\",\"svnmeylajamcajy\"]}]}}") .toObject(ExternalNetworkPatchProperties.class); - Assertions.assertEquals("otxjqfiafcnlrtbf", model.annotation()); - Assertions.assertEquals("zzcaoijolbuauk", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("eopex", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("xq", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("swyiljpibkgxyxy", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("xre", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("jdpdfhtwmmkfq", model.annotation()); + Assertions.assertEquals("iqulwwtrjmeq", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("hzokpoyuohue", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("na", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("hmpoe", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("glpwsa", model.exportRoutePolicy().exportIpv6RoutePolicyId()); Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("n", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("wytkujsqy", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("iwrycgnwplrrb", + Assertions.assertEquals("mxpezco", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("dcnwmywxfq", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("myzdpczaqpqi", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("tsbbibtic", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("bbewfcu", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("ppoxprcmv", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("jxdiikmoxrezsv", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("lrxikj", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("ywlunpipcwybs", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("ncnpat", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1723251022, model.optionAProperties().mtu()); - Assertions.assertEquals(1197765673, model.optionAProperties().vlanId()); - Assertions.assertEquals(3049731764529681661L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(2051992962, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(314441452, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("zwuge", model.optionAProperties().ingressAclId()); - Assertions.assertEquals("jfccylhtrht", model.optionAProperties().egressAclId()); + Assertions.assertEquals("samonat", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("lwsttxsrgxfqpan", + model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("yohzixyq", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("cqqqdseipn", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("wzxhrptyodlhkf", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("ltddsobjopnouh", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("ezkqxsalu", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1184431792, model.optionAProperties().mtu()); + Assertions.assertEquals(141399792, model.optionAProperties().vlanId()); + Assertions.assertEquals(2077921705395952844L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(1065975774, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1338220816, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("atm", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("c", model.optionAProperties().egressAclId()); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionAProperties().bmpConfiguration().configurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(351926206, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(104599977, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(2077004962, + Assertions.assertEquals(1840962173, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1784905229, + Assertions.assertEquals(151077686, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1650484560, + Assertions.assertEquals(1093422687, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1223455688, + Assertions.assertEquals(575713175, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(2006890038, + Assertions.assertEquals(1063121774, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(715641821, - model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(745319010, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("lokfpmijpdvzv", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("hwb", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("dnjrx", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("rhw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(819698, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1650141631, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("hfixa", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("c", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("drocqsxytq", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("cmiwdw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExternalNetworkPatchProperties model - = new ExternalNetworkPatchProperties().withAnnotation("otxjqfiafcnlrtbf") - .withNetworkToNetworkInterconnectId("zzcaoijolbuauk") - .withImportRoutePolicy( - new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId("eopex").withImportIpv6RoutePolicyId("xq")) - .withExportRoutePolicy(new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("swyiljpibkgxyxy") - .withExportIpv6RoutePolicyId("xre")) - .withPeeringOption(PeeringOption.OPTIONA) - .withOptionBProperties( - new L3OptionBPatchProperties().withImportRouteTargets(Arrays.asList("n")) - .withExportRouteTargets(Arrays.asList("wytkujsqy", "mmoxfablqgpwbmwh")) - .withRouteTargets(new RouteTargetPatchInformation() - .withImportIpv4RouteTargets(Arrays.asList("iwrycgnwplrrb")) - .withImportIpv6RouteTargets(Arrays.asList("tsbbibtic", "hqvumspbfs")) - .withExportIpv4RouteTargets(Arrays.asList("bbewfcu", "fpyyxmzrmtm", "wi", "uweyyjshcyb")) - .withExportIpv6RouteTargets(Arrays.asList("ppoxprcmv")))) - .withOptionAProperties(new ExternalNetworkPatchPropertiesOptionAProperties() - .withPrimaryIpv4Prefix("jxdiikmoxrezsv") - .withPrimaryIpv6Prefix("lrxikj") - .withSecondaryIpv4Prefix("ywlunpipcwybs") - .withSecondaryIpv6Prefix("ncnpat") - .withMtu(1723251022) - .withVlanId(1197765673) - .withPeerAsn(3049731764529681661L) + ExternalNetworkPatchProperties model = new ExternalNetworkPatchProperties().withAnnotation("jdpdfhtwmmkfq") + .withNetworkToNetworkInterconnectId("iqulwwtrjmeq") + .withImportRoutePolicy(new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId("hzokpoyuohue") + .withImportIpv6RoutePolicyId("na")) + .withExportRoutePolicy( + new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("hmpoe").withExportIpv6RoutePolicyId("glpwsa")) + .withPeeringOption(PeeringOption.OPTIONA) + .withOptionBProperties( + new L3OptionBPatchProperties().withImportRouteTargets(Arrays.asList("mxpezco", "oyj", "mfqzwqdnx")) + .withExportRouteTargets(Arrays.asList("dcnwmywxfq")) + .withRouteTargets(new RouteTargetPatchInformation() + .withImportIpv4RouteTargets(Arrays.asList("myzdpczaqpqi", "dbmp", "rwtx")) + .withImportIpv6RouteTargets(Arrays.asList("samonat", "izexroqsqj", "hrmt")) + .withExportIpv4RouteTargets(Arrays.asList("lwsttxsrgxfqpan", "ceov", "gzwhsxyrujmtik", "s")) + .withExportIpv6RouteTargets(Arrays.asList("yohzixyq", "fn")))) + .withOptionAProperties( + new ExternalNetworkPatchPropertiesOptionAProperties().withPrimaryIpv4Prefix("cqqqdseipn") + .withPrimaryIpv6Prefix("wzxhrptyodlhkf") + .withSecondaryIpv4Prefix("ltddsobjopnouh") + .withSecondaryIpv6Prefix("ezkqxsalu") + .withMtu(1184431792) + .withVlanId(141399792) + .withPeerAsn(2077921705395952844L) .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(2051992962).withMultiplier(314441452)) - .withIngressAclId("zwuge") - .withEgressAclId("jfccylhtrht") + new BfdPatchConfiguration().withIntervalInMilliSeconds(1065975774).withMultiplier(1338220816)) + .withIngressAclId("atm") + .withEgressAclId("c") .withBmpConfiguration( new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED)) .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties() - .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(351926206) - .withThreshold(2077004962) - .withIdleTimeExpiry(1784905229)))) - .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties() - .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(1650484560) - .withThreshold(1223455688) - .withIdleTimeExpiry(2006890038))))) - .withStaticRouteConfiguration(new ExternalNetworkStaticRoutePatchConfiguration() - .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(715641821).withMultiplier(745319010)) - .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("lokfpmijpdvzv") - .withNextHop(Arrays.asList("hwb", "qufv", "gnrglaqrwyamb", "bafeb")), - new StaticRoutePatchProperties().withPrefix("xfkjqutibh") - .withNextHop(Arrays.asList("nntrvrkps", "bduxvzmlghnys", "lpyeu", "kppdi")), - new StaticRoutePatchProperties().withPrefix("qb") - .withNextHop(Arrays.asList("xvhhyqq", "gatxgrznmginmtsd", "xch", "kibmgjymn")), - new StaticRoutePatchProperties().withPrefix("jca") - .withNextHop(Arrays.asList("irwcqzoofjnqjsv", "pfbhtleber", "yljeknfqnwjjqx")))) - .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("dnjrx") - .withNextHop(Arrays.asList("rhw", "ehycpn")), - new StaticRoutePatchProperties().withPrefix("wawonoehrguql") - .withNextHop(Arrays.asList("wafbjzmp", "rguyfa")), - new StaticRoutePatchProperties().withPrefix("bko") - .withNextHop(Arrays.asList("ygvthrmxkbcjw", "dxomrawppk", "boozflyacagaed")), - new StaticRoutePatchProperties().withPrefix("oiqclmgdtwgab") - .withNextHop(Arrays.asList("f", "uz"))))); + .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(104599977) + .withThreshold(1840962173) + .withIdleTimeExpiry(151077686)))) + .withNativeIpv6PrefixLimit( + new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( + new PrefixLimitPatchProperties().withMaximumRoutes(1093422687) + .withThreshold(575713175) + .withIdleTimeExpiry(1063121774), + new PrefixLimitPatchProperties().withMaximumRoutes(1850584063) + .withThreshold(949323558) + .withIdleTimeExpiry(470261023))))) + .withStaticRouteConfiguration(new ExternalNetworkStaticRoutePatchConfiguration() + .withBfdConfiguration( + new BfdPatchConfiguration().withIntervalInMilliSeconds(819698).withMultiplier(1650141631)) + .withIpv4Routes(Arrays.asList(new StaticRoutePatchProperties().withPrefix("hfixa") + .withNextHop(Arrays.asList("c", "lzjrmhpfy", "vyldqpzfzxsoxin", "nj")))) + .withIpv6Routes(Arrays.asList(new StaticRoutePatchProperties().withPrefix("drocqsxytq") + .withNextHop(Arrays.asList("cmiwdw", "svnmeylajamcajy"))))); model = BinaryData.fromObject(model).toObject(ExternalNetworkPatchProperties.class); - Assertions.assertEquals("otxjqfiafcnlrtbf", model.annotation()); - Assertions.assertEquals("zzcaoijolbuauk", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("eopex", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("xq", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("swyiljpibkgxyxy", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("xre", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("jdpdfhtwmmkfq", model.annotation()); + Assertions.assertEquals("iqulwwtrjmeq", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("hzokpoyuohue", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("na", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("hmpoe", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("glpwsa", model.exportRoutePolicy().exportIpv6RoutePolicyId()); Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("n", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("wytkujsqy", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("iwrycgnwplrrb", + Assertions.assertEquals("mxpezco", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("dcnwmywxfq", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("myzdpczaqpqi", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("tsbbibtic", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("bbewfcu", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("ppoxprcmv", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("jxdiikmoxrezsv", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("lrxikj", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("ywlunpipcwybs", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("ncnpat", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1723251022, model.optionAProperties().mtu()); - Assertions.assertEquals(1197765673, model.optionAProperties().vlanId()); - Assertions.assertEquals(3049731764529681661L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(2051992962, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(314441452, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("zwuge", model.optionAProperties().ingressAclId()); - Assertions.assertEquals("jfccylhtrht", model.optionAProperties().egressAclId()); + Assertions.assertEquals("samonat", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("lwsttxsrgxfqpan", + model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("yohzixyq", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("cqqqdseipn", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("wzxhrptyodlhkf", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("ltddsobjopnouh", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("ezkqxsalu", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1184431792, model.optionAProperties().mtu()); + Assertions.assertEquals(141399792, model.optionAProperties().vlanId()); + Assertions.assertEquals(2077921705395952844L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(1065975774, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1338220816, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("atm", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("c", model.optionAProperties().egressAclId()); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionAProperties().bmpConfiguration().configurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(351926206, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(104599977, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(2077004962, + Assertions.assertEquals(1840962173, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1784905229, + Assertions.assertEquals(151077686, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1650484560, + Assertions.assertEquals(1093422687, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1223455688, + Assertions.assertEquals(575713175, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(2006890038, + Assertions.assertEquals(1063121774, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(715641821, - model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(745319010, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("lokfpmijpdvzv", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("hwb", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("dnjrx", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("rhw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(819698, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1650141631, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("hfixa", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("c", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("drocqsxytq", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("cmiwdw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchTests.java index 950d5a64c91e1..82c06a6e63d1e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPatchTests.java @@ -29,175 +29,174 @@ public final class ExternalNetworkPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkPatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"d\",\"networkToNetworkInterconnectId\":\"fhtwmmkfqb\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ulwwtrjmeqkvyhz\",\"importIpv6RoutePolicyId\":\"poyu\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ensnaa\",\"exportIpv6RoutePolicyId\":\"hmpoe\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"s\",\"daxjsum\",\"pezco\",\"oyj\"],\"exportRouteTargets\":[\"qzwqdnxke\",\"dcnwmywxfq\",\"kvemyzdpczaqpqi\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"ptrwtxzuisamo\"],\"importIpv6RouteTargets\":[\"niz\"],\"exportIpv4RouteTargets\":[\"oqsqjghr\"],\"exportIpv6RouteTargets\":[\"splwsttxs\",\"gxfqpan\",\"ceov\",\"gzwhsxyrujmtik\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"ik\",\"primaryIpv6Prefix\":\"hzixyqhfnkvy\",\"secondaryIpv4Prefix\":\"qqdseipnquwzxhrp\",\"secondaryIpv6Prefix\":\"odlhkfktl\",\"mtu\":1261412863,\"vlanId\":2037435176,\"fabricASN\":4335612262612729235,\"peerASN\":1398888849700020431,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":256924676,\"multiplier\":854952123},\"ingressAclId\":\"xs\",\"egressAclId\":\"uzyigfcvcewbwqhd\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":561691289,\"threshold\":647871855,\"idleTimeExpiry\":1337130064},{\"maximumRoutes\":1279170591,\"threshold\":594666797,\"idleTimeExpiry\":104599977},{\"maximumRoutes\":1840962173,\"threshold\":151077686,\"idleTimeExpiry\":732183019}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":575713175,\"threshold\":1063121774,\"idleTimeExpiry\":1850584063},{\"maximumRoutes\":949323558,\"threshold\":470261023,\"idleTimeExpiry\":330357917},{\"maximumRoutes\":133722418,\"threshold\":819698,\"idleTimeExpiry\":1650141631},{\"maximumRoutes\":925818786,\"threshold\":487914766,\"idleTimeExpiry\":1211463960}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":121145405,\"multiplier\":1933000706},\"ipv4Routes\":[{\"prefix\":\"hp\",\"nextHop\":[\"wvyldqpzf\",\"xsoxi\",\"unjlzkdrocq\",\"xytqq\"]},{\"prefix\":\"cmiwdw\",\"nextHop\":[\"vn\",\"eylajamcajyhft\",\"zcrryklleynqa\",\"hkigglclwalhvub\"]}],\"ipv6Routes\":[{\"prefix\":\"phetxdqc\",\"nextHop\":[\"cta\",\"qzjval\"]},{\"prefix\":\"cx\",\"nextHop\":[\"biwksde\",\"yxsbfpz\",\"oikvntwcz\",\"zwushlcxpblal\"]},{\"prefix\":\"hezpfkissaidqzs\",\"nextHop\":[\"oqdsg\"]}]}}}") + "{\"properties\":{\"annotation\":\"ullc\",\"networkToNetworkInterconnectId\":\"qqzjkoxdu\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"mglrouigdm\",\"importIpv6RoutePolicyId\":\"vjqterdq\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"dydkghpcvrwqir\",\"exportIpv6RoutePolicyId\":\"ktyhhmvfxl\"},\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"dmkr\",\"wepgqvqokql\",\"jqgir\"],\"exportRouteTargets\":[\"lyvxchp\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"sf\",\"euhwwskn\"],\"importIpv6RouteTargets\":[\"zuzhasup\",\"lppdpgz\",\"zqazvb\",\"arkptgongruatsyi\"],\"exportIpv4RouteTargets\":[\"qheni\",\"beqngubabyjde\"],\"exportIpv6RouteTargets\":[\"cseydz\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"exmnv\",\"primaryIpv6Prefix\":\"muwrx\",\"secondaryIpv4Prefix\":\"iwm\",\"secondaryIpv6Prefix\":\"m\",\"mtu\":1383883418,\"vlanId\":1480620983,\"fabricASN\":5132223625790332079,\"peerASN\":4614832131552959752,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1082913469,\"multiplier\":2139024324},\"ingressAclId\":\"mhkdclacroczfm\",\"egressAclId\":\"erkeluxzsh\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1304969492,\"threshold\":640346902,\"idleTimeExpiry\":321617136}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1985676492,\"threshold\":982321665,\"idleTimeExpiry\":2017356285},{\"maximumRoutes\":223593641,\"threshold\":1114657852,\"idleTimeExpiry\":1663628881},{\"maximumRoutes\":491396027,\"threshold\":977354992,\"idleTimeExpiry\":30369579},{\"maximumRoutes\":1645504200,\"threshold\":1155984734,\"idleTimeExpiry\":1521819302}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1865695132,\"multiplier\":136390078},\"ipv4Routes\":[{\"prefix\":\"wuzvcmcokxize\",\"nextHop\":[\"vfrjwu\"]},{\"prefix\":\"aonzvaj\",\"nextHop\":[\"bnkrdemdidack\",\"idgzwdydamis\",\"pztdivyk\",\"xkqejtpjfojiunr\"]},{\"prefix\":\"shxuknsykdtoi\",\"nextHop\":[\"ancdrc\",\"anvxuldxonckb\"]}],\"ipv6Routes\":[{\"prefix\":\"lfxlupibaqzizxzp\",\"nextHop\":[\"eghlw\",\"bogvgfklqiy\",\"dve\",\"elsbfvd\"]},{\"prefix\":\"trkzxsgtznsvlrds\",\"nextHop\":[\"vpimyndnoxa\"]},{\"prefix\":\"nrqa\",\"nextHop\":[\"tnndxolousdvr\"]},{\"prefix\":\"ptqmawzjdrpiz\",\"nextHop\":[\"l\",\"yctsdbtqgkuj\",\"sooxrqw\",\"eurbtigapdyarik\"]}]}}}") .toObject(ExternalNetworkPatch.class); - Assertions.assertEquals("d", model.annotation()); - Assertions.assertEquals("fhtwmmkfqb", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("ulwwtrjmeqkvyhz", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("poyu", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("ensnaa", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hmpoe", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("s", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("qzwqdnxke", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("ptrwtxzuisamo", - model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("niz", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("oqsqjghr", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("splwsttxs", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("ik", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("hzixyqhfnkvy", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("qqdseipnquwzxhrp", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("odlhkfktl", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1261412863, model.optionAProperties().mtu()); - Assertions.assertEquals(2037435176, model.optionAProperties().vlanId()); - Assertions.assertEquals(1398888849700020431L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(256924676, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(854952123, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("xs", model.optionAProperties().ingressAclId()); - Assertions.assertEquals("uzyigfcvcewbwqhd", model.optionAProperties().egressAclId()); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals("ullc", model.annotation()); + Assertions.assertEquals("qqzjkoxdu", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("mglrouigdm", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("vjqterdq", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("dydkghpcvrwqir", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("ktyhhmvfxl", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); + Assertions.assertEquals("dmkr", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("lyvxchp", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("sf", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("zuzhasup", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("qheni", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("cseydz", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("exmnv", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("muwrx", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("iwm", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("m", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1383883418, model.optionAProperties().mtu()); + Assertions.assertEquals(1480620983, model.optionAProperties().vlanId()); + Assertions.assertEquals(4614832131552959752L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(1082913469, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2139024324, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("mhkdclacroczfm", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("erkeluxzsh", model.optionAProperties().egressAclId()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(561691289, + Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(1304969492, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(647871855, + Assertions.assertEquals(640346902, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1337130064, + Assertions.assertEquals(321617136, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(575713175, + Assertions.assertEquals(1985676492, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1063121774, + Assertions.assertEquals(982321665, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1850584063, + Assertions.assertEquals(2017356285, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(121145405, + Assertions.assertEquals(1865695132, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1933000706, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("hp", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("wvyldqpzf", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("phetxdqc", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("cta", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(136390078, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("wuzvcmcokxize", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vfrjwu", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("lfxlupibaqzizxzp", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("eghlw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExternalNetworkPatch model = new ExternalNetworkPatch().withAnnotation("d") - .withNetworkToNetworkInterconnectId("fhtwmmkfqb") - .withImportRoutePolicy(new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId("ulwwtrjmeqkvyhz") - .withImportIpv6RoutePolicyId("poyu")) - .withExportRoutePolicy( - new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("ensnaa").withExportIpv6RoutePolicyId("hmpoe")) - .withPeeringOption(PeeringOption.OPTIONA) - .withOptionBProperties( - new L3OptionBPatchProperties().withImportRouteTargets(Arrays.asList("s", "daxjsum", "pezco", "oyj")) - .withExportRouteTargets(Arrays.asList("qzwqdnxke", "dcnwmywxfq", "kvemyzdpczaqpqi")) + ExternalNetworkPatch model + = new ExternalNetworkPatch().withAnnotation("ullc") + .withNetworkToNetworkInterconnectId("qqzjkoxdu") + .withImportRoutePolicy(new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId("mglrouigdm") + .withImportIpv6RoutePolicyId("vjqterdq")) + .withExportRoutePolicy(new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("dydkghpcvrwqir") + .withExportIpv6RoutePolicyId("ktyhhmvfxl")) + .withPeeringOption(PeeringOption.OPTIONB) + .withOptionBProperties(new L3OptionBPatchProperties() + .withImportRouteTargets(Arrays.asList("dmkr", "wepgqvqokql", "jqgir")) + .withExportRouteTargets(Arrays.asList("lyvxchp")) .withRouteTargets(new RouteTargetPatchInformation() - .withImportIpv4RouteTargets(Arrays.asList("ptrwtxzuisamo")) - .withImportIpv6RouteTargets(Arrays.asList("niz")) - .withExportIpv4RouteTargets(Arrays.asList("oqsqjghr")) - .withExportIpv6RouteTargets(Arrays.asList("splwsttxs", "gxfqpan", "ceov", "gzwhsxyrujmtik")))) - .withOptionAProperties(new ExternalNetworkPatchPropertiesOptionAProperties().withPrimaryIpv4Prefix("ik") - .withPrimaryIpv6Prefix("hzixyqhfnkvy") - .withSecondaryIpv4Prefix("qqdseipnquwzxhrp") - .withSecondaryIpv6Prefix("odlhkfktl") - .withMtu(1261412863) - .withVlanId(2037435176) - .withPeerAsn(1398888849700020431L) - .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(256924676).withMultiplier(854952123)) - .withIngressAclId("xs") - .withEgressAclId("uzyigfcvcewbwqhd") - .withBmpConfiguration( - new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(561691289) - .withThreshold(647871855) - .withIdleTimeExpiry(1337130064), - new PrefixLimitPatchProperties().withMaximumRoutes(1279170591) - .withThreshold(594666797) - .withIdleTimeExpiry(104599977), - new PrefixLimitPatchProperties().withMaximumRoutes(1840962173) - .withThreshold(151077686) - .withIdleTimeExpiry(732183019)))) - .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(575713175) - .withThreshold(1063121774) - .withIdleTimeExpiry(1850584063), - new PrefixLimitPatchProperties().withMaximumRoutes(949323558) - .withThreshold(470261023) - .withIdleTimeExpiry(330357917), - new PrefixLimitPatchProperties().withMaximumRoutes(133722418) - .withThreshold(819698) - .withIdleTimeExpiry(1650141631), - new PrefixLimitPatchProperties().withMaximumRoutes(925818786) - .withThreshold(487914766) - .withIdleTimeExpiry(1211463960))))) - .withStaticRouteConfiguration(new ExternalNetworkStaticRoutePatchConfiguration() - .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(121145405).withMultiplier(1933000706)) - .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("hp") - .withNextHop(Arrays.asList("wvyldqpzf", "xsoxi", "unjlzkdrocq", "xytqq")), - new StaticRoutePatchProperties().withPrefix("cmiwdw") - .withNextHop(Arrays.asList("vn", "eylajamcajyhft", "zcrryklleynqa", "hkigglclwalhvub")))) - .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("phetxdqc").withNextHop(Arrays.asList("cta", "qzjval")), - new StaticRoutePatchProperties().withPrefix("cx") - .withNextHop(Arrays.asList("biwksde", "yxsbfpz", "oikvntwcz", "zwushlcxpblal")), - new StaticRoutePatchProperties().withPrefix("hezpfkissaidqzs") - .withNextHop(Arrays.asList("oqdsg"))))); + .withImportIpv4RouteTargets(Arrays.asList("sf", "euhwwskn")) + .withImportIpv6RouteTargets(Arrays.asList("zuzhasup", "lppdpgz", "zqazvb", "arkptgongruatsyi")) + .withExportIpv4RouteTargets(Arrays.asList("qheni", "beqngubabyjde")) + .withExportIpv6RouteTargets(Arrays.asList("cseydz")))) + .withOptionAProperties(new ExternalNetworkPatchPropertiesOptionAProperties() + .withPrimaryIpv4Prefix("exmnv") + .withPrimaryIpv6Prefix("muwrx") + .withSecondaryIpv4Prefix("iwm") + .withSecondaryIpv6Prefix("m") + .withMtu(1383883418) + .withVlanId(1480620983) + .withPeerAsn(4614832131552959752L) + .withBfdConfiguration( + new BfdPatchConfiguration().withIntervalInMilliSeconds(1082913469).withMultiplier(2139024324)) + .withIngressAclId("mhkdclacroczfm") + .withEgressAclId("erkeluxzsh") + .withBmpConfiguration( + new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED)) + .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) + .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(1304969492) + .withThreshold(640346902) + .withIdleTimeExpiry(321617136)))) + .withNativeIpv6PrefixLimit( + new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( + new PrefixLimitPatchProperties().withMaximumRoutes(1985676492) + .withThreshold(982321665) + .withIdleTimeExpiry(2017356285), + new PrefixLimitPatchProperties().withMaximumRoutes(223593641) + .withThreshold(1114657852) + .withIdleTimeExpiry(1663628881), + new PrefixLimitPatchProperties().withMaximumRoutes(491396027) + .withThreshold(977354992) + .withIdleTimeExpiry(30369579), + new PrefixLimitPatchProperties().withMaximumRoutes(1645504200) + .withThreshold(1155984734) + .withIdleTimeExpiry(1521819302))))) + .withStaticRouteConfiguration(new ExternalNetworkStaticRoutePatchConfiguration() + .withBfdConfiguration( + new BfdPatchConfiguration().withIntervalInMilliSeconds(1865695132).withMultiplier(136390078)) + .withIpv4Routes(Arrays.asList( + new StaticRoutePatchProperties().withPrefix("wuzvcmcokxize") + .withNextHop(Arrays.asList("vfrjwu")), + new StaticRoutePatchProperties().withPrefix("aonzvaj") + .withNextHop(Arrays.asList("bnkrdemdidack", "idgzwdydamis", "pztdivyk", "xkqejtpjfojiunr")), + new StaticRoutePatchProperties().withPrefix("shxuknsykdtoi") + .withNextHop(Arrays.asList("ancdrc", "anvxuldxonckb")))) + .withIpv6Routes(Arrays.asList( + new StaticRoutePatchProperties().withPrefix("lfxlupibaqzizxzp") + .withNextHop(Arrays.asList("eghlw", "bogvgfklqiy", "dve", "elsbfvd")), + new StaticRoutePatchProperties().withPrefix("trkzxsgtznsvlrds") + .withNextHop(Arrays.asList("vpimyndnoxa")), + new StaticRoutePatchProperties().withPrefix("nrqa").withNextHop(Arrays.asList("tnndxolousdvr")), + new StaticRoutePatchProperties().withPrefix("ptqmawzjdrpiz") + .withNextHop(Arrays.asList("l", "yctsdbtqgkuj", "sooxrqw", "eurbtigapdyarik"))))); model = BinaryData.fromObject(model).toObject(ExternalNetworkPatch.class); - Assertions.assertEquals("d", model.annotation()); - Assertions.assertEquals("fhtwmmkfqb", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("ulwwtrjmeqkvyhz", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("poyu", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("ensnaa", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hmpoe", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("s", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("qzwqdnxke", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("ptrwtxzuisamo", - model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("niz", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("oqsqjghr", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("splwsttxs", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("ik", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("hzixyqhfnkvy", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("qqdseipnquwzxhrp", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("odlhkfktl", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1261412863, model.optionAProperties().mtu()); - Assertions.assertEquals(2037435176, model.optionAProperties().vlanId()); - Assertions.assertEquals(1398888849700020431L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(256924676, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(854952123, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("xs", model.optionAProperties().ingressAclId()); - Assertions.assertEquals("uzyigfcvcewbwqhd", model.optionAProperties().egressAclId()); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals("ullc", model.annotation()); + Assertions.assertEquals("qqzjkoxdu", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("mglrouigdm", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("vjqterdq", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("dydkghpcvrwqir", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("ktyhhmvfxl", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); + Assertions.assertEquals("dmkr", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("lyvxchp", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("sf", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("zuzhasup", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("qheni", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("cseydz", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("exmnv", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("muwrx", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("iwm", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("m", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1383883418, model.optionAProperties().mtu()); + Assertions.assertEquals(1480620983, model.optionAProperties().vlanId()); + Assertions.assertEquals(4614832131552959752L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(1082913469, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2139024324, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("mhkdclacroczfm", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("erkeluxzsh", model.optionAProperties().egressAclId()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(561691289, + Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(1304969492, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(647871855, + Assertions.assertEquals(640346902, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1337130064, + Assertions.assertEquals(321617136, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(575713175, + Assertions.assertEquals(1985676492, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1063121774, + Assertions.assertEquals(982321665, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1850584063, + Assertions.assertEquals(2017356285, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(121145405, + Assertions.assertEquals(1865695132, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1933000706, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("hp", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("wvyldqpzf", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("phetxdqc", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("cta", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(136390078, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("wuzvcmcokxize", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vfrjwu", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("lfxlupibaqzizxzp", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("eghlw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesOptionAPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesOptionAPropertiesTests.java index 421d459866f13..c0ed01b38d861 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesOptionAPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesOptionAPropertiesTests.java @@ -21,85 +21,85 @@ public final class ExternalNetworkPropertiesOptionAPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkPropertiesOptionAProperties model = BinaryData.fromString( - "{\"primaryIpv4Prefix\":\"ydzjemexm\",\"primaryIpv6Prefix\":\"kvmuwrxlniwmcp\",\"secondaryIpv4Prefix\":\"rdlhvdvmiphbe\",\"secondaryIpv6Prefix\":\"qjzmhkdcl\",\"mtu\":507684976,\"vlanId\":20410294,\"fabricASN\":3847055497241371094,\"peerASN\":2720856075553187388,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":704383521,\"multiplier\":1874398522},\"ingressAclId\":\"zshxzezbzuz\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"zskejcgwfsgqksty\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":600126050,\"threshold\":924390231,\"idleTimeExpiry\":429677405},{\"maximumRoutes\":573150513,\"threshold\":296798924,\"idleTimeExpiry\":125497840}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":715794491,\"threshold\":1940454197,\"idleTimeExpiry\":897664975},{\"maximumRoutes\":476298609,\"threshold\":1723389232,\"idleTimeExpiry\":1864953529},{\"maximumRoutes\":1024295028,\"threshold\":1998262457,\"idleTimeExpiry\":1418765388}]}}") + "{\"primaryIpv4Prefix\":\"adpcmhjhausy\",\"primaryIpv6Prefix\":\"ekymffztsilscvqs\",\"secondaryIpv4Prefix\":\"iihfymkoui\",\"secondaryIpv6Prefix\":\"eseuugci\",\"mtu\":793960362,\"vlanId\":524284271,\"fabricASN\":3222228775173427597,\"peerASN\":4574161891364603632,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":287713019,\"multiplier\":551355931},\"ingressAclId\":\"ebjnf\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"btvkbi\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":655409940,\"threshold\":977950573,\"idleTimeExpiry\":393368585},{\"maximumRoutes\":1330491828,\"threshold\":1415375083,\"idleTimeExpiry\":1908555069},{\"maximumRoutes\":1520720212,\"threshold\":1444212135,\"idleTimeExpiry\":1385585116}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":675783902,\"threshold\":1353152317,\"idleTimeExpiry\":2121540828},{\"maximumRoutes\":1487417947,\"threshold\":845084959,\"idleTimeExpiry\":1501704223}]}}") .toObject(ExternalNetworkPropertiesOptionAProperties.class); - Assertions.assertEquals("ydzjemexm", model.primaryIpv4Prefix()); - Assertions.assertEquals("kvmuwrxlniwmcp", model.primaryIpv6Prefix()); - Assertions.assertEquals("rdlhvdvmiphbe", model.secondaryIpv4Prefix()); - Assertions.assertEquals("qjzmhkdcl", model.secondaryIpv6Prefix()); - Assertions.assertEquals(507684976, model.mtu()); - Assertions.assertEquals(20410294, model.vlanId()); - Assertions.assertEquals(2720856075553187388L, model.peerAsn()); - Assertions.assertEquals(704383521, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1874398522, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("zshxzezbzuz", model.ingressAclId()); + Assertions.assertEquals("adpcmhjhausy", model.primaryIpv4Prefix()); + Assertions.assertEquals("ekymffztsilscvqs", model.primaryIpv6Prefix()); + Assertions.assertEquals("iihfymkoui", model.secondaryIpv4Prefix()); + Assertions.assertEquals("eseuugci", model.secondaryIpv6Prefix()); + Assertions.assertEquals(793960362, model.mtu()); + Assertions.assertEquals(524284271, model.vlanId()); + Assertions.assertEquals(4574161891364603632L, model.peerAsn()); + Assertions.assertEquals(287713019, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(551355931, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("ebjnf", model.ingressAclId()); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals("zskejcgwfsgqksty", model.egressAclId()); + Assertions.assertEquals("btvkbi", model.egressAclId()); Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.v6OverV4BgpSession()); - Assertions.assertEquals(600126050, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(924390231, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(429677405, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(715794491, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1940454197, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(897664975, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(655409940, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(977950573, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(393368585, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(675783902, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1353152317, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(2121540828, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExternalNetworkPropertiesOptionAProperties model - = new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("ydzjemexm") - .withPrimaryIpv6Prefix("kvmuwrxlniwmcp") - .withSecondaryIpv4Prefix("rdlhvdvmiphbe") - .withSecondaryIpv6Prefix("qjzmhkdcl") - .withMtu(507684976) - .withVlanId(20410294) - .withPeerAsn(2720856075553187388L) + = new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("adpcmhjhausy") + .withPrimaryIpv6Prefix("ekymffztsilscvqs") + .withSecondaryIpv4Prefix("iihfymkoui") + .withSecondaryIpv6Prefix("eseuugci") + .withMtu(793960362) + .withVlanId(524284271) + .withPeerAsn(4574161891364603632L) .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(704383521).withMultiplier(1874398522)) - .withIngressAclId("zshxzezbzuz") + new BfdConfiguration().withIntervalInMilliSeconds(287713019).withMultiplier(551355931)) + .withIngressAclId("ebjnf") .withBmpConfiguration( new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withEgressAclId("zskejcgwfsgqksty") + .withEgressAclId("btvkbi") .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(600126050) - .withThreshold(924390231) - .withIdleTimeExpiry(429677405), - new PrefixLimitProperties().withMaximumRoutes(573150513) - .withThreshold(296798924) - .withIdleTimeExpiry(125497840)))) + new PrefixLimitProperties().withMaximumRoutes(655409940) + .withThreshold(977950573) + .withIdleTimeExpiry(393368585), + new PrefixLimitProperties().withMaximumRoutes(1330491828) + .withThreshold(1415375083) + .withIdleTimeExpiry(1908555069), + new PrefixLimitProperties().withMaximumRoutes(1520720212) + .withThreshold(1444212135) + .withIdleTimeExpiry(1385585116)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(715794491) - .withThreshold(1940454197) - .withIdleTimeExpiry(897664975), - new PrefixLimitProperties().withMaximumRoutes(476298609) - .withThreshold(1723389232) - .withIdleTimeExpiry(1864953529), - new PrefixLimitProperties().withMaximumRoutes(1024295028) - .withThreshold(1998262457) - .withIdleTimeExpiry(1418765388)))); + new PrefixLimitProperties().withMaximumRoutes(675783902) + .withThreshold(1353152317) + .withIdleTimeExpiry(2121540828), + new PrefixLimitProperties().withMaximumRoutes(1487417947) + .withThreshold(845084959) + .withIdleTimeExpiry(1501704223)))); model = BinaryData.fromObject(model).toObject(ExternalNetworkPropertiesOptionAProperties.class); - Assertions.assertEquals("ydzjemexm", model.primaryIpv4Prefix()); - Assertions.assertEquals("kvmuwrxlniwmcp", model.primaryIpv6Prefix()); - Assertions.assertEquals("rdlhvdvmiphbe", model.secondaryIpv4Prefix()); - Assertions.assertEquals("qjzmhkdcl", model.secondaryIpv6Prefix()); - Assertions.assertEquals(507684976, model.mtu()); - Assertions.assertEquals(20410294, model.vlanId()); - Assertions.assertEquals(2720856075553187388L, model.peerAsn()); - Assertions.assertEquals(704383521, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1874398522, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("zshxzezbzuz", model.ingressAclId()); + Assertions.assertEquals("adpcmhjhausy", model.primaryIpv4Prefix()); + Assertions.assertEquals("ekymffztsilscvqs", model.primaryIpv6Prefix()); + Assertions.assertEquals("iihfymkoui", model.secondaryIpv4Prefix()); + Assertions.assertEquals("eseuugci", model.secondaryIpv6Prefix()); + Assertions.assertEquals(793960362, model.mtu()); + Assertions.assertEquals(524284271, model.vlanId()); + Assertions.assertEquals(4574161891364603632L, model.peerAsn()); + Assertions.assertEquals(287713019, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(551355931, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("ebjnf", model.ingressAclId()); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals("zskejcgwfsgqksty", model.egressAclId()); + Assertions.assertEquals("btvkbi", model.egressAclId()); Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.v6OverV4BgpSession()); - Assertions.assertEquals(600126050, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(924390231, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(429677405, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(715794491, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1940454197, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(897664975, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(655409940, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(977950573, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(393368585, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(675783902, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1353152317, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(2121540828, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesTests.java index fe4a14016e2ac..cad13f2e18739 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkPropertiesTests.java @@ -29,170 +29,169 @@ public final class ExternalNetworkPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkProperties model = BinaryData.fromString( - "{\"annotation\":\"fpcfjf\",\"networkToNetworkInterconnectId\":\"lgzawkgyepeyamnn\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"diawpzxkzr\",\"importIpv6RoutePolicyId\":\"mkctdhuo\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"qp\",\"exportIpv6RoutePolicyId\":\"azihq\"},\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"cnbhcb\",\"jkz\",\"ibniynts\"],\"exportRouteTargets\":[\"fmeftvhk\",\"o\",\"gjrhs\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"mjgrulcfog\",\"hcxnwjtpfdzxco\"],\"importIpv6RouteTargets\":[\"wofw\",\"k\",\"kzkdtzxsoednlwg\",\"ihezomucmq\"],\"exportIpv4RouteTargets\":[\"nione\"],\"exportIpv6RouteTargets\":[\"dr\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"enx\",\"primaryIpv6Prefix\":\"tlzlmtrlxcznnhz\",\"secondaryIpv4Prefix\":\"nbmxlx\",\"secondaryIpv6Prefix\":\"tygeqzus\",\"mtu\":1102100934,\"vlanId\":1377733869,\"fabricASN\":6819072177087454892,\"peerASN\":4845256469714039443,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1957504225,\"multiplier\":127365455},\"ingressAclId\":\"srfwsszvlcwl\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"egressAclId\":\"tfx\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":690611810,\"threshold\":1996694399,\"idleTimeExpiry\":1847045848},{\"maximumRoutes\":778853988,\"threshold\":138535148,\"idleTimeExpiry\":762861570},{\"maximumRoutes\":2040101098,\"threshold\":525661033,\"idleTimeExpiry\":1165412558},{\"maximumRoutes\":2015574706,\"threshold\":762009663,\"idleTimeExpiry\":625721867}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":105088450,\"threshold\":1879229555,\"idleTimeExpiry\":1592630526},{\"maximumRoutes\":1813490866,\"threshold\":190480311,\"idleTimeExpiry\":1964281386},{\"maximumRoutes\":989738375,\"threshold\":1413350908,\"idleTimeExpiry\":2048780189}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1648037202,\"multiplier\":1932822411},\"ipv4Routes\":[{\"prefix\":\"c\",\"nextHop\":[\"tfshksnyzm\",\"pamwbw\",\"bnl\",\"lcefiqdktw\"]}],\"ipv6Routes\":[{\"prefix\":\"ih\",\"nextHop\":[\"fliwoynguuzhwvl\",\"dpcmhjh\"]},{\"prefix\":\"usybke\",\"nextHop\":[\"m\"]}]},\"lastOperation\":{\"details\":\"tsilscvqsyei\"},\"networkFabricId\":\"fymkouih\",\"configurationState\":\"Provisioned\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"UnderMaintenance\"}") + "{\"annotation\":\"hraxquddrwjcl\",\"networkToNetworkInterconnectId\":\"rhlhpvzadbwenni\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"h\",\"importIpv6RoutePolicyId\":\"zfrm\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"iucwv\",\"exportIpv6RoutePolicyId\":\"llukhkrcqxgcbvz\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"bpoksts\",\"nvago\",\"jyhdrxb\",\"dvcehqw\"],\"exportRouteTargets\":[\"xnmxgnmguzb\",\"wvor\",\"alkj\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"dhlltqstqkqsyg\",\"iynecovagz\"],\"importIpv6RouteTargets\":[\"ubanlxunpq\",\"ckqiawzlzk\",\"aslgacizuxlrarwp\",\"wsaudoejtighsxj\"],\"exportIpv4RouteTargets\":[\"nkqb\",\"lahovuuwx\"],\"exportIpv6RouteTargets\":[\"hjnhjiot\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"bbcngkeg\",\"primaryIpv6Prefix\":\"y\",\"secondaryIpv4Prefix\":\"bb\",\"secondaryIpv6Prefix\":\"twilyrzoxp\",\"mtu\":711714374,\"vlanId\":601671597,\"fabricASN\":573885676723302467,\"peerASN\":389906476704828002,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":338643261,\"multiplier\":1490254156},\"ingressAclId\":\"ewnahwkxjjmzt\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"egressAclId\":\"odtmvecdhdyswc\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":624181894,\"threshold\":1922152510,\"idleTimeExpiry\":617656065}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1875099939,\"threshold\":942408888,\"idleTimeExpiry\":963908723},{\"maximumRoutes\":755986969,\"threshold\":924428307,\"idleTimeExpiry\":817878711},{\"maximumRoutes\":1146894752,\"threshold\":1847694071,\"idleTimeExpiry\":346477478}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":2039281968,\"multiplier\":227006531},\"ipv4Routes\":[{\"prefix\":\"ixcnpcf\",\"nextHop\":[\"kpyyc\",\"awmpjprd\",\"wrpcfpcfjfwzlgza\"]},{\"prefix\":\"kgyepe\",\"nextHop\":[\"mnnidmdia\",\"pzxkzrntmkct\"]},{\"prefix\":\"huosgwqpsqaz\",\"nextHop\":[\"qodvqgcnbhcbmj\",\"ztibniyntsxjmfm\"]},{\"prefix\":\"ftvhkmoogj\",\"nextHop\":[\"skbwgm\"]}],\"ipv6Routes\":[{\"prefix\":\"u\",\"nextHop\":[\"fogxhcxnw\",\"tpfdzxcouzfwofwa\",\"ukz\"]},{\"prefix\":\"dtzxsoe\",\"nextHop\":[\"lwglihezomucmqg\",\"snio\",\"etbzdrdpuenxkgtl\",\"lmtrlxcznnhz\"]}]},\"lastOperation\":{\"details\":\"bmxlxm\"},\"networkFabricId\":\"ygeqzusito\",\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"}") .toObject(ExternalNetworkProperties.class); - Assertions.assertEquals("fpcfjf", model.annotation()); - Assertions.assertEquals("lgzawkgyepeyamnn", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("diawpzxkzr", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("mkctdhuo", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("qp", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("azihq", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); - Assertions.assertEquals("cnbhcb", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("fmeftvhk", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("mjgrulcfog", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("wofw", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("nione", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("dr", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("enx", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("tlzlmtrlxcznnhz", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("nbmxlx", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("tygeqzus", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1102100934, model.optionAProperties().mtu()); - Assertions.assertEquals(1377733869, model.optionAProperties().vlanId()); - Assertions.assertEquals(4845256469714039443L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(1957504225, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(127365455, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("srfwsszvlcwl", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("hraxquddrwjcl", model.annotation()); + Assertions.assertEquals("rhlhpvzadbwenni", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("h", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("zfrm", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("iucwv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("llukhkrcqxgcbvz", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); + Assertions.assertEquals("bpoksts", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("xnmxgnmguzb", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("dhlltqstqkqsyg", + model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("ubanlxunpq", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("nkqb", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("hjnhjiot", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("bbcngkeg", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("y", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("bb", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("twilyrzoxp", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(711714374, model.optionAProperties().mtu()); + Assertions.assertEquals(601671597, model.optionAProperties().vlanId()); + Assertions.assertEquals(389906476704828002L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(338643261, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1490254156, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("ewnahwkxjjmzt", model.optionAProperties().ingressAclId()); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("tfx", model.optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(690611810, + Assertions.assertEquals("odtmvecdhdyswc", model.optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(624181894, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1996694399, + Assertions.assertEquals(1922152510, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1847045848, + Assertions.assertEquals(617656065, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(105088450, + Assertions.assertEquals(1875099939, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1879229555, + Assertions.assertEquals(942408888, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1592630526, + Assertions.assertEquals(963908723, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1648037202, + Assertions.assertEquals(2039281968, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1932822411, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("c", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("tfshksnyzm", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ih", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("fliwoynguuzhwvl", - model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(227006531, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("ixcnpcf", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("kpyyc", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("u", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fogxhcxnw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExternalNetworkProperties model = new ExternalNetworkProperties().withAnnotation("fpcfjf") - .withNetworkToNetworkInterconnectId("lgzawkgyepeyamnn") - .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("diawpzxkzr") - .withImportIpv6RoutePolicyId("mkctdhuo")) - .withExportRoutePolicy( - new ExportRoutePolicy().withExportIpv4RoutePolicyId("qp").withExportIpv6RoutePolicyId("azihq")) - .withPeeringOption(PeeringOption.OPTIONB) - .withOptionBProperties( - new L3OptionBProperties().withImportRouteTargets(Arrays.asList("cnbhcb", "jkz", "ibniynts")) - .withExportRouteTargets(Arrays.asList("fmeftvhk", "o", "gjrhs")) - .withRouteTargets(new RouteTargetInformation() - .withImportIpv4RouteTargets(Arrays.asList("mjgrulcfog", "hcxnwjtpfdzxco")) - .withImportIpv6RouteTargets(Arrays.asList("wofw", "k", "kzkdtzxsoednlwg", "ihezomucmq")) - .withExportIpv4RouteTargets(Arrays.asList("nione")) - .withExportIpv6RouteTargets(Arrays.asList("dr")))) - .withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("enx") - .withPrimaryIpv6Prefix("tlzlmtrlxcznnhz") - .withSecondaryIpv4Prefix("nbmxlx") - .withSecondaryIpv6Prefix("tygeqzus") - .withMtu(1102100934) - .withVlanId(1377733869) - .withPeerAsn(4845256469714039443L) + ExternalNetworkProperties model = new ExternalNetworkProperties().withAnnotation("hraxquddrwjcl") + .withNetworkToNetworkInterconnectId("rhlhpvzadbwenni") + .withImportRoutePolicy( + new ImportRoutePolicy().withImportIpv4RoutePolicyId("h").withImportIpv6RoutePolicyId("zfrm")) + .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("iucwv") + .withExportIpv6RoutePolicyId("llukhkrcqxgcbvz")) + .withPeeringOption(PeeringOption.OPTIONA) + .withOptionBProperties(new L3OptionBProperties() + .withImportRouteTargets(Arrays.asList("bpoksts", "nvago", "jyhdrxb", "dvcehqw")) + .withExportRouteTargets(Arrays.asList("xnmxgnmguzb", "wvor", "alkj")) + .withRouteTargets(new RouteTargetInformation() + .withImportIpv4RouteTargets(Arrays.asList("dhlltqstqkqsyg", "iynecovagz")) + .withImportIpv6RouteTargets( + Arrays.asList("ubanlxunpq", "ckqiawzlzk", "aslgacizuxlrarwp", "wsaudoejtighsxj")) + .withExportIpv4RouteTargets(Arrays.asList("nkqb", "lahovuuwx")) + .withExportIpv6RouteTargets(Arrays.asList("hjnhjiot")))) + .withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("bbcngkeg") + .withPrimaryIpv6Prefix("y") + .withSecondaryIpv4Prefix("bb") + .withSecondaryIpv6Prefix("twilyrzoxp") + .withMtu(711714374) + .withVlanId(601671597) + .withPeerAsn(389906476704828002L) .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1957504225).withMultiplier(127365455)) - .withIngressAclId("srfwsszvlcwl") + new BfdConfiguration().withIntervalInMilliSeconds(338643261).withMultiplier(1490254156)) + .withIngressAclId("ewnahwkxjjmzt") .withBmpConfiguration( new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.DISABLED)) - .withEgressAclId("tfx") - .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(690611810) - .withThreshold(1996694399) - .withIdleTimeExpiry(1847045848), - new PrefixLimitProperties().withMaximumRoutes(778853988) - .withThreshold(138535148) - .withIdleTimeExpiry(762861570), - new PrefixLimitProperties().withMaximumRoutes(2040101098) - .withThreshold(525661033) - .withIdleTimeExpiry(1165412558), - new PrefixLimitProperties().withMaximumRoutes(2015574706) - .withThreshold(762009663) - .withIdleTimeExpiry(625721867)))) + .withEgressAclId("odtmvecdhdyswc") + .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED) + .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(624181894) + .withThreshold(1922152510) + .withIdleTimeExpiry(617656065)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(105088450) - .withThreshold(1879229555) - .withIdleTimeExpiry(1592630526), - new PrefixLimitProperties().withMaximumRoutes(1813490866) - .withThreshold(190480311) - .withIdleTimeExpiry(1964281386), - new PrefixLimitProperties().withMaximumRoutes(989738375) - .withThreshold(1413350908) - .withIdleTimeExpiry(2048780189))))) + new PrefixLimitProperties().withMaximumRoutes(1875099939) + .withThreshold(942408888) + .withIdleTimeExpiry(963908723), + new PrefixLimitProperties().withMaximumRoutes(755986969) + .withThreshold(924428307) + .withIdleTimeExpiry(817878711), + new PrefixLimitProperties().withMaximumRoutes(1146894752) + .withThreshold(1847694071) + .withIdleTimeExpiry(346477478))))) .withStaticRouteConfiguration(new ExternalNetworkStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1648037202).withMultiplier(1932822411)) - .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("c") - .withNextHop(Arrays.asList("tfshksnyzm", "pamwbw", "bnl", "lcefiqdktw")))) + new BfdConfiguration().withIntervalInMilliSeconds(2039281968).withMultiplier(227006531)) + .withIpv4Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("ixcnpcf") + .withNextHop(Arrays.asList("kpyyc", "awmpjprd", "wrpcfpcfjfwzlgza")), + new StaticRouteProperties().withPrefix("kgyepe") + .withNextHop(Arrays.asList("mnnidmdia", "pzxkzrntmkct")), + new StaticRouteProperties().withPrefix("huosgwqpsqaz") + .withNextHop(Arrays.asList("qodvqgcnbhcbmj", "ztibniyntsxjmfm")), + new StaticRouteProperties().withPrefix("ftvhkmoogj").withNextHop(Arrays.asList("skbwgm")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("ih") - .withNextHop(Arrays.asList("fliwoynguuzhwvl", "dpcmhjh")), - new StaticRouteProperties().withPrefix("usybke").withNextHop(Arrays.asList("m"))))); + new StaticRouteProperties().withPrefix("u") + .withNextHop(Arrays.asList("fogxhcxnw", "tpfdzxcouzfwofwa", "ukz")), + new StaticRouteProperties().withPrefix("dtzxsoe") + .withNextHop(Arrays.asList("lwglihezomucmqg", "snio", "etbzdrdpuenxkgtl", "lmtrlxcznnhz"))))); model = BinaryData.fromObject(model).toObject(ExternalNetworkProperties.class); - Assertions.assertEquals("fpcfjf", model.annotation()); - Assertions.assertEquals("lgzawkgyepeyamnn", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("diawpzxkzr", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("mkctdhuo", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("qp", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("azihq", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); - Assertions.assertEquals("cnbhcb", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("fmeftvhk", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("mjgrulcfog", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("wofw", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("nione", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("dr", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("enx", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("tlzlmtrlxcznnhz", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("nbmxlx", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("tygeqzus", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1102100934, model.optionAProperties().mtu()); - Assertions.assertEquals(1377733869, model.optionAProperties().vlanId()); - Assertions.assertEquals(4845256469714039443L, model.optionAProperties().peerAsn()); - Assertions.assertEquals(1957504225, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(127365455, model.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("srfwsszvlcwl", model.optionAProperties().ingressAclId()); + Assertions.assertEquals("hraxquddrwjcl", model.annotation()); + Assertions.assertEquals("rhlhpvzadbwenni", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("h", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("zfrm", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("iucwv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("llukhkrcqxgcbvz", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); + Assertions.assertEquals("bpoksts", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("xnmxgnmguzb", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("dhlltqstqkqsyg", + model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("ubanlxunpq", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("nkqb", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("hjnhjiot", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("bbcngkeg", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("y", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("bb", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("twilyrzoxp", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(711714374, model.optionAProperties().mtu()); + Assertions.assertEquals(601671597, model.optionAProperties().vlanId()); + Assertions.assertEquals(389906476704828002L, model.optionAProperties().peerAsn()); + Assertions.assertEquals(338643261, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1490254156, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("ewnahwkxjjmzt", model.optionAProperties().ingressAclId()); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("tfx", model.optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(690611810, + Assertions.assertEquals("odtmvecdhdyswc", model.optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(624181894, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1996694399, + Assertions.assertEquals(1922152510, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1847045848, + Assertions.assertEquals(617656065, model.optionAProperties().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(105088450, + Assertions.assertEquals(1875099939, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1879229555, + Assertions.assertEquals(942408888, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1592630526, + Assertions.assertEquals(963908723, model.optionAProperties().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1648037202, + Assertions.assertEquals(2039281968, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1932822411, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("c", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("tfshksnyzm", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ih", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("fliwoynguuzhwvl", - model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(227006531, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("ixcnpcf", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("kpyyc", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("u", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fogxhcxnw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRouteConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRouteConfigurationTests.java index c4352764754b9..9f39bc76d09b9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRouteConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRouteConfigurationTests.java @@ -15,40 +15,31 @@ public final class ExternalNetworkStaticRouteConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkStaticRouteConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1774178177,\"multiplier\":1546981752},\"ipv4Routes\":[{\"prefix\":\"ajbvbn\",\"nextHop\":[\"demdidackzi\",\"gzwdydamis\",\"pztdivyk\"]},{\"prefix\":\"xkqejtpjfojiunr\",\"nextHop\":[\"hxuk\",\"sykdtoi\",\"oancdrco\",\"nvxuldxonckb\"]},{\"prefix\":\"lblfxlupibaqzizx\",\"nextHop\":[\"zweghlwwbogvg\",\"klqiyndveqel\",\"b\"]},{\"prefix\":\"vd\",\"nextHop\":[\"rk\",\"xsg\",\"znsvlrd\",\"movpimyndnoxax\"]}],\"ipv6Routes\":[{\"prefix\":\"aqotnndxolousdv\",\"nextHop\":[\"ptqmawzjdrpiz\"]},{\"prefix\":\"ulgyctsdbtqgku\",\"nextHop\":[\"sooxrqw\",\"eurbtigapdyarik\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":183545579,\"multiplier\":1641452545},\"ipv4Routes\":[{\"prefix\":\"b\",\"nextHop\":[\"glhzqp\",\"zbawkikcdgfh\"]}],\"ipv6Routes\":[{\"prefix\":\"dpjeyoqxd\",\"nextHop\":[\"ecf\",\"wh\",\"gxsur\",\"jqrshz\"]}]}") .toObject(ExternalNetworkStaticRouteConfiguration.class); - Assertions.assertEquals(1774178177, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1546981752, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("ajbvbn", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("demdidackzi", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("aqotnndxolousdv", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("ptqmawzjdrpiz", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(183545579, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1641452545, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("b", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("glhzqp", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("dpjeyoqxd", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ecf", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExternalNetworkStaticRouteConfiguration model = new ExternalNetworkStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1774178177).withMultiplier(1546981752)) + new BfdConfiguration().withIntervalInMilliSeconds(183545579).withMultiplier(1641452545)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("ajbvbn") - .withNextHop(Arrays.asList("demdidackzi", "gzwdydamis", "pztdivyk")), - new StaticRouteProperties().withPrefix("xkqejtpjfojiunr") - .withNextHop(Arrays.asList("hxuk", "sykdtoi", "oancdrco", "nvxuldxonckb")), - new StaticRouteProperties().withPrefix("lblfxlupibaqzizx") - .withNextHop(Arrays.asList("zweghlwwbogvg", "klqiyndveqel", "b")), - new StaticRouteProperties().withPrefix("vd") - .withNextHop(Arrays.asList("rk", "xsg", "znsvlrd", "movpimyndnoxax")))) - .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("aqotnndxolousdv").withNextHop(Arrays.asList("ptqmawzjdrpiz")), - new StaticRouteProperties().withPrefix("ulgyctsdbtqgku") - .withNextHop(Arrays.asList("sooxrqw", "eurbtigapdyarik")))); + new StaticRouteProperties().withPrefix("b").withNextHop(Arrays.asList("glhzqp", "zbawkikcdgfh")))) + .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("dpjeyoqxd") + .withNextHop(Arrays.asList("ecf", "wh", "gxsur", "jqrshz")))); model = BinaryData.fromObject(model).toObject(ExternalNetworkStaticRouteConfiguration.class); - Assertions.assertEquals(1774178177, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1546981752, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("ajbvbn", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("demdidackzi", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("aqotnndxolousdv", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("ptqmawzjdrpiz", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(183545579, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1641452545, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("b", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("glhzqp", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("dpjeyoqxd", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ecf", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRoutePatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRoutePatchConfigurationTests.java index ef9593a500f07..879cab0d2ce3f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRoutePatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkStaticRoutePatchConfigurationTests.java @@ -15,36 +15,38 @@ public final class ExternalNetworkStaticRoutePatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkStaticRoutePatchConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":529152157,\"multiplier\":494808087},\"ipv4Routes\":[{\"prefix\":\"shlojermh\",\"nextHop\":[\"csbfdjhyaaknyu\",\"ibxiglhph\",\"wxqtejpiilh\",\"tozyagjjnxkb\"]},{\"prefix\":\"lh\",\"nextHop\":[\"xgffklvq\"]}],\"ipv6Routes\":[{\"prefix\":\"trdgscnvqeons\",\"nextHop\":[\"wxlwme\",\"yohxpth\"]},{\"prefix\":\"eopvkvtwf\",\"nextHop\":[\"sobpbo\",\"hmmlc\",\"yarnggcjfwblqhxk\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":859585426,\"multiplier\":1650484560},\"ipv4Routes\":[{\"prefix\":\"rkjg\",\"nextHop\":[\"euxsphlokfpmijp\",\"vzvfb\",\"wbdq\"]},{\"prefix\":\"fvcgnrglaqr\",\"nextHop\":[\"ambhbafebzxf\",\"jqut\"]},{\"prefix\":\"bhlenntrvrkpsab\",\"nextHop\":[\"xvzmlghny\"]},{\"prefix\":\"v\",\"nextHop\":[\"yeuuk\"]}],\"ipv6Routes\":[{\"prefix\":\"ixqbolxvhhyqqeg\",\"nextHop\":[\"xgrzn\",\"gin\"]},{\"prefix\":\"tsdixchw\",\"nextHop\":[\"bmgjymncjc\"]}]}") .toObject(ExternalNetworkStaticRoutePatchConfiguration.class); - Assertions.assertEquals(529152157, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(494808087, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("shlojermh", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("csbfdjhyaaknyu", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("trdgscnvqeons", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("wxlwme", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(859585426, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1650484560, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("rkjg", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("euxsphlokfpmijp", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("ixqbolxvhhyqqeg", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("xgrzn", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExternalNetworkStaticRoutePatchConfiguration model = new ExternalNetworkStaticRoutePatchConfiguration() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(529152157).withMultiplier(494808087)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(859585426).withMultiplier(1650484560)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("shlojermh") - .withNextHop(Arrays.asList("csbfdjhyaaknyu", "ibxiglhph", "wxqtejpiilh", "tozyagjjnxkb")), - new StaticRoutePatchProperties().withPrefix("lh").withNextHop(Arrays.asList("xgffklvq")))) + new StaticRoutePatchProperties().withPrefix("rkjg") + .withNextHop(Arrays.asList("euxsphlokfpmijp", "vzvfb", "wbdq")), + new StaticRoutePatchProperties().withPrefix("fvcgnrglaqr") + .withNextHop(Arrays.asList("ambhbafebzxf", "jqut")), + new StaticRoutePatchProperties().withPrefix("bhlenntrvrkpsab").withNextHop(Arrays.asList("xvzmlghny")), + new StaticRoutePatchProperties().withPrefix("v").withNextHop(Arrays.asList("yeuuk")))) .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("trdgscnvqeons") - .withNextHop(Arrays.asList("wxlwme", "yohxpth")), - new StaticRoutePatchProperties().withPrefix("eopvkvtwf") - .withNextHop(Arrays.asList("sobpbo", "hmmlc", "yarnggcjfwblqhxk")))); + new StaticRoutePatchProperties().withPrefix("ixqbolxvhhyqqeg") + .withNextHop(Arrays.asList("xgrzn", "gin")), + new StaticRoutePatchProperties().withPrefix("tsdixchw").withNextHop(Arrays.asList("bmgjymncjc")))); model = BinaryData.fromObject(model).toObject(ExternalNetworkStaticRoutePatchConfiguration.class); - Assertions.assertEquals(529152157, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(494808087, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("shlojermh", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("csbfdjhyaaknyu", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("trdgscnvqeons", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("wxlwme", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(859585426, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1650484560, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("rkjg", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("euxsphlokfpmijp", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("ixqbolxvhhyqqeg", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("xgrzn", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java index 4be34475a22fc..a47c0d278f4f9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java @@ -14,9 +14,9 @@ public final class ExternalNetworkUpdateBfdAdministrativeStateResponseProperties @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworkUpdateBfdAdministrativeStateResponseProperties model - = BinaryData.fromString("{\"routeType\":\"Static\",\"administrativeState\":\"Disabled\"}") + = BinaryData.fromString("{\"routeType\":\"OptionA\",\"administrativeState\":\"MAT\"}") .toObject(ExternalNetworkUpdateBfdAdministrativeStateResponseProperties.class); - Assertions.assertEquals(ExternalNetworkRouteType.STATIC, model.routeType()); - Assertions.assertEquals(BfdAdministrativeState.DISABLED, model.administrativeState()); + Assertions.assertEquals(ExternalNetworkRouteType.OPTIONA, model.routeType()); + Assertions.assertEquals(BfdAdministrativeState.MAT, model.administrativeState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateMockTests.java index 08cc8b04d791d..b38a9dd2fc6a2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksCreateMockTests.java @@ -38,7 +38,7 @@ public final class ExternalNetworksCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"wifbdwyvvcywb\",\"networkToNetworkInterconnectId\":\"kthrexzvej\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"uiklokeqeowbpi\",\"importIpv6RoutePolicyId\":\"hvg\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"gotgwerbpobvjhu\",\"exportIpv6RoutePolicyId\":\"c\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"iv\",\"mdtkllqhzn\",\"trxomztrnni\"],\"exportRouteTargets\":[\"ezjhyxiqfoq\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"ykqfserls\",\"ipshhetagwm\",\"gvnojgmobkaligoi\",\"kehpdssvlubdp\"],\"importIpv6RouteTargets\":[\"xsxbxd\",\"mixu\",\"cekcqmjqqauft\",\"hmtbu\"],\"exportIpv4RouteTargets\":[\"nkgh\",\"r\",\"irshl\",\"eayodrvwnqb\"],\"exportIpv6RouteTargets\":[\"off\",\"xzovbhqelssl\",\"xejpo\",\"sgigs\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"xndyjwmglgstrzf\",\"primaryIpv6Prefix\":\"hdzovkbcb\",\"secondaryIpv4Prefix\":\"ohnymfhmlji\",\"secondaryIpv6Prefix\":\"gfvzvmtjcxig\",\"mtu\":940055464,\"vlanId\":218661742,\"fabricASN\":1705421450293985295,\"peerASN\":8880950716619598730,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1234355189,\"multiplier\":1267352570},\"ingressAclId\":\"ugizwy\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"tbdxtvl\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1758501325,\"multiplier\":1077740964},\"ipv4Routes\":[{\"prefix\":\"tutet\",\"nextHop\":[\"gcidbrjwi\",\"ouepaqnfy\",\"grcmcqppledx\"]},{\"prefix\":\"ecttub\",\"nextHop\":[\"el\",\"trvdzhwpxpscwy\"]},{\"prefix\":\"tslfc\",\"nextHop\":[\"avysfmndr\",\"qqjkegbmldkcih\",\"rz\",\"h\"]}],\"ipv6Routes\":[{\"prefix\":\"hjkwfolpjrepah\",\"nextHop\":[\"iranxqnzssvn\",\"dtqykz\"]},{\"prefix\":\"wdoq\",\"nextHop\":[\"jltrnqxicyoz\",\"yo\",\"mfrxfx\"]},{\"prefix\":\"cjialvchfumlfgm\",\"nextHop\":[\"xxkokipklfwnhfk\",\"qlrt\",\"fswqdkv\",\"jitbnhglrvlarozs\"]}]},\"lastOperation\":{\"details\":\"crza\"},\"networkFabricId\":\"sdxtwqquk\",\"configurationState\":\"Failed\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"id\":\"kbksltunrwxsq\",\"name\":\"xlupccfwqisou\",\"type\":\"y\"}"; + = "{\"properties\":{\"annotation\":\"yltornv\",\"networkToNetworkInterconnectId\":\"uy\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ifbdwyvvcyw\",\"importIpv6RoutePolicyId\":\"vkthrexzve\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"yu\",\"exportIpv6RoutePolicyId\":\"lokeqe\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"iehvgchsg\"],\"exportRouteTargets\":[\"werbpobvjhunicg\",\"xceivvmdtk\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"znutrxomztrnni\",\"rjezjhyx\",\"qf\",\"qwesqykqfserls\"],\"importIpv6RouteTargets\":[\"shh\",\"tagwmzgvnojgm\",\"bkali\"],\"exportIpv4RouteTargets\":[\"kkehpdssvlu\",\"dp\",\"owxsxbxd\",\"mixu\"],\"exportIpv6RouteTargets\":[\"kcqm\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"auftghmt\",\"primaryIpv6Prefix\":\"fkcnkghkrbi\",\"secondaryIpv4Prefix\":\"hlheayodrvwnq\",\"secondaryIpv6Prefix\":\"xyofftxzovbhqel\",\"mtu\":1803054173,\"vlanId\":1430247727,\"fabricASN\":3227850123006740748,\"peerASN\":8734703348488884063,\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1523536864,\"multiplier\":918119368},\"ingressAclId\":\"tx\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"egressAclId\":\"mglg\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1660704034,\"multiplier\":645758346},\"ipv4Routes\":[{\"prefix\":\"ymf\",\"nextHop\":[\"ljim\",\"gfvzvmtjcxig\",\"szxdbgl\"]},{\"prefix\":\"eet\",\"nextHop\":[\"vm\",\"ugizwy\"]},{\"prefix\":\"fhfptbdxtvlpj\",\"nextHop\":[\"sl\"]}],\"ipv6Routes\":[{\"prefix\":\"zytxe\",\"nextHop\":[\"igmqntutetdtgci\",\"brjwiwouepaqnfy\"]},{\"prefix\":\"grcmcqppledx\",\"nextHop\":[\"cttub\",\"welutrvd\"]},{\"prefix\":\"hwpxps\",\"nextHop\":[\"yltsl\",\"ccya\"]}]},\"lastOperation\":{\"details\":\"fmndrdqqjkeg\"},\"networkFabricId\":\"ldkciherzkh\",\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"},\"id\":\"olpjrep\",\"name\":\"hvoiranxqnzssv\",\"type\":\"ldtqykzmwdoqre\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -48,89 +48,99 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ExternalNetwork response = manager.externalNetworks() - .define("nitrmzvnrfkzn") - .withExistingL3IsolationDomain("jkahdofshgmqx", "op") + .define("wrluqaqnlygfvbf") + .withExistingL3IsolationDomain("efvnvscyut", "wsynt") .withPeeringOption(PeeringOption.OPTIONB) - .withAnnotation("ittbmo") - .withNetworkToNetworkInterconnectId("xhwpgkrnxrj") + .withAnnotation("bo") + .withNetworkToNetworkInterconnectId("lg") .withImportRoutePolicy( - new ImportRoutePolicy().withImportIpv4RoutePolicyId("ogcnzfgqibb").withImportIpv6RoutePolicyId("l")) - .withExportRoutePolicy( - new ExportRoutePolicy().withExportIpv4RoutePolicyId("hztufw").withExportIpv6RoutePolicyId("sfjj")) - .withOptionBProperties( - new L3OptionBProperties().withImportRouteTargets(Arrays.asList("rbuyd", "yhknttk", "rbl")) - .withExportRouteTargets(Arrays.asList("njstiwdeo")) - .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("ikjfjibu")) - .withImportIpv6RouteTargets(Arrays.asList("pojujpifxtg", "xav", "jx")) - .withExportIpv4RouteTargets(Arrays.asList("xolau")) - .withExportIpv6RouteTargets(Arrays.asList("chphovu", "r", "czwcxlnc")))) - .withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("wf") - .withPrimaryIpv6Prefix("ria") - .withSecondaryIpv4Prefix("wwsgdkbdozsspfw") - .withSecondaryIpv6Prefix("cortox") - .withMtu(397735090) - .withVlanId(278440878) - .withPeerAsn(570702581351478326L) + new ImportRoutePolicy().withImportIpv4RoutePolicyId("vpsmvksauw").withImportIpv6RoutePolicyId("nplqf")) + .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("fqmdjz") + .withExportIpv6RoutePolicyId("vmkplrjkmpaxoey")) + .withOptionBProperties(new L3OptionBProperties().withImportRouteTargets(Arrays.asList("ogvmq", "agr")) + .withExportRouteTargets(Arrays.asList("hwfskmk", "rpkdpnjldwcxjvex", "utxcmcc")) + .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("ocnr")) + .withImportIpv6RouteTargets(Arrays.asList("vhduldsolbzzbruf", "eylkpvaagrdf")) + .withExportIpv4RouteTargets(Arrays.asList("l", "dsphvo", "ucryhuohthzfotfr", "hrjkahdofshgmqx")) + .withExportIpv6RouteTargets(Arrays.asList("pnitrmz", "nrfkzny", "ittbmo", "rxhwpgkrnx")))) + .withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties() + .withPrimaryIpv4Prefix("ilogcnzfgqibb") + .withPrimaryIpv6Prefix("l") + .withSecondaryIpv4Prefix("xhztufw") + .withSecondaryIpv6Prefix("sfjj") + .withMtu(1729313252) + .withVlanId(424859653) + .withPeerAsn(8546286495540504025L) .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(970452392).withMultiplier(863158060)) - .withIngressAclId("oknvyilhoso") + new BfdConfiguration().withIntervalInMilliSeconds(1224837942).withMultiplier(969645563)) + .withIngressAclId("kdrblehenjstiwd") .withBmpConfiguration( - new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.DISABLED)) - .withEgressAclId("gs") - .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays - .asList(new PrefixLimitProperties(), new PrefixLimitProperties(), new PrefixLimitProperties()))) - .withNativeIpv6PrefixLimit( - new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList(new PrefixLimitProperties())))) + new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED)) + .withEgressAclId("j") + .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED) + .withNativeIpv4PrefixLimit( + new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList(new PrefixLimitProperties(), + new PrefixLimitProperties(), new PrefixLimitProperties(), new PrefixLimitProperties()))) + .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays + .asList(new PrefixLimitProperties(), new PrefixLimitProperties(), new PrefixLimitProperties())))) .withStaticRouteConfiguration(new ExternalNetworkStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(940409873).withMultiplier(1752650070)) - .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("hbraruk") - .withNextHop(Arrays.asList("psxufyqcqfou", "ye", "xgxbgochpxps", "pwwsiooz")))) + new BfdConfiguration().withIntervalInMilliSeconds(1978789246).withMultiplier(1027514297)) + .withIpv4Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("grxa") + .withNextHop(Arrays.asList("jx", "iwx", "lauhr", "chphovu")), + new StaticRouteProperties().withPrefix("r").withNextHop(Arrays.asList("zwcxlncohywfvy", "iaw")), + new StaticRouteProperties().withPrefix("wwsgdkbdozsspfw") + .withNextHop(Arrays.asList("cortox", "thjyyirybuqmkm", "dok", "vyilh")), + new StaticRouteProperties().withPrefix("sotdiox") + .withNextHop(Arrays.asList("rhx", "yrgvrtcctm", "glbplqhbrar", "kdep")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("bdkxlwcku").withNextHop(Arrays.asList("zkzjjtapvqjebtd")), - new StaticRouteProperties().withPrefix("sgkeexsozpkvy") - .withNextHop(Arrays.asList("tytwtfqpmpyww", "buk", "mjc", "doecdq")), - new StaticRouteProperties().withPrefix("nc").withNextHop(Arrays.asList("cocchdxjrrb", "rbn"))))) + new StaticRouteProperties().withPrefix("fyqcqfouhyey") + .withNextHop(Arrays.asList("xbgochpxps", "pwwsiooz", "ugbdkxlwck")), + new StaticRouteProperties().withPrefix("v") + .withNextHop(Arrays.asList("kzjjtapvqjebtdp", "gkeexsozpkvylvty", "wt", "qpmp")), + new StaticRouteProperties().withPrefix("wwybu").withNextHop(Arrays.asList("mjc")), + new StaticRouteProperties().withPrefix("doecdq").withNextHop(Arrays.asList("cuqcocc"))))) .create(); - Assertions.assertEquals("wifbdwyvvcywb", response.annotation()); - Assertions.assertEquals("kthrexzvej", response.networkToNetworkInterconnectId()); - Assertions.assertEquals("uiklokeqeowbpi", response.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("hvg", response.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("gotgwerbpobvjhu", response.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("c", response.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("yltornv", response.annotation()); + Assertions.assertEquals("uy", response.networkToNetworkInterconnectId()); + Assertions.assertEquals("ifbdwyvvcyw", response.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("vkthrexzve", response.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("yu", response.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("lokeqe", response.exportRoutePolicy().exportIpv6RoutePolicyId()); Assertions.assertEquals(PeeringOption.OPTIONA, response.peeringOption()); - Assertions.assertEquals("iv", response.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("ezjhyxiqfoq", response.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("ykqfserls", + Assertions.assertEquals("iehvgchsg", response.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("werbpobvjhunicg", response.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("znutrxomztrnni", response.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("xsxbxd", response.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("nkgh", response.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("off", response.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("xndyjwmglgstrzf", response.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("hdzovkbcb", response.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("ohnymfhmlji", response.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("gfvzvmtjcxig", response.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(940055464, response.optionAProperties().mtu()); - Assertions.assertEquals(218661742, response.optionAProperties().vlanId()); - Assertions.assertEquals(8880950716619598730L, response.optionAProperties().peerAsn()); - Assertions.assertEquals(1234355189, response.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1267352570, response.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("ugizwy", response.optionAProperties().ingressAclId()); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals("shh", response.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("kkehpdssvlu", + response.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("kcqm", response.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("auftghmt", response.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("fkcnkghkrbi", response.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("hlheayodrvwnq", response.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("xyofftxzovbhqel", response.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1803054173, response.optionAProperties().mtu()); + Assertions.assertEquals(1430247727, response.optionAProperties().vlanId()); + Assertions.assertEquals(8734703348488884063L, response.optionAProperties().peerAsn()); + Assertions.assertEquals(1523536864, response.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(918119368, response.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("tx", response.optionAProperties().ingressAclId()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, response.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("tbdxtvl", response.optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, response.optionAProperties().v4OverV6BgpSession()); + Assertions.assertEquals("mglg", response.optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, response.optionAProperties().v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, response.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(1758501325, + Assertions.assertEquals(1660704034, response.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1077740964, response.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("tutet", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("gcidbrjwi", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("hjkwfolpjrepah", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("iranxqnzssvn", + Assertions.assertEquals(645758346, response.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("ymf", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ljim", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("zytxe", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("igmqntutetdtgci", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetWithResponseMockTests.java index 242b7ab2d53aa..6e4175167ca88 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksGetWithResponseMockTests.java @@ -25,7 +25,7 @@ public final class ExternalNetworksGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"gkouenpgkxyrs\",\"networkToNetworkInterconnectId\":\"b\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ek\",\"importIpv6RoutePolicyId\":\"o\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"qvuwsq\",\"exportIpv6RoutePolicyId\":\"qsgyrznostngx\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"zjnkgdsursumb\",\"irkb\",\"qpsvoxs\",\"xumuuyblolruf\"],\"exportRouteTargets\":[\"blbqxlsam\",\"yjqhwsojnbb\",\"gvmowyzxqhuhmldh\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"kfuz\"],\"importIpv6RouteTargets\":[\"o\",\"dztqhqhwpuaermaw\",\"lnsdazqcem\"],\"exportIpv4RouteTargets\":[\"wfuo\",\"hisxz\",\"ikvdfszxbupsx\"],\"exportIpv6RouteTargets\":[\"pgxcgqkhy\",\"tajwkrxmz\",\"mwfncwlw\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"zbomjbyssprkbz\",\"primaryIpv6Prefix\":\"ljwfncsaa\",\"secondaryIpv4Prefix\":\"cpgz\",\"secondaryIpv6Prefix\":\"rgppqajdmju\",\"mtu\":1245506135,\"vlanId\":1288708214,\"fabricASN\":1123188104726339948,\"peerASN\":6146836555586788114,\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1687879727,\"multiplier\":1680643768},\"ingressAclId\":\"etbzfwfuxdtp\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"egressAclId\":\"edlclxx\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":764871693,\"multiplier\":721638961},\"ipv4Routes\":[{\"prefix\":\"b\",\"nextHop\":[\"hdjbyfdfuaj\",\"hpyylekubiwv\"]},{\"prefix\":\"vzznyjqbwxpwjvf\",\"nextHop\":[\"loquttkb\",\"wgjupjbdq\"]},{\"prefix\":\"nkiaj\",\"nextHop\":[\"shupxjttnurk\",\"erqzapuwom\",\"vqvvtjwdlduvimg\",\"ceormxoxtapaf\"]},{\"prefix\":\"jvbkjtg\",\"nextHop\":[\"cptavcipydnuj\",\"blskizpr\"]}],\"ipv6Routes\":[{\"prefix\":\"a\",\"nextHop\":[\"jxdrgxpuxpzslmf\",\"ypzrycchqzkfges\"]},{\"prefix\":\"zgszjhekbmd\",\"nextHop\":[\"hioj\"]},{\"prefix\":\"rhgpityeuv\",\"nextHop\":[\"sbmebfgbzn\",\"ihbkupae\"]}]},\"lastOperation\":{\"details\":\"ftvyzuyqzjfvb\"},\"networkFabricId\":\"yjvzlscyzvvsxmy\",\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\"},\"id\":\"heixazebmmjaigax\",\"name\":\"qiparctshe\",\"type\":\"gtdvhokx\"}"; + = "{\"properties\":{\"annotation\":\"znyjqbwxp\",\"networkToNetworkInterconnectId\":\"vfisloqut\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"zwgjupjbdqm\",\"importIpv6RoutePolicyId\":\"ia\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"shupxjttnurk\",\"exportIpv6RoutePolicyId\":\"rqza\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"evqvvtjwdlduv\",\"mgtceormxox\"],\"exportRouteTargets\":[\"afbjvbkjtgzk\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"vc\",\"pydnujgblski\",\"pr\"],\"importIpv6RouteTargets\":[\"a\",\"ajxdrg\",\"puxpzslm\"],\"exportIpv4RouteTargets\":[\"pzrycchqz\",\"fge\",\"dzgszjhekbmd\",\"ch\"],\"exportIpv6RouteTargets\":[\"srhgpityeu\",\"wysbmebfgbznlih\",\"kupaeywy\",\"tvyzuyqzjfv\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"yjvzlscyzvvsxmy\",\"primaryIpv6Prefix\":\"sgb\",\"secondaryIpv4Prefix\":\"qhei\",\"secondaryIpv6Prefix\":\"zebmmjaigaxwqip\",\"mtu\":1395700186,\"vlanId\":229494724,\"fabricASN\":7028368885800805794,\"peerASN\":2580985539618063004,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1051437415,\"multiplier\":2048995412},\"ingressAclId\":\"fawhoosrsol\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"oejbgiqhjpe\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":184093434,\"multiplier\":1142238180},\"ipv4Routes\":[{\"prefix\":\"k\",\"nextHop\":[\"l\",\"fgmdoaih\",\"v\"]}],\"ipv6Routes\":[{\"prefix\":\"ci\",\"nextHop\":[\"irybwgaccvwky\",\"emazgtbynxshc\"]},{\"prefix\":\"we\",\"nextHop\":[\"eqojzvuzxx\",\"ojj\"]},{\"prefix\":\"hbobuovsvwnpcx\",\"nextHop\":[\"mtvparyubny\"]},{\"prefix\":\"mlpz\",\"nextHop\":[\"votuc\",\"zbpocu\",\"qzf\"]}]},\"lastOperation\":{\"details\":\"emzdnvnooklgren\"},\"networkFabricId\":\"sgertxicemgsncbb\",\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"MAT\"},\"id\":\"bslbnunpxs\",\"name\":\"mccy\",\"type\":\"b\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,46 +35,46 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ExternalNetwork response = manager.externalNetworks() - .getWithResponse("rvzhfjqpxydpamc", "zm", "rhccdgunsjssreo", com.azure.core.util.Context.NONE) + .getWithResponse("fuajnhpyyleku", "iw", "j", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("gkouenpgkxyrs", response.annotation()); - Assertions.assertEquals("b", response.networkToNetworkInterconnectId()); - Assertions.assertEquals("ek", response.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("o", response.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("qvuwsq", response.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qsgyrznostngx", response.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("znyjqbwxp", response.annotation()); + Assertions.assertEquals("vfisloqut", response.networkToNetworkInterconnectId()); + Assertions.assertEquals("zwgjupjbdqm", response.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("ia", response.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("shupxjttnurk", response.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("rqza", response.exportRoutePolicy().exportIpv6RoutePolicyId()); Assertions.assertEquals(PeeringOption.OPTIONA, response.peeringOption()); - Assertions.assertEquals("zjnkgdsursumb", response.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("blbqxlsam", response.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("kfuz", response.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("o", response.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("wfuo", response.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("pgxcgqkhy", + Assertions.assertEquals("evqvvtjwdlduv", response.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("afbjvbkjtgzk", response.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("vc", response.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("a", response.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("pzrycchqz", + response.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("srhgpityeu", response.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("zbomjbyssprkbz", response.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("ljwfncsaa", response.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("cpgz", response.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("rgppqajdmju", response.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1245506135, response.optionAProperties().mtu()); - Assertions.assertEquals(1288708214, response.optionAProperties().vlanId()); - Assertions.assertEquals(6146836555586788114L, response.optionAProperties().peerAsn()); - Assertions.assertEquals(1687879727, response.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1680643768, response.optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("etbzfwfuxdtp", response.optionAProperties().ingressAclId()); - Assertions.assertEquals(BmpConfigurationState.DISABLED, + Assertions.assertEquals("yjvzlscyzvvsxmy", response.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("sgb", response.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("qhei", response.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("zebmmjaigaxwqip", response.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1395700186, response.optionAProperties().mtu()); + Assertions.assertEquals(229494724, response.optionAProperties().vlanId()); + Assertions.assertEquals(2580985539618063004L, response.optionAProperties().peerAsn()); + Assertions.assertEquals(1051437415, response.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2048995412, response.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("fawhoosrsol", response.optionAProperties().ingressAclId()); + Assertions.assertEquals(BmpConfigurationState.ENABLED, response.optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("edlclxx", response.optionAProperties().egressAclId()); + Assertions.assertEquals("oejbgiqhjpe", response.optionAProperties().egressAclId()); Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, response.optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, response.optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(764871693, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, response.optionAProperties().v6OverV4BgpSession()); + Assertions.assertEquals(184093434, response.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(721638961, response.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("b", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("hdjbyfdfuaj", - response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("a", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jxdrgxpuxpzslmf", + Assertions.assertEquals(1142238180, response.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("k", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("l", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("ci", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("irybwgaccvwky", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainMockTests.java index 51ffb77898fc6..bbb89bd957700 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListByL3IsolationDomainMockTests.java @@ -26,7 +26,7 @@ public final class ExternalNetworksListByL3IsolationDomainMockTests { @Test public void testListByL3IsolationDomain() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"udifierxxorsdvu\",\"networkToNetworkInterconnectId\":\"qfksjll\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"doaihlv\",\"importIpv6RoutePolicyId\":\"qcivmirybwgac\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"kynemazgtbyn\",\"exportIpv6RoutePolicyId\":\"hcawexgeqojzvu\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"j\"],\"exportRouteTargets\":[\"bobuovsvwnpc\",\"dkmtvparyubnyh\",\"lpz\",\"evotucnzbpo\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"z\"],\"importIpv6RouteTargets\":[\"oemzdnvnookl\"],\"exportIpv4RouteTargets\":[\"nuqsgertxicemgs\",\"cbbdokph\",\"edbsl\",\"nunpxswmcc\"],\"exportIpv6RouteTargets\":[\"viaaep\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"bofdchboacf\",\"primaryIpv6Prefix\":\"zwesetutqjsojwoi\",\"secondaryIpv4Prefix\":\"rnakytzcmag\",\"secondaryIpv6Prefix\":\"l\",\"mtu\":2066426072,\"vlanId\":1802709740,\"fabricASN\":1322168239650216817,\"peerASN\":3192680807740505810,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1027912523,\"multiplier\":568085330},\"ingressAclId\":\"gvygmtywivbuit\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"klv\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":44069704,\"multiplier\":1703611698},\"ipv4Routes\":[{\"prefix\":\"sn\",\"nextHop\":[\"xhgdns\",\"xyl\",\"dbg\"]},{\"prefix\":\"icjkq\",\"nextHop\":[\"fzkhdnp\",\"mrxjdfkqlkaipf\"]},{\"prefix\":\"vquasvywkbiek\",\"nextHop\":[\"akqahopgnapkp\",\"iedoxvoaoa\"]},{\"prefix\":\"e\",\"nextHop\":[\"clmzm\",\"rvlgh\"]}],\"ipv6Routes\":[{\"prefix\":\"diq\",\"nextHop\":[\"hcb\",\"kawif\"]},{\"prefix\":\"fjtockgqaawyysz\",\"nextHop\":[\"e\"]},{\"prefix\":\"ljlwfqrfyw\",\"nextHop\":[\"sipkhqh\",\"ktcztmqdkhohspkg\",\"emvlyaprj\"]},{\"prefix\":\"bxxxqfrn\",\"nextHop\":[\"bhmxlpxf\",\"uvgtoinozsmyvv\"]}]},\"lastOperation\":{\"details\":\"fbmrwhk\"},\"networkFabricId\":\"fcooptmdspdd\",\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\"},\"id\":\"bgol\",\"name\":\"xuybxjwnyr\",\"type\":\"kyrttnriks\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"qj\",\"networkToNetworkInterconnectId\":\"j\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"xtrnakyt\",\"importIpv6RoutePolicyId\":\"magvsljkaarqhpx\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"zsxgmgvygmtyw\",\"exportIpv6RoutePolicyId\":\"buiteedjnklvbrsx\"},\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"zsdudjitlqxpsnn\"],\"exportRouteTargets\":[\"gdnsd\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"dbg\"],\"importIpv6RouteTargets\":[\"jkqjzfzkhdnp\",\"mrxjdfkqlkaipf\",\"vquasvywkbiek\",\"vakqaho\"],\"exportIpv4RouteTargets\":[\"apkpaiedox\",\"oaoavezwc\",\"mzm\"],\"exportIpv6RouteTargets\":[\"lghlrc\",\"iqhvhcbukawif\",\"fjtockgqaawyysz\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"qljl\",\"primaryIpv6Prefix\":\"qrfywwzsip\",\"secondaryIpv4Prefix\":\"qhvktcztmqdkh\",\"secondaryIpv6Prefix\":\"spkgxemvlyaprj\",\"mtu\":1275057659,\"vlanId\":636113498,\"fabricASN\":2404693615208710900,\"peerASN\":1241061387966956078,\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":403050142,\"multiplier\":886734910},\"ingressAclId\":\"x\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"egressAclId\":\"toin\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":224548003,\"multiplier\":1914933595},\"ipv4Routes\":[{\"prefix\":\"oo\",\"nextHop\":[\"mdspd\"]},{\"prefix\":\"xgupios\",\"nextHop\":[\"golaxu\"]},{\"prefix\":\"bxjwnyr\",\"nextHop\":[\"yrttnrikssqfiksj\",\"kignmtoqtuivi\",\"bf\"]},{\"prefix\":\"xpslpevzpqyd\",\"nextHop\":[\"kkkgiecjyf\",\"sn\",\"f\"]}],\"ipv6Routes\":[{\"prefix\":\"tjc\",\"nextHop\":[\"qx\"]},{\"prefix\":\"b\",\"nextHop\":[\"magpdsuyywnaqgoo\"]}]},\"lastOperation\":{\"details\":\"hvgddfzcnylzw\"},\"networkFabricId\":\"ufsgcpwrtgtdeg\",\"configurationState\":\"Rejected\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"RMA\"},\"id\":\"iuik\",\"name\":\"otjj\",\"type\":\"ecxvkqjpovjvvx\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,59 +36,59 @@ public void testListByL3IsolationDomain() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.externalNetworks() - .listByL3IsolationDomain("fawhoosrsol", "hvmfoejbgiqhjpe", com.azure.core.util.Context.NONE); + .listByL3IsolationDomain("iaaepxlxbofdc", "boacfskzweset", com.azure.core.util.Context.NONE); - Assertions.assertEquals("udifierxxorsdvu", response.iterator().next().annotation()); - Assertions.assertEquals("qfksjll", response.iterator().next().networkToNetworkInterconnectId()); - Assertions.assertEquals("doaihlv", response.iterator().next().importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("qcivmirybwgac", + Assertions.assertEquals("qj", response.iterator().next().annotation()); + Assertions.assertEquals("j", response.iterator().next().networkToNetworkInterconnectId()); + Assertions.assertEquals("xtrnakyt", response.iterator().next().importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("magvsljkaarqhpx", response.iterator().next().importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("kynemazgtbyn", + Assertions.assertEquals("zsxgmgvygmtyw", response.iterator().next().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hcawexgeqojzvu", + Assertions.assertEquals("buiteedjnklvbrsx", response.iterator().next().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(PeeringOption.OPTIONA, response.iterator().next().peeringOption()); - Assertions.assertEquals("j", response.iterator().next().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("bobuovsvwnpc", - response.iterator().next().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("z", + Assertions.assertEquals(PeeringOption.OPTIONB, response.iterator().next().peeringOption()); + Assertions.assertEquals("zsdudjitlqxpsnn", + response.iterator().next().optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("gdnsd", response.iterator().next().optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("dbg", response.iterator().next().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("oemzdnvnookl", + Assertions.assertEquals("jkqjzfzkhdnp", response.iterator().next().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("nuqsgertxicemgs", + Assertions.assertEquals("apkpaiedox", response.iterator().next().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("viaaep", + Assertions.assertEquals("lghlrc", response.iterator().next().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("bofdchboacf", response.iterator().next().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("zwesetutqjsojwoi", response.iterator().next().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("rnakytzcmag", response.iterator().next().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("l", response.iterator().next().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(2066426072, response.iterator().next().optionAProperties().mtu()); - Assertions.assertEquals(1802709740, response.iterator().next().optionAProperties().vlanId()); - Assertions.assertEquals(3192680807740505810L, response.iterator().next().optionAProperties().peerAsn()); - Assertions.assertEquals(1027912523, + Assertions.assertEquals("qljl", response.iterator().next().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("qrfywwzsip", response.iterator().next().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("qhvktcztmqdkh", response.iterator().next().optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("spkgxemvlyaprj", response.iterator().next().optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1275057659, response.iterator().next().optionAProperties().mtu()); + Assertions.assertEquals(636113498, response.iterator().next().optionAProperties().vlanId()); + Assertions.assertEquals(1241061387966956078L, response.iterator().next().optionAProperties().peerAsn()); + Assertions.assertEquals(403050142, response.iterator().next().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(568085330, + Assertions.assertEquals(886734910, response.iterator().next().optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("gvygmtywivbuit", response.iterator().next().optionAProperties().ingressAclId()); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals("x", response.iterator().next().optionAProperties().ingressAclId()); + Assertions.assertEquals(BmpConfigurationState.DISABLED, response.iterator().next().optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("klv", response.iterator().next().optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, + Assertions.assertEquals("toin", response.iterator().next().optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, response.iterator().next().optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, + Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, response.iterator().next().optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(44069704, + Assertions.assertEquals(224548003, response.iterator().next().staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1703611698, + Assertions.assertEquals(1914933595, response.iterator().next().staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("sn", + Assertions.assertEquals("oo", response.iterator().next().staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("xhgdns", + Assertions.assertEquals("mdspd", response.iterator().next().staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("diq", + Assertions.assertEquals("tjc", response.iterator().next().staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("hcb", + Assertions.assertEquals("qx", response.iterator().next().staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListTests.java index 26448863320fc..3a059eca55eaf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ExternalNetworksListTests.java @@ -16,51 +16,50 @@ public final class ExternalNetworksListTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExternalNetworksList model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"colmugp\",\"networkToNetworkInterconnectId\":\"aosd\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"wzxeygzvtyevjhu\",\"importIpv6RoutePolicyId\":\"obguqisqsqk\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ioyj\",\"exportIpv6RoutePolicyId\":\"mlviqcpszpmcvqdv\"},\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"yrx\"],\"exportRouteTargets\":[\"vqojbxaotcgbz\",\"mbtple\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"yidoxznvg\",\"dtmuuvd\",\"wsxmrszb\",\"nimx\"],\"importIpv6RouteTargets\":[\"erxrzutylcurza\",\"mnb\"],\"exportIpv4RouteTargets\":[\"ehtd\",\"jmbnvynf\"],\"exportIpv6RouteTargets\":[\"eactedcglskakdd\",\"dahzllrqm\",\"lpbyxroiduyq\",\"pffmnoii\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"dyhbrjj\",\"primaryIpv6Prefix\":\"lxrdsjrholuqwgus\",\"secondaryIpv4Prefix\":\"hdodpjwy\",\"secondaryIpv6Prefix\":\"vtbdm\",\"mtu\":1935503817,\"vlanId\":45364466,\"fabricASN\":8035135420388544935,\"peerASN\":312612104215403301,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1991928180,\"multiplier\":1901075904},\"ingressAclId\":\"jfb\",\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"egressAclId\":\"gdusxurs\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1339225652,\"multiplier\":861314437},\"ipv4Routes\":[{\"prefix\":\"fwihvaan\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"nhjrfdmfd\",\"nextHop\":[]},{\"prefix\":\"bbaex\",\"nextHop\":[]},{\"prefix\":\"jfwtgdfkkaui\",\"nextHop\":[]}]},\"lastOperation\":{\"details\":\"u\"},\"networkFabricId\":\"mczfedyuepsvplt\",\"configurationState\":\"Accepted\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\"},\"id\":\"eocfkumcfjxok\",\"name\":\"elsy\",\"type\":\"svfnkwm\"},{\"properties\":{\"annotation\":\"jjekrknfdrugj\",\"networkToNetworkInterconnectId\":\"ckgtxkrdtulc\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"dklotcsubmzo\",\"importIpv6RoutePolicyId\":\"svobchkxfp\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"yslb\",\"exportIpv6RoutePolicyId\":\"glmnnk\"},\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"shwy\",\"xrid\",\"tb\"],\"exportRouteTargets\":[\"jmkgxqwqueuuylzt\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"zevjykofve\",\"efkhkqtwq\"],\"importIpv6RouteTargets\":[\"jjzkcasfwzc\",\"togffjwajnrtwz\",\"aqkifmxawostfz\"],\"exportIpv4RouteTargets\":[\"rkmjqncfvdscnhe\",\"vwfnqqwypvn\",\"r\"],\"exportIpv6RouteTargets\":[\"od\",\"ggrssgwjfkain\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"ymvecvztscbg\",\"primaryIpv6Prefix\":\"saictds\",\"secondaryIpv4Prefix\":\"kzzohnrddc\",\"secondaryIpv6Prefix\":\"eqozrehlbz\",\"mtu\":1360403193,\"vlanId\":1620454050,\"fabricASN\":5468047873562439322,\"peerASN\":4903814293426806724,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1477600081,\"multiplier\":29783496},\"ingressAclId\":\"nynpameudpabcre\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"gyjxvc\",\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":842951636,\"multiplier\":1433860479},\"ipv4Routes\":[{\"prefix\":\"ad\",\"nextHop\":[]},{\"prefix\":\"vecovsdqhzr\",\"nextHop\":[]},{\"prefix\":\"dbakr\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"zfvppkeq\",\"nextHop\":[]}]},\"lastOperation\":{\"details\":\"jmcl\"},\"networkFabricId\":\"ygnhrkombc\",\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"UnderMaintenance\"},\"id\":\"gorwjoqtrotpvclp\",\"name\":\"fyrlmwkptskwxj\",\"type\":\"vhxccbmkakmkoo\"},{\"properties\":{\"annotation\":\"putmgvmuyakm\",\"networkToNetworkInterconnectId\":\"ktfowzkroyrdur\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"zqjim\",\"importIpv6RoutePolicyId\":\"tgz\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"lfejlzuqloiw\",\"exportIpv6RoutePolicyId\":\"yyzivrmitcd\"},\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"whrktjleifibfipl\",\"xfns\"],\"exportRouteTargets\":[\"jow\",\"yeyzm\",\"dsqcmhnxl\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"o\",\"machbkv\",\"rpbj\"],\"importIpv6RouteTargets\":[\"goqple\",\"mumk\"],\"exportIpv4RouteTargets\":[\"lczdprwnh\"],\"exportIpv6RouteTargets\":[\"ggoxsstcivrakfrr\",\"njcwmhly\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"ukxrke\",\"primaryIpv6Prefix\":\"pequlrlzaudgjtf\",\"secondaryIpv4Prefix\":\"lakkucddwnhcz\",\"secondaryIpv6Prefix\":\"toucgj\",\"mtu\":330231609,\"vlanId\":1372705343,\"fabricASN\":4790054846611118580,\"peerASN\":6882674875276093582,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":295914705,\"multiplier\":393634530},\"ingressAclId\":\"kslvlizedvb\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"srgekzyqxadyfhb\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1849035748,\"multiplier\":2086760208},\"ipv4Routes\":[{\"prefix\":\"g\",\"nextHop\":[]},{\"prefix\":\"zstuj\",\"nextHop\":[]},{\"prefix\":\"zx\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"sf\",\"nextHop\":[]},{\"prefix\":\"rlduyehiiittugy\",\"nextHop\":[]},{\"prefix\":\"qwrldaxur\",\"nextHop\":[]}]},\"lastOperation\":{\"details\":\"zcsozjvxdz\"},\"networkFabricId\":\"ggbnvtxo\",\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"MAT\"},\"id\":\"hoeamoeobdo\",\"name\":\"ysfpnimtwu\",\"type\":\"hau\"}],\"nextLink\":\"nkwmnfeub\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"irwcqzoofjnqjsv\",\"networkToNetworkInterconnectId\":\"fbhtleberp\",\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"eknfqnwjjqx\",\"importIpv6RoutePolicyId\":\"kdnjrxgkrhwie\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"pnowawonoehrguql\",\"exportIpv6RoutePolicyId\":\"wafbjzmp\"},\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"fazbkoc\",\"ygvthrmxkbcjw\",\"dxomrawppk\"],\"exportRouteTargets\":[\"ozf\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"agaedaoi\",\"clmgdtw\",\"abdxfkuzb\"],\"importIpv6RouteTargets\":[\"cooyvhtuqb\",\"elnii\",\"ncgagdvc\"],\"exportIpv4RouteTargets\":[\"ftzb\",\"yfaofdf\",\"htncwmhjobzrfp\"],\"exportIpv6RouteTargets\":[\"dc\",\"h\",\"f\"]}},\"optionAProperties\":{\"primaryIpv4Prefix\":\"bzwgwhgkgsoau\",\"primaryIpv6Prefix\":\"rssat\",\"secondaryIpv4Prefix\":\"bipufdmxuqbdqnas\",\"secondaryIpv6Prefix\":\"uxvzfqayopbtsi\",\"mtu\":835835875,\"vlanId\":1071317896,\"fabricASN\":2006225394811719287,\"peerASN\":4978436687910136773,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1653739504,\"multiplier\":635232448},\"ingressAclId\":\"yqmarxneib\",\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"egressAclId\":\"bjdqkn\",\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]}},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1117526151,\"multiplier\":146984176},\"ipv4Routes\":[{\"prefix\":\"rju\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"yiulayno\",\"nextHop\":[]},{\"prefix\":\"ugkfhaxttpfsm\",\"nextHop\":[]},{\"prefix\":\"gsgh\",\"nextHop\":[]}]},\"lastOperation\":{\"details\":\"umlddauqmllfe\"},\"networkFabricId\":\"hxuarig\",\"configurationState\":\"Rejected\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Disabled\"},\"id\":\"hvkr\",\"name\":\"zkuastaxklp\",\"type\":\"uul\"}],\"nextLink\":\"l\"}") .toObject(ExternalNetworksList.class); - Assertions.assertEquals("colmugp", model.value().get(0).annotation()); - Assertions.assertEquals("aosd", model.value().get(0).networkToNetworkInterconnectId()); - Assertions.assertEquals("wzxeygzvtyevjhu", model.value().get(0).importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("obguqisqsqk", model.value().get(0).importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("ioyj", model.value().get(0).exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("mlviqcpszpmcvqdv", model.value().get(0).exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.value().get(0).peeringOption()); - Assertions.assertEquals("yrx", model.value().get(0).optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("vqojbxaotcgbz", model.value().get(0).optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("yidoxznvg", + Assertions.assertEquals("irwcqzoofjnqjsv", model.value().get(0).annotation()); + Assertions.assertEquals("fbhtleberp", model.value().get(0).networkToNetworkInterconnectId()); + Assertions.assertEquals("eknfqnwjjqx", model.value().get(0).importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("kdnjrxgkrhwie", model.value().get(0).importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("pnowawonoehrguql", model.value().get(0).exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("wafbjzmp", model.value().get(0).exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.value().get(0).peeringOption()); + Assertions.assertEquals("fazbkoc", model.value().get(0).optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("ozf", model.value().get(0).optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("agaedaoi", model.value().get(0).optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("erxrzutylcurza", + Assertions.assertEquals("cooyvhtuqb", model.value().get(0).optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("ehtd", + Assertions.assertEquals("ftzb", model.value().get(0).optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("eactedcglskakdd", + Assertions.assertEquals("dc", model.value().get(0).optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("dyhbrjj", model.value().get(0).optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("lxrdsjrholuqwgus", model.value().get(0).optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("hdodpjwy", model.value().get(0).optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("vtbdm", model.value().get(0).optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1935503817, model.value().get(0).optionAProperties().mtu()); - Assertions.assertEquals(45364466, model.value().get(0).optionAProperties().vlanId()); - Assertions.assertEquals(312612104215403301L, model.value().get(0).optionAProperties().peerAsn()); - Assertions.assertEquals(1991928180, + Assertions.assertEquals("bzwgwhgkgsoau", model.value().get(0).optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("rssat", model.value().get(0).optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("bipufdmxuqbdqnas", model.value().get(0).optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("uxvzfqayopbtsi", model.value().get(0).optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(835835875, model.value().get(0).optionAProperties().mtu()); + Assertions.assertEquals(1071317896, model.value().get(0).optionAProperties().vlanId()); + Assertions.assertEquals(4978436687910136773L, model.value().get(0).optionAProperties().peerAsn()); + Assertions.assertEquals(1653739504, model.value().get(0).optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1901075904, model.value().get(0).optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("jfb", model.value().get(0).optionAProperties().ingressAclId()); - Assertions.assertEquals(BmpConfigurationState.DISABLED, + Assertions.assertEquals(635232448, model.value().get(0).optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("yqmarxneib", model.value().get(0).optionAProperties().ingressAclId()); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.value().get(0).optionAProperties().bmpConfiguration().configurationState()); - Assertions.assertEquals("gdusxurs", model.value().get(0).optionAProperties().egressAclId()); - Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, + Assertions.assertEquals("bjdqkn", model.value().get(0).optionAProperties().egressAclId()); + Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.value().get(0).optionAProperties().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.value().get(0).optionAProperties().v6OverV4BgpSession()); - Assertions.assertEquals(1339225652, + Assertions.assertEquals(1117526151, model.value().get(0).staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(861314437, + Assertions.assertEquals(146984176, model.value().get(0).staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("fwihvaan", - model.value().get(0).staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nhjrfdmfd", + Assertions.assertEquals("rju", model.value().get(0).staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("yiulayno", model.value().get(0).staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("nkwmnfeub", model.nextLink()); + Assertions.assertEquals("l", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricLockPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricLockPropertiesTests.java index ce47b9a03c353..19bc47aa04c19 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricLockPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FabricLockPropertiesTests.java @@ -14,9 +14,9 @@ public final class FabricLockPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { FabricLockProperties model - = BinaryData.fromString("{\"lockState\":\"Disabled\",\"lockType\":\"Configuration\"}") + = BinaryData.fromString("{\"lockState\":\"Enabled\",\"lockType\":\"Administrative\"}") .toObject(FabricLockProperties.class); - Assertions.assertEquals(LockConfigurationState.DISABLED, model.lockState()); - Assertions.assertEquals(NetworkFabricLockType.CONFIGURATION, model.lockType()); + Assertions.assertEquals(LockConfigurationState.ENABLED, model.lockState()); + Assertions.assertEquals(NetworkFabricLockType.ADMINISTRATIVE, model.lockType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FeatureFlagPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FeatureFlagPropertiesTests.java index cf34d3df947e9..471ce6cca5eed 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FeatureFlagPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/FeatureFlagPropertiesTests.java @@ -12,18 +12,18 @@ public final class FeatureFlagPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { FeatureFlagProperties model - = BinaryData.fromString("{\"featureFlagName\":\"cyoseqcazisvbrqg\",\"featureFlagValue\":\"jp\"}") + = BinaryData.fromString("{\"featureFlagName\":\"rab\",\"featureFlagValue\":\"rwwxywpj\"}") .toObject(FeatureFlagProperties.class); - Assertions.assertEquals("cyoseqcazisvbrqg", model.featureFlagName()); - Assertions.assertEquals("jp", model.featureFlagValue()); + Assertions.assertEquals("rab", model.featureFlagName()); + Assertions.assertEquals("rwwxywpj", model.featureFlagValue()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { FeatureFlagProperties model - = new FeatureFlagProperties().withFeatureFlagName("cyoseqcazisvbrqg").withFeatureFlagValue("jp"); + = new FeatureFlagProperties().withFeatureFlagName("rab").withFeatureFlagValue("rwwxywpj"); model = BinaryData.fromObject(model).toObject(FeatureFlagProperties.class); - Assertions.assertEquals("cyoseqcazisvbrqg", model.featureFlagName()); - Assertions.assertEquals("jp", model.featureFlagValue()); + Assertions.assertEquals("rab", model.featureFlagName()); + Assertions.assertEquals("rwwxywpj", model.featureFlagValue()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GetTopologyResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GetTopologyResponsePropertiesTests.java index e23a5f83b4daf..a178a540365bd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GetTopologyResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GetTopologyResponsePropertiesTests.java @@ -12,7 +12,7 @@ public final class GetTopologyResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { GetTopologyResponseProperties model - = BinaryData.fromString("{\"url\":\"ibxovu\"}").toObject(GetTopologyResponseProperties.class); - Assertions.assertEquals("ibxovu", model.url()); + = BinaryData.fromString("{\"url\":\"otoc\"}").toObject(GetTopologyResponseProperties.class); + Assertions.assertEquals("otoc", model.url()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPatchPropertiesTests.java index 109a413436f1b..2e2617d3dc5a2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPatchPropertiesTests.java @@ -13,19 +13,19 @@ public final class GlobalNetworkTapRuleActionPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { GlobalNetworkTapRuleActionPatchProperties model - = BinaryData.fromString("{\"enableCount\":\"False\",\"truncate\":\"a\"}") + = BinaryData.fromString("{\"enableCount\":\"False\",\"truncate\":\"hxmlfouqps\"}") .toObject(GlobalNetworkTapRuleActionPatchProperties.class); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.enableCount()); - Assertions.assertEquals("a", model.truncate()); + Assertions.assertEquals("hxmlfouqps", model.truncate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { GlobalNetworkTapRuleActionPatchProperties model = new GlobalNetworkTapRuleActionPatchProperties().withEnableCount(BooleanEnumProperty.FALSE) - .withTruncate("a"); + .withTruncate("hxmlfouqps"); model = BinaryData.fromObject(model).toObject(GlobalNetworkTapRuleActionPatchProperties.class); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.enableCount()); - Assertions.assertEquals("a", model.truncate()); + Assertions.assertEquals("hxmlfouqps", model.truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPropertiesTests.java index 845e2e0d712a9..c95bc99f2e72d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/GlobalNetworkTapRuleActionPropertiesTests.java @@ -13,19 +13,19 @@ public final class GlobalNetworkTapRuleActionPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { GlobalNetworkTapRuleActionProperties model - = BinaryData.fromString("{\"enableCount\":\"True\",\"truncate\":\"dpvhwirilam\"}") + = BinaryData.fromString("{\"enableCount\":\"True\",\"truncate\":\"eswvnhqkgebzqz\"}") .toObject(GlobalNetworkTapRuleActionProperties.class); Assertions.assertEquals(BooleanEnumProperty.TRUE, model.enableCount()); - Assertions.assertEquals("dpvhwirilam", model.truncate()); + Assertions.assertEquals("eswvnhqkgebzqz", model.truncate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { GlobalNetworkTapRuleActionProperties model = new GlobalNetworkTapRuleActionProperties().withEnableCount(BooleanEnumProperty.TRUE) - .withTruncate("dpvhwirilam"); + .withTruncate("eswvnhqkgebzqz"); model = BinaryData.fromObject(model).toObject(GlobalNetworkTapRuleActionProperties.class); Assertions.assertEquals(BooleanEnumProperty.TRUE, model.enableCount()); - Assertions.assertEquals("dpvhwirilam", model.truncate()); + Assertions.assertEquals("eswvnhqkgebzqz", model.truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/HeaderAddressPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/HeaderAddressPropertiesTests.java index 0e45577b7e4d3..2da63b3ae88f7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/HeaderAddressPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/HeaderAddressPropertiesTests.java @@ -12,18 +12,19 @@ public final class HeaderAddressPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - HeaderAddressProperties model = BinaryData.fromString("{\"headerName\":\"ysh\",\"addressList\":[\"kvb\"]}") - .toObject(HeaderAddressProperties.class); - Assertions.assertEquals("ysh", model.headerName()); - Assertions.assertEquals("kvb", model.addressList().get(0)); + HeaderAddressProperties model + = BinaryData.fromString("{\"headerName\":\"yvwehtaemxh\",\"addressList\":[\"se\"]}") + .toObject(HeaderAddressProperties.class); + Assertions.assertEquals("yvwehtaemxh", model.headerName()); + Assertions.assertEquals("se", model.addressList().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { HeaderAddressProperties model - = new HeaderAddressProperties().withHeaderName("ysh").withAddressList(Arrays.asList("kvb")); + = new HeaderAddressProperties().withHeaderName("yvwehtaemxh").withAddressList(Arrays.asList("se")); model = BinaryData.fromObject(model).toObject(HeaderAddressProperties.class); - Assertions.assertEquals("ysh", model.headerName()); - Assertions.assertEquals("kvb", model.addressList().get(0)); + Assertions.assertEquals("yvwehtaemxh", model.headerName()); + Assertions.assertEquals("se", model.addressList().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorPatchTests.java index 4d71bb5a10aff..682ccc4daa0e1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorPatchTests.java @@ -13,20 +13,19 @@ public final class IdentitySelectorPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IdentitySelectorPatch model = BinaryData - .fromString( - "{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"ivjmxmlitqdsjipd\"}") + .fromString("{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"whttnzqs\"}") .toObject(IdentitySelectorPatch.class); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identityType()); - Assertions.assertEquals("ivjmxmlitqdsjipd", model.userAssignedIdentityResourceId()); + Assertions.assertEquals("whttnzqs", model.userAssignedIdentityResourceId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { IdentitySelectorPatch model = new IdentitySelectorPatch().withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("ivjmxmlitqdsjipd"); + .withUserAssignedIdentityResourceId("whttnzqs"); model = BinaryData.fromObject(model).toObject(IdentitySelectorPatch.class); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identityType()); - Assertions.assertEquals("ivjmxmlitqdsjipd", model.userAssignedIdentityResourceId()); + Assertions.assertEquals("whttnzqs", model.userAssignedIdentityResourceId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorTests.java index a39f101e1a7e4..7f58557e4bde0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IdentitySelectorTests.java @@ -13,19 +13,19 @@ public final class IdentitySelectorTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IdentitySelector model = BinaryData - .fromString("{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"h\"}") + .fromString("{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"meh\"}") .toObject(IdentitySelector.class); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identityType()); - Assertions.assertEquals("h", model.userAssignedIdentityResourceId()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, model.identityType()); + Assertions.assertEquals("meh", model.userAssignedIdentityResourceId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { IdentitySelector model - = new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("h"); + = new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("meh"); model = BinaryData.fromObject(model).toObject(IdentitySelector.class); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identityType()); - Assertions.assertEquals("h", model.userAssignedIdentityResourceId()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, model.identityType()); + Assertions.assertEquals("meh", model.userAssignedIdentityResourceId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationPatchTests.java index 7027dad097dd4..68fc4591268e1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationPatchTests.java @@ -11,20 +11,20 @@ public final class ImportRoutePolicyInformationPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ImportRoutePolicyInformationPatch model = BinaryData - .fromString("{\"importIpv4RoutePolicyId\":\"zckjbcbkgnrfrj\",\"importIpv6RoutePolicyId\":\"hjxncqzahg\"}") - .toObject(ImportRoutePolicyInformationPatch.class); - Assertions.assertEquals("zckjbcbkgnrfrj", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("hjxncqzahg", model.importIpv6RoutePolicyId()); + ImportRoutePolicyInformationPatch model + = BinaryData.fromString("{\"importIpv4RoutePolicyId\":\"svpzxgnywxuy\",\"importIpv6RoutePolicyId\":\"fj\"}") + .toObject(ImportRoutePolicyInformationPatch.class); + Assertions.assertEquals("svpzxgnywxuy", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("fj", model.importIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ImportRoutePolicyInformationPatch model - = new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId("zckjbcbkgnrfrj") - .withImportIpv6RoutePolicyId("hjxncqzahg"); + = new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId("svpzxgnywxuy") + .withImportIpv6RoutePolicyId("fj"); model = BinaryData.fromObject(model).toObject(ImportRoutePolicyInformationPatch.class); - Assertions.assertEquals("zckjbcbkgnrfrj", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("hjxncqzahg", model.importIpv6RoutePolicyId()); + Assertions.assertEquals("svpzxgnywxuy", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("fj", model.importIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationTests.java index 61697ae5614e2..a46fff16ca7e9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyInformationTests.java @@ -12,19 +12,18 @@ public final class ImportRoutePolicyInformationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportRoutePolicyInformation model = BinaryData - .fromString("{\"importIpv4RoutePolicyId\":\"dlhuduklbjo\",\"importIpv6RoutePolicyId\":\"mjfexulvoep\"}") + .fromString("{\"importIpv4RoutePolicyId\":\"nqyxfedq\",\"importIpv6RoutePolicyId\":\"tdqwynxo\"}") .toObject(ImportRoutePolicyInformation.class); - Assertions.assertEquals("dlhuduklbjo", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("mjfexulvoep", model.importIpv6RoutePolicyId()); + Assertions.assertEquals("nqyxfedq", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("tdqwynxo", model.importIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportRoutePolicyInformation model - = new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("dlhuduklbjo") - .withImportIpv6RoutePolicyId("mjfexulvoep"); + ImportRoutePolicyInformation model = new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("nqyxfedq") + .withImportIpv6RoutePolicyId("tdqwynxo"); model = BinaryData.fromObject(model).toObject(ImportRoutePolicyInformation.class); - Assertions.assertEquals("dlhuduklbjo", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("mjfexulvoep", model.importIpv6RoutePolicyId()); + Assertions.assertEquals("nqyxfedq", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("tdqwynxo", model.importIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyPatchTests.java index d73de438c6fda..2471202acd4c2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyPatchTests.java @@ -11,19 +11,19 @@ public final class ImportRoutePolicyPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ImportRoutePolicyPatch model = BinaryData - .fromString("{\"importIpv4RoutePolicyId\":\"jecooyvhtu\",\"importIpv6RoutePolicyId\":\"pelniibn\"}") - .toObject(ImportRoutePolicyPatch.class); - Assertions.assertEquals("jecooyvhtu", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("pelniibn", model.importIpv6RoutePolicyId()); + ImportRoutePolicyPatch model + = BinaryData.fromString("{\"importIpv4RoutePolicyId\":\"tpzcr\",\"importIpv6RoutePolicyId\":\"kll\"}") + .toObject(ImportRoutePolicyPatch.class); + Assertions.assertEquals("tpzcr", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("kll", model.importIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportRoutePolicyPatch model = new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId("jecooyvhtu") - .withImportIpv6RoutePolicyId("pelniibn"); + ImportRoutePolicyPatch model + = new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId("tpzcr").withImportIpv6RoutePolicyId("kll"); model = BinaryData.fromObject(model).toObject(ImportRoutePolicyPatch.class); - Assertions.assertEquals("jecooyvhtu", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("pelniibn", model.importIpv6RoutePolicyId()); + Assertions.assertEquals("tpzcr", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("kll", model.importIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyTests.java index f5bf3e1f68dc7..a7c6a4cab9916 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ImportRoutePolicyTests.java @@ -11,19 +11,19 @@ public final class ImportRoutePolicyTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ImportRoutePolicy model = BinaryData - .fromString("{\"importIpv4RoutePolicyId\":\"k\",\"importIpv6RoutePolicyId\":\"dvrgliegftcvbi\"}") - .toObject(ImportRoutePolicy.class); - Assertions.assertEquals("k", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("dvrgliegftcvbi", model.importIpv6RoutePolicyId()); + ImportRoutePolicy model + = BinaryData.fromString("{\"importIpv4RoutePolicyId\":\"r\",\"importIpv6RoutePolicyId\":\"iegftc\"}") + .toObject(ImportRoutePolicy.class); + Assertions.assertEquals("r", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("iegftc", model.importIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ImportRoutePolicy model - = new ImportRoutePolicy().withImportIpv4RoutePolicyId("k").withImportIpv6RoutePolicyId("dvrgliegftcvbi"); + = new ImportRoutePolicy().withImportIpv4RoutePolicyId("r").withImportIpv6RoutePolicyId("iegftc"); model = BinaryData.fromObject(model).toObject(ImportRoutePolicy.class); - Assertions.assertEquals("k", model.importIpv4RoutePolicyId()); - Assertions.assertEquals("dvrgliegftcvbi", model.importIpv6RoutePolicyId()); + Assertions.assertEquals("r", model.importIpv4RoutePolicyId()); + Assertions.assertEquals("iegftc", model.importIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkOptionalIpTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkOptionalIpTests.java new file mode 100644 index 0000000000000..1ebfaf990a04a --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkOptionalIpTests.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp; +import org.junit.jupiter.api.Assertions; + +public final class InfraNetworkOptionalIpTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + InfraNetworkOptionalIp model = BinaryData.fromString( + "{\"vlanId\":412647091,\"ipv4Subnet\":\"v\",\"ipv4Gateway\":\"dulymk\",\"ipv4StartAddr\":\"s\",\"ipv4EndAddr\":\"h\",\"mtu\":769273582}") + .toObject(InfraNetworkOptionalIp.class); + Assertions.assertEquals(412647091, model.vlanId()); + Assertions.assertEquals("v", model.ipv4Subnet()); + Assertions.assertEquals("dulymk", model.ipv4Gateway()); + Assertions.assertEquals("s", model.ipv4StartAddr()); + Assertions.assertEquals("h", model.ipv4EndAddr()); + Assertions.assertEquals(769273582, model.mtu()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + InfraNetworkOptionalIp model = new InfraNetworkOptionalIp().withVlanId(412647091) + .withIpv4Subnet("v") + .withIpv4Gateway("dulymk") + .withIpv4StartAddr("s") + .withIpv4EndAddr("h") + .withMtu(769273582); + model = BinaryData.fromObject(model).toObject(InfraNetworkOptionalIp.class); + Assertions.assertEquals(412647091, model.vlanId()); + Assertions.assertEquals("v", model.ipv4Subnet()); + Assertions.assertEquals("dulymk", model.ipv4Gateway()); + Assertions.assertEquals("s", model.ipv4StartAddr()); + Assertions.assertEquals("h", model.ipv4EndAddr()); + Assertions.assertEquals(769273582, model.mtu()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkTests.java new file mode 100644 index 0000000000000..16bd221054bcc --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfraNetworkTests.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork; +import org.junit.jupiter.api.Assertions; + +public final class InfraNetworkTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + InfraNetwork model = BinaryData.fromString( + "{\"vlanId\":808307718,\"ipv4Subnet\":\"tyyysqnwnl\",\"ipv4Gateway\":\"fzfjdzkfthsydph\",\"ipv4StartAddr\":\"bzz\",\"ipv4EndAddr\":\"tf\",\"mtu\":577090092}") + .toObject(InfraNetwork.class); + Assertions.assertEquals(808307718, model.vlanId()); + Assertions.assertEquals("tyyysqnwnl", model.ipv4Subnet()); + Assertions.assertEquals("fzfjdzkfthsydph", model.ipv4Gateway()); + Assertions.assertEquals("bzz", model.ipv4StartAddr()); + Assertions.assertEquals("tf", model.ipv4EndAddr()); + Assertions.assertEquals(577090092, model.mtu()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + InfraNetwork model = new InfraNetwork().withVlanId(808307718) + .withIpv4Subnet("tyyysqnwnl") + .withIpv4Gateway("fzfjdzkfthsydph") + .withIpv4StartAddr("bzz") + .withIpv4EndAddr("tf") + .withMtu(577090092); + model = BinaryData.fromObject(model).toObject(InfraNetwork.class); + Assertions.assertEquals(808307718, model.vlanId()); + Assertions.assertEquals("tyyysqnwnl", model.ipv4Subnet()); + Assertions.assertEquals("fzfjdzkfthsydph", model.ipv4Gateway()); + Assertions.assertEquals("bzz", model.ipv4StartAddr()); + Assertions.assertEquals("tf", model.ipv4EndAddr()); + Assertions.assertEquals(577090092, model.mtu()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureNetworksTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureNetworksTests.java new file mode 100644 index 0000000000000..df3b07a639643 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureNetworksTests.java @@ -0,0 +1,134 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork; +import com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp; +import com.azure.resourcemanager.managednetworkfabric.models.InfrastructureNetworks; +import org.junit.jupiter.api.Assertions; + +public final class InfrastructureNetworksTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + InfrastructureNetworks model = BinaryData.fromString( + "{\"management\":{\"vlanId\":893888807,\"ipv4Subnet\":\"gfbmpsz\",\"ipv4Gateway\":\"kbcstzuwbgaes\",\"ipv4StartAddr\":\"axdwxrwqtbvw\",\"ipv4EndAddr\":\"dta\",\"mtu\":102821362},\"pxe\":{\"vlanId\":754456609,\"ipv4Subnet\":\"lkgjhomywlypghhu\",\"ipv4Gateway\":\"u\",\"ipv4StartAddr\":\"yfvgpqwgiqmbrisk\",\"ipv4EndAddr\":\"b\",\"mtu\":2131277712},\"bmc\":{\"vlanId\":456079898,\"ipv4Subnet\":\"qfvyq\",\"ipv4Gateway\":\"mc\",\"ipv4StartAddr\":\"uguvlieegjnqwh\",\"ipv4EndAddr\":\"joxsehj\",\"mtu\":56051040},\"storage\":{\"vlanId\":600940693,\"ipv4Subnet\":\"c\",\"ipv4Gateway\":\"waucftote\",\"ipv4StartAddr\":\"hjxdlmuhf\",\"ipv4EndAddr\":\"j\",\"mtu\":142284541},\"storageMgmt\":{\"vlanId\":1191719743,\"ipv4Subnet\":\"m\",\"ipv4Gateway\":\"s\",\"ipv4StartAddr\":\"axrhljwqu\",\"ipv4EndAddr\":\"dpypb\",\"mtu\":1423148044},\"pdu\":{\"vlanId\":2098891037,\"ipv4Subnet\":\"xfpwmajvwfijf\",\"ipv4Gateway\":\"jjrvsvhmsmrihdd\",\"ipv4StartAddr\":\"bwlbqn\",\"ipv4EndAddr\":\"dderrxyiwuzpsvcm\",\"mtu\":2082453760}}") + .toObject(InfrastructureNetworks.class); + Assertions.assertEquals(893888807, model.management().vlanId()); + Assertions.assertEquals("gfbmpsz", model.management().ipv4Subnet()); + Assertions.assertEquals("kbcstzuwbgaes", model.management().ipv4Gateway()); + Assertions.assertEquals("axdwxrwqtbvw", model.management().ipv4StartAddr()); + Assertions.assertEquals("dta", model.management().ipv4EndAddr()); + Assertions.assertEquals(102821362, model.management().mtu()); + Assertions.assertEquals(754456609, model.pxe().vlanId()); + Assertions.assertEquals("lkgjhomywlypghhu", model.pxe().ipv4Subnet()); + Assertions.assertEquals("u", model.pxe().ipv4Gateway()); + Assertions.assertEquals("yfvgpqwgiqmbrisk", model.pxe().ipv4StartAddr()); + Assertions.assertEquals("b", model.pxe().ipv4EndAddr()); + Assertions.assertEquals(2131277712, model.pxe().mtu()); + Assertions.assertEquals(456079898, model.bmc().vlanId()); + Assertions.assertEquals("qfvyq", model.bmc().ipv4Subnet()); + Assertions.assertEquals("mc", model.bmc().ipv4Gateway()); + Assertions.assertEquals("uguvlieegjnqwh", model.bmc().ipv4StartAddr()); + Assertions.assertEquals("joxsehj", model.bmc().ipv4EndAddr()); + Assertions.assertEquals(56051040, model.bmc().mtu()); + Assertions.assertEquals(600940693, model.storage().vlanId()); + Assertions.assertEquals("c", model.storage().ipv4Subnet()); + Assertions.assertEquals("waucftote", model.storage().ipv4Gateway()); + Assertions.assertEquals("hjxdlmuhf", model.storage().ipv4StartAddr()); + Assertions.assertEquals("j", model.storage().ipv4EndAddr()); + Assertions.assertEquals(142284541, model.storage().mtu()); + Assertions.assertEquals(1191719743, model.storageMgmt().vlanId()); + Assertions.assertEquals("m", model.storageMgmt().ipv4Subnet()); + Assertions.assertEquals("s", model.storageMgmt().ipv4Gateway()); + Assertions.assertEquals("axrhljwqu", model.storageMgmt().ipv4StartAddr()); + Assertions.assertEquals("dpypb", model.storageMgmt().ipv4EndAddr()); + Assertions.assertEquals(1423148044, model.storageMgmt().mtu()); + Assertions.assertEquals(2098891037, model.pdu().vlanId()); + Assertions.assertEquals("xfpwmajvwfijf", model.pdu().ipv4Subnet()); + Assertions.assertEquals("jjrvsvhmsmrihdd", model.pdu().ipv4Gateway()); + Assertions.assertEquals("bwlbqn", model.pdu().ipv4StartAddr()); + Assertions.assertEquals("dderrxyiwuzpsvcm", model.pdu().ipv4EndAddr()); + Assertions.assertEquals(2082453760, model.pdu().mtu()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + InfrastructureNetworks model = new InfrastructureNetworks() + .withManagement(new InfraNetwork().withVlanId(893888807) + .withIpv4Subnet("gfbmpsz") + .withIpv4Gateway("kbcstzuwbgaes") + .withIpv4StartAddr("axdwxrwqtbvw") + .withIpv4EndAddr("dta") + .withMtu(102821362)) + .withPxe(new InfraNetwork().withVlanId(754456609) + .withIpv4Subnet("lkgjhomywlypghhu") + .withIpv4Gateway("u") + .withIpv4StartAddr("yfvgpqwgiqmbrisk") + .withIpv4EndAddr("b") + .withMtu(2131277712)) + .withBmc(new InfraNetwork().withVlanId(456079898) + .withIpv4Subnet("qfvyq") + .withIpv4Gateway("mc") + .withIpv4StartAddr("uguvlieegjnqwh") + .withIpv4EndAddr("joxsehj") + .withMtu(56051040)) + .withStorage(new InfraNetwork().withVlanId(600940693) + .withIpv4Subnet("c") + .withIpv4Gateway("waucftote") + .withIpv4StartAddr("hjxdlmuhf") + .withIpv4EndAddr("j") + .withMtu(142284541)) + .withStorageMgmt(new InfraNetworkOptionalIp().withVlanId(1191719743) + .withIpv4Subnet("m") + .withIpv4Gateway("s") + .withIpv4StartAddr("axrhljwqu") + .withIpv4EndAddr("dpypb") + .withMtu(1423148044)) + .withPdu(new InfraNetwork().withVlanId(2098891037) + .withIpv4Subnet("xfpwmajvwfijf") + .withIpv4Gateway("jjrvsvhmsmrihdd") + .withIpv4StartAddr("bwlbqn") + .withIpv4EndAddr("dderrxyiwuzpsvcm") + .withMtu(2082453760)); + model = BinaryData.fromObject(model).toObject(InfrastructureNetworks.class); + Assertions.assertEquals(893888807, model.management().vlanId()); + Assertions.assertEquals("gfbmpsz", model.management().ipv4Subnet()); + Assertions.assertEquals("kbcstzuwbgaes", model.management().ipv4Gateway()); + Assertions.assertEquals("axdwxrwqtbvw", model.management().ipv4StartAddr()); + Assertions.assertEquals("dta", model.management().ipv4EndAddr()); + Assertions.assertEquals(102821362, model.management().mtu()); + Assertions.assertEquals(754456609, model.pxe().vlanId()); + Assertions.assertEquals("lkgjhomywlypghhu", model.pxe().ipv4Subnet()); + Assertions.assertEquals("u", model.pxe().ipv4Gateway()); + Assertions.assertEquals("yfvgpqwgiqmbrisk", model.pxe().ipv4StartAddr()); + Assertions.assertEquals("b", model.pxe().ipv4EndAddr()); + Assertions.assertEquals(2131277712, model.pxe().mtu()); + Assertions.assertEquals(456079898, model.bmc().vlanId()); + Assertions.assertEquals("qfvyq", model.bmc().ipv4Subnet()); + Assertions.assertEquals("mc", model.bmc().ipv4Gateway()); + Assertions.assertEquals("uguvlieegjnqwh", model.bmc().ipv4StartAddr()); + Assertions.assertEquals("joxsehj", model.bmc().ipv4EndAddr()); + Assertions.assertEquals(56051040, model.bmc().mtu()); + Assertions.assertEquals(600940693, model.storage().vlanId()); + Assertions.assertEquals("c", model.storage().ipv4Subnet()); + Assertions.assertEquals("waucftote", model.storage().ipv4Gateway()); + Assertions.assertEquals("hjxdlmuhf", model.storage().ipv4StartAddr()); + Assertions.assertEquals("j", model.storage().ipv4EndAddr()); + Assertions.assertEquals(142284541, model.storage().mtu()); + Assertions.assertEquals(1191719743, model.storageMgmt().vlanId()); + Assertions.assertEquals("m", model.storageMgmt().ipv4Subnet()); + Assertions.assertEquals("s", model.storageMgmt().ipv4Gateway()); + Assertions.assertEquals("axrhljwqu", model.storageMgmt().ipv4StartAddr()); + Assertions.assertEquals("dpypb", model.storageMgmt().ipv4EndAddr()); + Assertions.assertEquals(1423148044, model.storageMgmt().mtu()); + Assertions.assertEquals(2098891037, model.pdu().vlanId()); + Assertions.assertEquals("xfpwmajvwfijf", model.pdu().ipv4Subnet()); + Assertions.assertEquals("jjrvsvhmsmrihdd", model.pdu().ipv4Gateway()); + Assertions.assertEquals("bwlbqn", model.pdu().ipv4StartAddr()); + Assertions.assertEquals("dderrxyiwuzpsvcm", model.pdu().ipv4EndAddr()); + Assertions.assertEquals(2082453760, model.pdu().mtu()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureServicesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureServicesTests.java new file mode 100644 index 0000000000000..066e624244cea --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InfrastructureServicesTests.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.InfrastructureServices; +import com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy; +import java.util.Arrays; +import org.junit.jupiter.api.Assertions; + +public final class InfrastructureServicesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + InfrastructureServices model = BinaryData.fromString( + "{\"platformProxy\":{\"httpProxy\":\"haenpftkgmbmv\",\"httpsProxy\":\"biubzg\",\"noProxy\":[\"s\",\"tbame\"]},\"ntpServers\":[\"busnaq\",\"vruuhyncppmmwh\"],\"dnsServers\":[\"rlurgip\",\"nbxlep\",\"mckgpxdxgcq\",\"guvdk\"]}") + .toObject(InfrastructureServices.class); + Assertions.assertEquals("haenpftkgmbmv", model.platformProxy().httpProxy()); + Assertions.assertEquals("biubzg", model.platformProxy().httpsProxy()); + Assertions.assertEquals("s", model.platformProxy().noProxy().get(0)); + Assertions.assertEquals("busnaq", model.ntpServers().get(0)); + Assertions.assertEquals("rlurgip", model.dnsServers().get(0)); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + InfrastructureServices model = new InfrastructureServices() + .withPlatformProxy(new PlatformProxy().withHttpProxy("haenpftkgmbmv") + .withHttpsProxy("biubzg") + .withNoProxy(Arrays.asList("s", "tbame"))) + .withNtpServers(Arrays.asList("busnaq", "vruuhyncppmmwh")) + .withDnsServers(Arrays.asList("rlurgip", "nbxlep", "mckgpxdxgcq", "guvdk")); + model = BinaryData.fromObject(model).toObject(InfrastructureServices.class); + Assertions.assertEquals("haenpftkgmbmv", model.platformProxy().httpProxy()); + Assertions.assertEquals("biubzg", model.platformProxy().httpsProxy()); + Assertions.assertEquals("s", model.platformProxy().noProxy().get(0)); + Assertions.assertEquals("busnaq", model.ntpServers().get(0)); + Assertions.assertEquals("rlurgip", model.dnsServers().get(0)); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPatchPropertiesTests.java index b90acf6238861..918fb80234eb4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPatchPropertiesTests.java @@ -14,19 +14,19 @@ public final class InternalNetworkBmpPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkBmpPatchProperties model = BinaryData.fromString( - "{\"neighborIpExclusions\":[\"mpdxxzetwwzjwotn\",\"lkfhglhrfoxqwec\",\"snhpcselqx\"],\"bmpConfigurationState\":\"Enabled\"}") + "{\"neighborIpExclusions\":[\"sdyepfno\",\"mbezacfpztg\",\"zwyqejga\",\"okctgkppgkqzkc\"],\"bmpConfigurationState\":\"Disabled\"}") .toObject(InternalNetworkBmpPatchProperties.class); - Assertions.assertEquals("mpdxxzetwwzjwotn", model.neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfigurationState()); + Assertions.assertEquals("sdyepfno", model.neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfigurationState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { InternalNetworkBmpPatchProperties model = new InternalNetworkBmpPatchProperties() - .withNeighborIpExclusions(Arrays.asList("mpdxxzetwwzjwotn", "lkfhglhrfoxqwec", "snhpcselqx")) - .withBmpConfigurationState(BmpConfigurationState.ENABLED); + .withNeighborIpExclusions(Arrays.asList("sdyepfno", "mbezacfpztg", "zwyqejga", "okctgkppgkqzkc")) + .withBmpConfigurationState(BmpConfigurationState.DISABLED); model = BinaryData.fromObject(model).toObject(InternalNetworkBmpPatchProperties.class); - Assertions.assertEquals("mpdxxzetwwzjwotn", model.neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfigurationState()); + Assertions.assertEquals("sdyepfno", model.neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfigurationState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPropertiesTests.java index 116cc0b9cb862..adb8977b18ef0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkBmpPropertiesTests.java @@ -16,24 +16,23 @@ public final class InternalNetworkBmpPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkBmpProperties model = BinaryData.fromString( - "{\"neighborIpExclusions\":[\"bgnixxoww\",\"kyfwnwpiwxeiicr\",\"p\",\"pk\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"All\",\"Pre-Policy\",\"Post-Policy\"]}}") + "{\"neighborIpExclusions\":[\"ws\",\"gkjgya\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"All\",\"Post-Policy\"]}}") .toObject(InternalNetworkBmpProperties.class); - Assertions.assertEquals("bgnixxoww", model.neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("ws", model.neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfigurationState()); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternalNetworkBmpProperties model = new InternalNetworkBmpProperties() - .withNeighborIpExclusions(Arrays.asList("bgnixxoww", "kyfwnwpiwxeiicr", "p", "pk")) - .withBmpConfigurationState(BmpConfigurationState.DISABLED) - .withExportPolicyConfiguration( - new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY, - BmpExportPolicy.ALL, BmpExportPolicy.PRE_POLICY, BmpExportPolicy.POST_POLICY))); + InternalNetworkBmpProperties model + = new InternalNetworkBmpProperties().withNeighborIpExclusions(Arrays.asList("ws", "gkjgya")) + .withBmpConfigurationState(BmpConfigurationState.ENABLED) + .withExportPolicyConfiguration(new BmpExportPolicyProperties().withExportPolicies( + Arrays.asList(BmpExportPolicy.POST_POLICY, BmpExportPolicy.ALL, BmpExportPolicy.POST_POLICY))); model = BinaryData.fromObject(model).toObject(InternalNetworkBmpProperties.class); - Assertions.assertEquals("bgnixxoww", model.neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("ws", model.neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bmpConfigurationState()); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkInnerTests.java index 184dbe6220326..5c462c4f04c00 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkInnerTests.java @@ -34,175 +34,172 @@ public final class InternalNetworkInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"lflec\",\"extension\":\"NPB\",\"mtu\":1151093762,\"connectedIPv4Subnets\":[{\"prefix\":\"jluxxdhi\",\"annotation\":\"zd\"},{\"prefix\":\"zqjmueza\",\"annotation\":\"vribqlotokht\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"azn\",\"annotation\":\"qww\"},{\"prefix\":\"wjyofgwhnkbtl\",\"annotation\":\"jssmctsnldkpwo\"},{\"prefix\":\"gisubxbt\",\"annotation\":\"gfgf\"},{\"prefix\":\"ij\",\"annotation\":\"kw\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"k\",\"importIpv6RoutePolicyId\":\"qceazfpxgnmq\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"luyqqaiossscyvai\",\"exportIpv6RoutePolicyId\":\"p\"},\"ingressAclId\":\"cvfyeowpsfxtjdhs\",\"egressAclId\":\"mhpv\",\"isMonitoringEnabled\":\"False\",\"vlanId\":1256940600,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1419448739,\"multiplier\":456494066},\"defaultRouteOriginate\":\"False\",\"allowAS\":40088997,\"allowASOverride\":\"Disable\",\"fabricASN\":5433663899923832163,\"peerASN\":8465563790487729489,\"ipv4ListenRangePrefixes\":[\"dedsuenygnxcgjtf\"],\"ipv6ListenRangePrefixes\":[\"uktrfnslnlrx\",\"myltrwntfmtbg\",\"jdxwnazkurrdre\"],\"ipv4NeighborAddress\":[{\"address\":\"hsetwwj\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioned\"}],\"ipv6NeighborAddress\":[{\"address\":\"kykcyqhyqqzz\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"PendingCommit\"},{\"address\":\"ewfopazdazg\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioned\"},{\"address\":\"c\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Rejected\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"lq\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"yowmndcovdw\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":177742602,\"multiplier\":1293844399},\"ipv4Routes\":[{\"prefix\":\"vfruwkudrbcpft\",\"nextHop\":[\"dqyemebunaucm\",\"irtneemmjau\"]},{\"prefix\":\"cgxefnohaitraniz\",\"nextHop\":[\"wgudasmxu\",\"vfbngfco\",\"ef\"]},{\"prefix\":\"priylfmp\",\"nextHop\":[\"raudsvhlcdcul\",\"egpqtmo\"]}],\"ipv6Routes\":[{\"prefix\":\"rztnv\",\"nextHop\":[\"shqrdgrt\",\"mewjzlpyk\",\"fa\"]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1458002388,\"threshold\":2138882754,\"idleTimeExpiry\":1724482587},{\"maximumRoutes\":1121969005,\"threshold\":1795034421,\"idleTimeExpiry\":362600474},{\"maximumRoutes\":1074401951,\"threshold\":1132932297,\"idleTimeExpiry\":606699153}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1138228089,\"threshold\":1712906594,\"idleTimeExpiry\":2011304532},{\"maximumRoutes\":1421281545,\"threshold\":1224722577,\"idleTimeExpiry\":2111387998},{\"maximumRoutes\":2003402338,\"threshold\":325474754,\"idleTimeExpiry\":941574835}]},\"lastOperation\":{\"details\":\"fqwtltngvm\"},\"networkFabricId\":\"uptrklz\",\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"id\":\"xfsv\",\"name\":\"ghmp\",\"type\":\"nwlslrcigtzjcvbx\"}") + "{\"properties\":{\"annotation\":\"teogfgfiijr\",\"extension\":\"NPB\",\"mtu\":348799566,\"connectedIPv4Subnets\":[{\"prefix\":\"s\",\"annotation\":\"ceazfpxgnmqvz\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"yqqaioss\",\"annotation\":\"yvaifpp\"},{\"prefix\":\"acvfyeowps\",\"annotation\":\"tjdhsoymhpvtyq\"},{\"prefix\":\"ttehdp\",\"annotation\":\"ujstk\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"dshx\",\"importIpv6RoutePolicyId\":\"edsuenygnxcgj\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"nquktrfnslnlrxs\",\"exportIpv6RoutePolicyId\":\"ltrwntfmtbg\"},\"ingressAclId\":\"dxwnazkurrd\",\"egressAclId\":\"yzjwhsetwwjwzzq\",\"isMonitoringEnabled\":\"True\",\"vlanId\":1143298744,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":296570736,\"multiplier\":1230505092},\"defaultRouteOriginate\":\"True\",\"allowAS\":1034433252,\"allowASOverride\":\"Disable\",\"fabricASN\":500216176336318292,\"peerASN\":4053997043764952005,\"ipv4ListenRangePrefixes\":[\"tewfopazdazgbsq\",\"pew\"],\"ipv6ListenRangePrefixes\":[\"utmdpvozg\"],\"ipv4NeighborAddress\":[{\"address\":\"kn\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"CommitRollbackFailed\"}],\"ipv6NeighborAddress\":[{\"address\":\"wmn\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioned\"},{\"address\":\"auxzanh\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"ErrorDeprovisioning\"},{\"address\":\"udrbcpftxudqyem\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioned\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"rtneemmja\",\"wcgxefnohait\",\"anizerwgudasmxub\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"LocalRib\",\"LocalRib\"]}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"iylfmpztrau\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1931203772,\"multiplier\":359671369},\"ipv4Routes\":[{\"prefix\":\"egpqtmo\",\"nextHop\":[\"vr\",\"tnvgyshqrdgrt\"]}],\"ipv6Routes\":[{\"prefix\":\"wjzl\",\"nextHop\":[\"kcfazzw\",\"cayer\"]},{\"prefix\":\"rransyb\",\"nextHop\":[\"polwzrghsrlei\",\"kfscjfncjwv\",\"ag\",\"qwtltngvmreupt\"]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":2029772595,\"threshold\":332324374,\"idleTimeExpiry\":258672729},{\"maximumRoutes\":1419456371,\"threshold\":1674481781,\"idleTimeExpiry\":834669108}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1882844469,\"threshold\":710088620,\"idleTimeExpiry\":356088444},{\"maximumRoutes\":288708143,\"threshold\":1397750916,\"idleTimeExpiry\":677665183},{\"maximumRoutes\":1056907067,\"threshold\":1293708354,\"idleTimeExpiry\":100242815},{\"maximumRoutes\":198387771,\"threshold\":1093299719,\"idleTimeExpiry\":873083147}]},\"lastOperation\":{\"details\":\"vyxpavidni\"},\"networkFabricId\":\"wffcvvye\",\"configurationState\":\"CommitRollbackFailed\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"id\":\"bdsval\",\"name\":\"nptw\",\"type\":\"rkxgpazwugxyqvnj\"}") .toObject(InternalNetworkInner.class); - Assertions.assertEquals("lflec", model.annotation()); + Assertions.assertEquals("teogfgfiijr", model.annotation()); Assertions.assertEquals(Extension.NPB, model.extension()); - Assertions.assertEquals(1151093762, model.mtu()); - Assertions.assertEquals("zd", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("jluxxdhi", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("qww", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("azn", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("k", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("qceazfpxgnmq", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("luyqqaiossscyvai", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("p", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("cvfyeowpsfxtjdhs", model.ingressAclId()); - Assertions.assertEquals("mhpv", model.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.FALSE, model.isMonitoringEnabled()); - Assertions.assertEquals(1256940600, model.vlanId()); - Assertions.assertEquals("yowmndcovdw", model.bgpConfiguration().annotation()); - Assertions.assertEquals(1419448739, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(456494066, model.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(40088997, model.bgpConfiguration().allowAS()); + Assertions.assertEquals(348799566, model.mtu()); + Assertions.assertEquals("ceazfpxgnmqvz", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("s", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("yvaifpp", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("yqqaioss", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("dshx", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("edsuenygnxcgj", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("nquktrfnslnlrxs", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("ltrwntfmtbg", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("dxwnazkurrd", model.ingressAclId()); + Assertions.assertEquals("yzjwhsetwwjwzzq", model.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); + Assertions.assertEquals(1143298744, model.vlanId()); + Assertions.assertEquals("iylfmpztrau", model.bgpConfiguration().annotation()); + Assertions.assertEquals(296570736, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1230505092, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(1034433252, model.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(8465563790487729489L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("dedsuenygnxcgjtf", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("uktrfnslnlrx", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("hsetwwj", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("kykcyqhyqqzz", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("lq", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(4053997043764952005L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("tewfopazdazgbsq", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("utmdpvozg", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("kn", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("wmn", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("rtneemmja", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bgpConfiguration().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(177742602, + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.bgpConfiguration().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(1931203772, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1293844399, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("vfruwkudrbcpft", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("dqyemebunaucm", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("rztnv", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("shqrdgrt", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(359671369, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("egpqtmo", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vr", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("wjzl", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("kcfazzw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); Assertions.assertEquals(Extension.NPB, model.staticRouteConfiguration().extension()); - Assertions.assertEquals(1458002388, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(2138882754, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1724482587, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1138228089, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1712906594, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(2011304532, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(2029772595, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(332324374, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(258672729, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1882844469, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(710088620, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(356088444, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternalNetworkInner model = new InternalNetworkInner().withAnnotation("lflec") + InternalNetworkInner model = new InternalNetworkInner().withAnnotation("teogfgfiijr") .withExtension(Extension.NPB) - .withMtu(1151093762) - .withConnectedIPv4Subnets(Arrays.asList(new ConnectedSubnet().withAnnotation("zd").withPrefix("jluxxdhi"), - new ConnectedSubnet().withAnnotation("vribqlotokht").withPrefix("zqjmueza"))) - .withConnectedIPv6Subnets(Arrays.asList(new ConnectedSubnet().withAnnotation("qww").withPrefix("azn"), - new ConnectedSubnet().withAnnotation("jssmctsnldkpwo").withPrefix("wjyofgwhnkbtl"), - new ConnectedSubnet().withAnnotation("gfgf").withPrefix("gisubxbt"), - new ConnectedSubnet().withAnnotation("kw").withPrefix("ij"))) - .withImportRoutePolicy( - new ImportRoutePolicy().withImportIpv4RoutePolicyId("k").withImportIpv6RoutePolicyId("qceazfpxgnmq")) - .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("luyqqaiossscyvai") - .withExportIpv6RoutePolicyId("p")) - .withIngressAclId("cvfyeowpsfxtjdhs") - .withEgressAclId("mhpv") - .withIsMonitoringEnabled(IsMonitoringEnabled.FALSE) - .withVlanId(1256940600) - .withBgpConfiguration(new BgpConfiguration().withAnnotation("yowmndcovdw") + .withMtu(348799566) + .withConnectedIPv4Subnets( + Arrays.asList(new ConnectedSubnet().withAnnotation("ceazfpxgnmqvz").withPrefix("s"))) + .withConnectedIPv6Subnets( + Arrays.asList(new ConnectedSubnet().withAnnotation("yvaifpp").withPrefix("yqqaioss"), + new ConnectedSubnet().withAnnotation("tjdhsoymhpvtyq").withPrefix("acvfyeowps"), + new ConnectedSubnet().withAnnotation("ujstk").withPrefix("ttehdp"))) + .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("dshx") + .withImportIpv6RoutePolicyId("edsuenygnxcgj")) + .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("nquktrfnslnlrxs") + .withExportIpv6RoutePolicyId("ltrwntfmtbg")) + .withIngressAclId("dxwnazkurrd") + .withEgressAclId("yzjwhsetwwjwzzq") + .withIsMonitoringEnabled(IsMonitoringEnabled.TRUE) + .withVlanId(1143298744) + .withBgpConfiguration(new BgpConfiguration().withAnnotation("iylfmpztrau") .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1419448739).withMultiplier(456494066)) - .withDefaultRouteOriginate(BooleanEnumProperty.FALSE) - .withAllowAS(40088997) + new BfdConfiguration().withIntervalInMilliSeconds(296570736).withMultiplier(1230505092)) + .withDefaultRouteOriginate(BooleanEnumProperty.TRUE) + .withAllowAS(1034433252) .withAllowASOverride(AllowASOverride.DISABLE) - .withPeerAsn(8465563790487729489L) - .withIpv4ListenRangePrefixes(Arrays.asList("dedsuenygnxcgjtf")) - .withIpv6ListenRangePrefixes(Arrays.asList("uktrfnslnlrx", "myltrwntfmtbg", "jdxwnazkurrdre")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("hsetwwj"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("kykcyqhyqqzz"), - new NeighborAddress().withAddress("ewfopazdazg"), new NeighborAddress().withAddress("c"))) - .withBmpConfiguration( - new InternalNetworkBmpProperties().withNeighborIpExclusions(Arrays.asList("lq")) - .withBmpConfigurationState(BmpConfigurationState.ENABLED) - .withExportPolicyConfiguration(new BmpExportPolicyProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY)))) - .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED)) + .withPeerAsn(4053997043764952005L) + .withIpv4ListenRangePrefixes(Arrays.asList("tewfopazdazgbsq", "pew")) + .withIpv6ListenRangePrefixes(Arrays.asList("utmdpvozg")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("kn"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("wmn"), + new NeighborAddress().withAddress("auxzanh"), new NeighborAddress().withAddress("udrbcpftxudqyem"))) + .withBmpConfiguration(new InternalNetworkBmpProperties() + .withNeighborIpExclusions(Arrays.asList("rtneemmja", "wcgxefnohait", "anizerwgudasmxub")) + .withBmpConfigurationState(BmpConfigurationState.DISABLED) + .withExportPolicyConfiguration(new BmpExportPolicyProperties().withExportPolicies(Arrays + .asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.LOCAL_RIB)))) + .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED)) .withStaticRouteConfiguration(new StaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(177742602).withMultiplier(1293844399)) - .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("vfruwkudrbcpft") - .withNextHop(Arrays.asList("dqyemebunaucm", "irtneemmjau")), - new StaticRouteProperties().withPrefix("cgxefnohaitraniz") - .withNextHop(Arrays.asList("wgudasmxu", "vfbngfco", "ef")), - new StaticRouteProperties().withPrefix("priylfmp") - .withNextHop(Arrays.asList("raudsvhlcdcul", "egpqtmo")))) - .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("rztnv") - .withNextHop(Arrays.asList("shqrdgrt", "mewjzlpyk", "fa")))) + new BfdConfiguration().withIntervalInMilliSeconds(1931203772).withMultiplier(359671369)) + .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("egpqtmo") + .withNextHop(Arrays.asList("vr", "tnvgyshqrdgrt")))) + .withIpv6Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("wjzl").withNextHop(Arrays.asList("kcfazzw", "cayer")), + new StaticRouteProperties().withPrefix("rransyb") + .withNextHop(Arrays.asList("polwzrghsrlei", "kfscjfncjwv", "ag", "qwtltngvmreupt")))) .withExtension(Extension.NPB)) .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(1458002388) - .withThreshold(2138882754) - .withIdleTimeExpiry(1724482587), - new PrefixLimitProperties().withMaximumRoutes(1121969005) - .withThreshold(1795034421) - .withIdleTimeExpiry(362600474), - new PrefixLimitProperties().withMaximumRoutes(1074401951) - .withThreshold(1132932297) - .withIdleTimeExpiry(606699153)))) + new PrefixLimitProperties().withMaximumRoutes(2029772595) + .withThreshold(332324374) + .withIdleTimeExpiry(258672729), + new PrefixLimitProperties().withMaximumRoutes(1419456371) + .withThreshold(1674481781) + .withIdleTimeExpiry(834669108)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(1138228089) - .withThreshold(1712906594) - .withIdleTimeExpiry(2011304532), - new PrefixLimitProperties().withMaximumRoutes(1421281545) - .withThreshold(1224722577) - .withIdleTimeExpiry(2111387998), - new PrefixLimitProperties().withMaximumRoutes(2003402338) - .withThreshold(325474754) - .withIdleTimeExpiry(941574835)))); + new PrefixLimitProperties().withMaximumRoutes(1882844469) + .withThreshold(710088620) + .withIdleTimeExpiry(356088444), + new PrefixLimitProperties().withMaximumRoutes(288708143) + .withThreshold(1397750916) + .withIdleTimeExpiry(677665183), + new PrefixLimitProperties().withMaximumRoutes(1056907067) + .withThreshold(1293708354) + .withIdleTimeExpiry(100242815), + new PrefixLimitProperties().withMaximumRoutes(198387771) + .withThreshold(1093299719) + .withIdleTimeExpiry(873083147)))); model = BinaryData.fromObject(model).toObject(InternalNetworkInner.class); - Assertions.assertEquals("lflec", model.annotation()); + Assertions.assertEquals("teogfgfiijr", model.annotation()); Assertions.assertEquals(Extension.NPB, model.extension()); - Assertions.assertEquals(1151093762, model.mtu()); - Assertions.assertEquals("zd", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("jluxxdhi", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("qww", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("azn", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("k", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("qceazfpxgnmq", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("luyqqaiossscyvai", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("p", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("cvfyeowpsfxtjdhs", model.ingressAclId()); - Assertions.assertEquals("mhpv", model.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.FALSE, model.isMonitoringEnabled()); - Assertions.assertEquals(1256940600, model.vlanId()); - Assertions.assertEquals("yowmndcovdw", model.bgpConfiguration().annotation()); - Assertions.assertEquals(1419448739, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(456494066, model.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(40088997, model.bgpConfiguration().allowAS()); + Assertions.assertEquals(348799566, model.mtu()); + Assertions.assertEquals("ceazfpxgnmqvz", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("s", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("yvaifpp", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("yqqaioss", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("dshx", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("edsuenygnxcgj", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("nquktrfnslnlrxs", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("ltrwntfmtbg", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("dxwnazkurrd", model.ingressAclId()); + Assertions.assertEquals("yzjwhsetwwjwzzq", model.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); + Assertions.assertEquals(1143298744, model.vlanId()); + Assertions.assertEquals("iylfmpztrau", model.bgpConfiguration().annotation()); + Assertions.assertEquals(296570736, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1230505092, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(1034433252, model.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(8465563790487729489L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("dedsuenygnxcgjtf", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("uktrfnslnlrx", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("hsetwwj", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("kykcyqhyqqzz", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("lq", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(4053997043764952005L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("tewfopazdazgbsq", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("utmdpvozg", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("kn", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("wmn", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("rtneemmja", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bgpConfiguration().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(177742602, + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.bgpConfiguration().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(1931203772, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1293844399, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("vfruwkudrbcpft", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("dqyemebunaucm", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("rztnv", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("shqrdgrt", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(359671369, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("egpqtmo", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vr", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("wjzl", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("kcfazzw", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); Assertions.assertEquals(Extension.NPB, model.staticRouteConfiguration().extension()); - Assertions.assertEquals(1458002388, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(2138882754, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1724482587, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1138228089, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1712906594, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(2011304532, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(2029772595, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(332324374, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(258672729, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1882844469, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(710088620, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(356088444, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchPropertiesTests.java index 1d9d6eca14975..7bf4d57550874 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchPropertiesTests.java @@ -31,160 +31,167 @@ public final class InternalNetworkPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkPatchProperties model = BinaryData.fromString( - "{\"annotation\":\"imseobf\",\"mtu\":1688620410,\"connectedIPv4Subnets\":[{\"prefix\":\"yilbvz\",\"annotation\":\"xcjzlquze\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"jxebj\",\"annotation\":\"zinzabwmvogljsvl\"},{\"prefix\":\"gi\",\"annotation\":\"wcehaqidoyzlt\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"mqoqpepiaeapfse\",\"importIpv6RoutePolicyId\":\"dt\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"nacyheqwb\",\"exportIpv6RoutePolicyId\":\"qncjubkhjozfymcw\"},\"ingressAclId\":\"upyvqyvliq\",\"egressAclId\":\"psejbsvsiaies\",\"isMonitoringEnabled\":\"False\",\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":537543493,\"multiplier\":980486182},\"defaultRouteOriginate\":\"False\",\"allowAS\":659410436,\"allowASOverride\":\"Disable\",\"fabricASN\":916767531355915182,\"peerASN\":6196527848923880055,\"ipv4ListenRangePrefixes\":[\"td\",\"i\"],\"ipv6ListenRangePrefixes\":[\"qibzji\",\"weebiphryv\"],\"ipv4NeighborAddress\":[{\"address\":\"w\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioning\"},{\"address\":\"dhzybsp\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"PendingAdministrativeUpdate\"},{\"address\":\"kkagvwukhsusmmor\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"ErrorDeprovisioning\"},{\"address\":\"zhnijmr\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Accepted\"}],\"ipv6NeighborAddress\":[{\"address\":\"tlrcxivcbkutpu\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"ErrorProvisioning\"},{\"address\":\"xynbpvzlqywa\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Rejected\"},{\"address\":\"mocgjshg\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"DeferredControl\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"qggljkybs\",\"rcl\"],\"bmpConfigurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"ctbhpjhxpcvrd\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":192844445,\"multiplier\":927888841},\"ipv4Routes\":[{\"prefix\":\"y\",\"nextHop\":[\"jahwriuomzczf\",\"iceevsaaxwspca\",\"ikhfjqebglcxk\"]},{\"prefix\":\"gzzromv\",\"nextHop\":[\"ysemtmesrfsvpin\"]},{\"prefix\":\"zpatqtd\",\"nextHop\":[\"wxspvckojaz\",\"bgspf\",\"esubzpvpv\"]}],\"ipv6Routes\":[{\"prefix\":\"ytcovqs\",\"nextHop\":[\"srfjbdxzfxnx\"]}]},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":2144106709,\"threshold\":1990129736,\"idleTimeExpiry\":1190686584},{\"maximumRoutes\":1337968944,\"threshold\":1825615369,\"idleTimeExpiry\":361246762},{\"maximumRoutes\":1005110157,\"threshold\":1999216933,\"idleTimeExpiry\":987897246}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1746493890,\"threshold\":2076016074,\"idleTimeExpiry\":1560339183},{\"maximumRoutes\":709800323,\"threshold\":211159585,\"idleTimeExpiry\":1577883742}]}}") + "{\"annotation\":\"djhunhghcgawnr\",\"mtu\":1042074463,\"connectedIPv4Subnets\":[{\"prefix\":\"xsotir\",\"annotation\":\"mseobfsxstcyilbv\"},{\"prefix\":\"m\",\"annotation\":\"cjzlquzexokjxebj\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"inzabwmvoglj\",\"annotation\":\"lpgidn\"},{\"prefix\":\"cehaqi\",\"annotation\":\"yzltgiomqo\"},{\"prefix\":\"pepiaeapfs\",\"annotation\":\"gdtpe\"},{\"prefix\":\"nacyheqwb\",\"annotation\":\"qncjubkhjozfymcw\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"pyvqy\",\"importIpv6RoutePolicyId\":\"i\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"psejbsvsiaies\",\"exportIpv6RoutePolicyId\":\"ddzydisnu\"},\"ingressAclId\":\"ywyjlnldpxot\",\"egressAclId\":\"iiaocqib\",\"isMonitoringEnabled\":\"True\",\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1017955254,\"multiplier\":1561938411},\"defaultRouteOriginate\":\"True\",\"allowAS\":1276566502,\"allowASOverride\":\"Disable\",\"fabricASN\":82184609812364356,\"peerASN\":3413897910391830169,\"ipv4ListenRangePrefixes\":[\"jhdhz\",\"b\"],\"ipv6ListenRangePrefixes\":[\"jhfrzgdkkagv\"],\"ipv4NeighborAddress\":[{\"address\":\"susmmorfmzhwi\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"CommitRollbackFailed\"},{\"address\":\"riprlkdneytt\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"ErrorProvisioning\"},{\"address\":\"kutpu\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Failed\"}],\"ipv6NeighborAddress\":[{\"address\":\"nbpvzlq\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Rejected\"},{\"address\":\"ckhmocgjshgouarh\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"CommitStaged\"},{\"address\":\"ljky\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Accepted\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"qnrbc\"],\"bmpConfigurationState\":\"Enabled\"},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"cvrdnyeitaneqady\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":911914453,\"multiplier\":41519341},\"ipv4Routes\":[{\"prefix\":\"zczfkiceevs\",\"nextHop\":[\"xwspcaxikhfjq\",\"bglcxkxgzzromvy\",\"ysemtmesrfsvpin\",\"zpatqtd\"]},{\"prefix\":\"swxspvckojaz\",\"nextHop\":[\"gspftesu\",\"zpvpvdyly\"]},{\"prefix\":\"covqseusrfjbdxzf\",\"nextHop\":[\"xm\",\"b\",\"uoswkjmdih\"]}],\"ipv6Routes\":[{\"prefix\":\"yyzlwhbwzjnu\",\"nextHop\":[\"rfgmdqgnnbzrtfte\",\"zuubjtvgjsxm\",\"yj\",\"vavdp\"]},{\"prefix\":\"wobtdphti\",\"nextHop\":[\"ffofwan\",\"hks\",\"auwazcgwd\",\"riwgybjp\"]},{\"prefix\":\"zokscvg\",\"nextHop\":[\"ixdgbyfgwewqkj\"]}]},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1874476857,\"threshold\":1571798511,\"idleTimeExpiry\":144309989}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1395721854,\"threshold\":772603628,\"idleTimeExpiry\":2052706780},{\"maximumRoutes\":26197066,\"threshold\":964103530,\"idleTimeExpiry\":746272528}]}}") .toObject(InternalNetworkPatchProperties.class); - Assertions.assertEquals("imseobf", model.annotation()); - Assertions.assertEquals(1688620410, model.mtu()); - Assertions.assertEquals("xcjzlquze", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("yilbvz", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("zinzabwmvogljsvl", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("jxebj", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("mqoqpepiaeapfse", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("dt", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("nacyheqwb", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qncjubkhjozfymcw", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("upyvqyvliq", model.ingressAclId()); - Assertions.assertEquals("psejbsvsiaies", model.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.FALSE, model.isMonitoringEnabled()); - Assertions.assertEquals("ctbhpjhxpcvrd", model.bgpConfiguration().annotation()); - Assertions.assertEquals(537543493, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(980486182, model.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(659410436, model.bgpConfiguration().allowAS()); + Assertions.assertEquals("djhunhghcgawnr", model.annotation()); + Assertions.assertEquals(1042074463, model.mtu()); + Assertions.assertEquals("mseobfsxstcyilbv", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("xsotir", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("lpgidn", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("inzabwmvoglj", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("pyvqy", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("i", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("psejbsvsiaies", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("ddzydisnu", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("ywyjlnldpxot", model.ingressAclId()); + Assertions.assertEquals("iiaocqib", model.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); + Assertions.assertEquals("cvrdnyeitaneqady", model.bgpConfiguration().annotation()); + Assertions.assertEquals(1017955254, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1561938411, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(1276566502, model.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(6196527848923880055L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("td", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("qibzji", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("w", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("tlrcxivcbkutpu", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("qggljkybs", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.DISABLED, + Assertions.assertEquals(3413897910391830169L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("jhdhz", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("jhfrzgdkkagv", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("susmmorfmzhwi", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("nbpvzlq", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("qnrbc", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(192844445, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(911914453, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(927888841, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("y", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jahwriuomzczf", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ytcovqs", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("srfjbdxzfxnx", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(2144106709, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1990129736, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1190686584, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1746493890, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(2076016074, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1560339183, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(41519341, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("zczfkiceevs", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("xwspcaxikhfjq", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("yyzlwhbwzjnu", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rfgmdqgnnbzrtfte", + model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(1874476857, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1571798511, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(144309989, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1395721854, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(772603628, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(2052706780, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternalNetworkPatchProperties model = new InternalNetworkPatchProperties().withAnnotation("imseobf") - .withMtu(1688620410) + InternalNetworkPatchProperties model = new InternalNetworkPatchProperties().withAnnotation("djhunhghcgawnr") + .withMtu(1042074463) .withConnectedIPv4Subnets( - Arrays.asList(new ConnectedSubnetPatch().withAnnotation("xcjzlquze").withPrefix("yilbvz"))) + Arrays.asList(new ConnectedSubnetPatch().withAnnotation("mseobfsxstcyilbv").withPrefix("xsotir"), + new ConnectedSubnetPatch().withAnnotation("cjzlquzexokjxebj").withPrefix("m"))) .withConnectedIPv6Subnets( - Arrays.asList(new ConnectedSubnetPatch().withAnnotation("zinzabwmvogljsvl").withPrefix("jxebj"), - new ConnectedSubnetPatch().withAnnotation("wcehaqidoyzlt").withPrefix("gi"))) - .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("mqoqpepiaeapfse") - .withImportIpv6RoutePolicyId("dt")) - .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("nacyheqwb") - .withExportIpv6RoutePolicyId("qncjubkhjozfymcw")) - .withIngressAclId("upyvqyvliq") - .withEgressAclId("psejbsvsiaies") - .withIsMonitoringEnabled(IsMonitoringEnabled.FALSE) - .withBgpConfiguration(new BgpPatchConfiguration().withAnnotation("ctbhpjhxpcvrd") + Arrays.asList(new ConnectedSubnetPatch().withAnnotation("lpgidn").withPrefix("inzabwmvoglj"), + new ConnectedSubnetPatch().withAnnotation("yzltgiomqo").withPrefix("cehaqi"), + new ConnectedSubnetPatch().withAnnotation("gdtpe").withPrefix("pepiaeapfs"), + new ConnectedSubnetPatch().withAnnotation("qncjubkhjozfymcw").withPrefix("nacyheqwb"))) + .withImportRoutePolicy( + new ImportRoutePolicy().withImportIpv4RoutePolicyId("pyvqy").withImportIpv6RoutePolicyId("i")) + .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("psejbsvsiaies") + .withExportIpv6RoutePolicyId("ddzydisnu")) + .withIngressAclId("ywyjlnldpxot") + .withEgressAclId("iiaocqib") + .withIsMonitoringEnabled(IsMonitoringEnabled.TRUE) + .withBgpConfiguration(new BgpPatchConfiguration().withAnnotation("cvrdnyeitaneqady") .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(537543493).withMultiplier(980486182)) - .withDefaultRouteOriginate(BooleanEnumProperty.FALSE) - .withAllowAS(659410436) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1017955254).withMultiplier(1561938411)) + .withDefaultRouteOriginate(BooleanEnumProperty.TRUE) + .withAllowAS(1276566502) .withAllowASOverride(AllowASOverride.DISABLE) - .withPeerAsn(6196527848923880055L) - .withIpv4ListenRangePrefixes(Arrays.asList("td", "i")) - .withIpv6ListenRangePrefixes(Arrays.asList("qibzji", "weebiphryv")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("w"), - new NeighborAddressPatch().withAddress("dhzybsp"), - new NeighborAddressPatch().withAddress("kkagvwukhsusmmor"), - new NeighborAddressPatch().withAddress("zhnijmr"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("tlrcxivcbkutpu"), - new NeighborAddressPatch().withAddress("xynbpvzlqywa"), - new NeighborAddressPatch().withAddress("mocgjshg"))) + .withPeerAsn(3413897910391830169L) + .withIpv4ListenRangePrefixes(Arrays.asList("jhdhz", "b")) + .withIpv6ListenRangePrefixes(Arrays.asList("jhfrzgdkkagv")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("susmmorfmzhwi"), + new NeighborAddressPatch().withAddress("riprlkdneytt"), + new NeighborAddressPatch().withAddress("kutpu"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("nbpvzlq"), + new NeighborAddressPatch().withAddress("ckhmocgjshgouarh"), + new NeighborAddressPatch().withAddress("ljky"))) .withBmpConfiguration( - new InternalNetworkBmpPatchProperties().withNeighborIpExclusions(Arrays.asList("qggljkybs", "rcl")) - .withBmpConfigurationState(BmpConfigurationState.DISABLED)) + new InternalNetworkBmpPatchProperties().withNeighborIpExclusions(Arrays.asList("qnrbc")) + .withBmpConfigurationState(BmpConfigurationState.ENABLED)) .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED)) - .withStaticRouteConfiguration(new StaticRoutePatchConfiguration() - .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(192844445).withMultiplier(927888841)) - .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("y") - .withNextHop(Arrays.asList("jahwriuomzczf", "iceevsaaxwspca", "ikhfjqebglcxk")), - new StaticRoutePatchProperties().withPrefix("gzzromv") - .withNextHop(Arrays.asList("ysemtmesrfsvpin")), - new StaticRoutePatchProperties().withPrefix("zpatqtd") - .withNextHop(Arrays.asList("wxspvckojaz", "bgspf", "esubzpvpv")))) - .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("ytcovqs").withNextHop(Arrays.asList("srfjbdxzfxnx"))))) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(2144106709) - .withThreshold(1990129736) - .withIdleTimeExpiry(1190686584), - new PrefixLimitPatchProperties().withMaximumRoutes(1337968944) - .withThreshold(1825615369) - .withIdleTimeExpiry(361246762), - new PrefixLimitPatchProperties().withMaximumRoutes(1005110157) - .withThreshold(1999216933) - .withIdleTimeExpiry(987897246)))) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED)) + .withStaticRouteConfiguration( + new StaticRoutePatchConfiguration() + .withBfdConfiguration( + new BfdPatchConfiguration().withIntervalInMilliSeconds(911914453).withMultiplier(41519341)) + .withIpv4Routes( + Arrays + .asList( + new StaticRoutePatchProperties().withPrefix("zczfkiceevs") + .withNextHop(Arrays.asList("xwspcaxikhfjq", "bglcxkxgzzromvy", "ysemtmesrfsvpin", + "zpatqtd")), + new StaticRoutePatchProperties().withPrefix("swxspvckojaz") + .withNextHop(Arrays.asList("gspftesu", "zpvpvdyly")), + new StaticRoutePatchProperties().withPrefix("covqseusrfjbdxzf") + .withNextHop(Arrays.asList("xm", "b", "uoswkjmdih")))) + .withIpv6Routes(Arrays.asList( + new StaticRoutePatchProperties().withPrefix("yyzlwhbwzjnu") + .withNextHop(Arrays.asList("rfgmdqgnnbzrtfte", "zuubjtvgjsxm", "yj", "vavdp")), + new StaticRoutePatchProperties().withPrefix("wobtdphti") + .withNextHop(Arrays.asList("ffofwan", "hks", "auwazcgwd", "riwgybjp")), + new StaticRoutePatchProperties().withPrefix("zokscvg") + .withNextHop(Arrays.asList("ixdgbyfgwewqkj"))))) + .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(1874476857) + .withThreshold(1571798511) + .withIdleTimeExpiry(144309989)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(1746493890) - .withThreshold(2076016074) - .withIdleTimeExpiry(1560339183), - new PrefixLimitPatchProperties().withMaximumRoutes(709800323) - .withThreshold(211159585) - .withIdleTimeExpiry(1577883742)))); + new PrefixLimitPatchProperties().withMaximumRoutes(1395721854) + .withThreshold(772603628) + .withIdleTimeExpiry(2052706780), + new PrefixLimitPatchProperties().withMaximumRoutes(26197066) + .withThreshold(964103530) + .withIdleTimeExpiry(746272528)))); model = BinaryData.fromObject(model).toObject(InternalNetworkPatchProperties.class); - Assertions.assertEquals("imseobf", model.annotation()); - Assertions.assertEquals(1688620410, model.mtu()); - Assertions.assertEquals("xcjzlquze", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("yilbvz", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("zinzabwmvogljsvl", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("jxebj", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("mqoqpepiaeapfse", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("dt", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("nacyheqwb", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qncjubkhjozfymcw", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("upyvqyvliq", model.ingressAclId()); - Assertions.assertEquals("psejbsvsiaies", model.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.FALSE, model.isMonitoringEnabled()); - Assertions.assertEquals("ctbhpjhxpcvrd", model.bgpConfiguration().annotation()); - Assertions.assertEquals(537543493, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(980486182, model.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(659410436, model.bgpConfiguration().allowAS()); + Assertions.assertEquals("djhunhghcgawnr", model.annotation()); + Assertions.assertEquals(1042074463, model.mtu()); + Assertions.assertEquals("mseobfsxstcyilbv", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("xsotir", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("lpgidn", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("inzabwmvoglj", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("pyvqy", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("i", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("psejbsvsiaies", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("ddzydisnu", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("ywyjlnldpxot", model.ingressAclId()); + Assertions.assertEquals("iiaocqib", model.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); + Assertions.assertEquals("cvrdnyeitaneqady", model.bgpConfiguration().annotation()); + Assertions.assertEquals(1017955254, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1561938411, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(1276566502, model.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(6196527848923880055L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("td", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("qibzji", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("w", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("tlrcxivcbkutpu", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("qggljkybs", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.DISABLED, + Assertions.assertEquals(3413897910391830169L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("jhdhz", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("jhfrzgdkkagv", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("susmmorfmzhwi", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("nbpvzlq", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("qnrbc", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, model.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(192844445, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(911914453, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(927888841, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("y", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jahwriuomzczf", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ytcovqs", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("srfjbdxzfxnx", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(2144106709, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1990129736, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1190686584, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1746493890, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(2076016074, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1560339183, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(41519341, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("zczfkiceevs", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("xwspcaxikhfjq", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("yyzlwhbwzjnu", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rfgmdqgnnbzrtfte", + model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(1874476857, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1571798511, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(144309989, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1395721854, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(772603628, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(2052706780, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchTests.java index 3dd1faff128c6..651567016ec28 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPatchTests.java @@ -31,167 +31,164 @@ public final class InternalNetworkPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkPatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"obrqlp\",\"mtu\":43231949,\"connectedIPv4Subnets\":[{\"prefix\":\"pzuyudivbxnh\",\"annotation\":\"eaeonqelwgdh\"},{\"prefix\":\"ruzytzaro\",\"annotation\":\"tmol\"},{\"prefix\":\"iywmpinmzvfkn\",\"annotation\":\"rzztrk\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"ulugdybnhrxlelfj\",\"annotation\":\"eizcpih\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"iwje\",\"importIpv6RoutePolicyId\":\"tycaydbjzcqyml\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"zhmhsur\",\"exportIpv6RoutePolicyId\":\"wqkpmmzpsta\"},\"ingressAclId\":\"lawiubmomsgvvjhv\",\"egressAclId\":\"rlohe\",\"isMonitoringEnabled\":\"True\",\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":741960981,\"multiplier\":688757979},\"defaultRouteOriginate\":\"True\",\"allowAS\":447595021,\"allowASOverride\":\"Disable\",\"fabricASN\":1815318042633891025,\"peerASN\":2390244070144387358,\"ipv4ListenRangePrefixes\":[\"xjoshohtotryegpk\",\"xrmexznlw\",\"bfokxkhu\",\"ze\"],\"ipv6ListenRangePrefixes\":[\"g\",\"blcdrmyf\"],\"ipv4NeighborAddress\":[{\"address\":\"t\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"PendingCommit\"},{\"address\":\"ugekdfqn\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Failed\"}],\"ipv6NeighborAddress\":[{\"address\":\"fjjnnuxxr\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Succeeded\"},{\"address\":\"wempdcifrhju\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"DeferredControl\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"usnaw\",\"hhgzotf\",\"iyrgkoek\",\"zwx\"],\"bmpConfigurationState\":\"Enabled\"},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"t\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":631913462,\"multiplier\":1299436949},\"ipv4Routes\":[{\"prefix\":\"eykvskiczd\",\"nextHop\":[\"jei\",\"ikgqaboohxbms\"]},{\"prefix\":\"ycqsxr\",\"nextHop\":[\"vewuyqaeoh\"]},{\"prefix\":\"jh\",\"nextHop\":[\"jkbvhhdaurgho\",\"xaex\",\"k\",\"xjxjoe\"]},{\"prefix\":\"lqxr\",\"nextHop\":[\"knkob\",\"ktmbozomtzami\"]}],\"ipv6Routes\":[{\"prefix\":\"gwcd\",\"nextHop\":[\"sez\",\"uxk\",\"uairaabmdlqjb\",\"dp\"]},{\"prefix\":\"ixlhupm\",\"nextHop\":[\"ihzbdnpxpk\",\"dpr\",\"yxelyicghflr\"]},{\"prefix\":\"fss\",\"nextHop\":[\"ghsfxrkbhammgmqf\",\"efgvqcp\"]}]},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":869379481,\"threshold\":1451281387,\"idleTimeExpiry\":892547352},{\"maximumRoutes\":1724956960,\"threshold\":623314328,\"idleTimeExpiry\":632132991},{\"maximumRoutes\":1975474027,\"threshold\":27796894,\"idleTimeExpiry\":654444535}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":615370227,\"threshold\":1611420396,\"idleTimeExpiry\":929955437},{\"maximumRoutes\":1900085182,\"threshold\":1042074463,\"idleTimeExpiry\":1266009304},{\"maximumRoutes\":1729908538,\"threshold\":2047568201,\"idleTimeExpiry\":1932285332}]}}}") + "{\"properties\":{\"annotation\":\"k\",\"mtu\":428232657,\"connectedIPv4Subnets\":[{\"prefix\":\"n\",\"annotation\":\"gbvoffbkk\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"xaexqokmyrljial\",\"annotation\":\"nobrqlpb\"},{\"prefix\":\"jtrpzuyud\",\"annotation\":\"bxnhsqeaeo\"},{\"prefix\":\"qelwgdhuruzytza\",\"annotation\":\"gatmoljiy\"},{\"prefix\":\"mpinmzvfkneerzzt\",\"annotation\":\"nsjulugdybnh\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"elf\",\"importIpv6RoutePolicyId\":\"k\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"cpihtd\",\"exportIpv6RoutePolicyId\":\"wjekptycaydbj\"},\"ingressAclId\":\"qy\",\"egressAclId\":\"cfnzhmhsurlgw\",\"isMonitoringEnabled\":\"True\",\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1250245788,\"multiplier\":94139241},\"defaultRouteOriginate\":\"False\",\"allowAS\":784889172,\"allowASOverride\":\"Disable\",\"fabricASN\":9155658901716856424,\"peerASN\":2376138603865197272,\"ipv4ListenRangePrefixes\":[\"jhvvlrlo\",\"ewjjmajnkdflqio\"],\"ipv6ListenRangePrefixes\":[\"aeqkzfzqxjoshoh\",\"otryegp\",\"h\",\"rmexznlwkb\"],\"ipv4NeighborAddress\":[{\"address\":\"khup\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"CommitStageFailed\"},{\"address\":\"l\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"CommitStaged\"},{\"address\":\"mftzgyy\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioning\"},{\"address\":\"dfqnhttwdowrczfj\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Deprovisioning\"}],\"ipv6NeighborAddress\":[{\"address\":\"hmnulwem\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"CommitStaged\"},{\"address\":\"ulrsulwzpflus\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"CommitRollbackFailed\"},{\"address\":\"ot\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"ErrorDeprovisioning\"},{\"address\":\"ekvz\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"DeferredControl\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"t\",\"bxmolpcqydeyk\",\"skiczd\",\"rjeizik\"],\"bmpConfigurationState\":\"Disabled\"},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"bmsgycqsxrmdv\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1150072248,\"multiplier\":1509950236},\"ipv4Routes\":[{\"prefix\":\"hgejkbvhhdaurgh\",\"nextHop\":[\"xaex\"]}],\"ipv6Routes\":[{\"prefix\":\"xjxjoe\",\"nextHop\":[\"qxrkdknko\"]},{\"prefix\":\"ektm\",\"nextHop\":[\"z\"]},{\"prefix\":\"m\",\"nextHop\":[\"amicbigwcdgz\",\"eznuxkeu\"]},{\"prefix\":\"iraabmdlqjbedpf\",\"nextHop\":[\"lhupmomihzbdnpxp\",\"cdpreyxelyicg\",\"flr\",\"fss\"]}]},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":880416925,\"threshold\":1014822767,\"idleTimeExpiry\":417562516},{\"maximumRoutes\":908499999,\"threshold\":2123821777,\"idleTimeExpiry\":897638705}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":2083947380,\"threshold\":912083941,\"idleTimeExpiry\":1002108961},{\"maximumRoutes\":724580771,\"threshold\":1124719824,\"idleTimeExpiry\":1333027009},{\"maximumRoutes\":1761541929,\"threshold\":901064052,\"idleTimeExpiry\":792206165},{\"maximumRoutes\":1200742474,\"threshold\":654670071,\"idleTimeExpiry\":2114963000}]}}}") .toObject(InternalNetworkPatch.class); - Assertions.assertEquals("obrqlp", model.annotation()); - Assertions.assertEquals(43231949, model.mtu()); - Assertions.assertEquals("eaeonqelwgdh", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("pzuyudivbxnh", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("eizcpih", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("ulugdybnhrxlelfj", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("iwje", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("tycaydbjzcqyml", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("zhmhsur", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("wqkpmmzpsta", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("lawiubmomsgvvjhv", model.ingressAclId()); - Assertions.assertEquals("rlohe", model.egressAclId()); + Assertions.assertEquals("k", model.annotation()); + Assertions.assertEquals(428232657, model.mtu()); + Assertions.assertEquals("gbvoffbkk", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("n", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("nobrqlpb", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("xaexqokmyrljial", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("elf", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("k", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("cpihtd", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("wjekptycaydbj", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("qy", model.ingressAclId()); + Assertions.assertEquals("cfnzhmhsurlgw", model.egressAclId()); Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); - Assertions.assertEquals("t", model.bgpConfiguration().annotation()); - Assertions.assertEquals(741960981, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(688757979, model.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(447595021, model.bgpConfiguration().allowAS()); + Assertions.assertEquals("bmsgycqsxrmdv", model.bgpConfiguration().annotation()); + Assertions.assertEquals(1250245788, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(94139241, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(784889172, model.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(2390244070144387358L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("xjoshohtotryegpk", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("g", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("t", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("fjjnnuxxr", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("usnaw", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(2376138603865197272L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("jhvvlrlo", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("aeqkzfzqxjoshoh", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("khup", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("hmnulwem", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("t", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(631913462, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(1150072248, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1299436949, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("eykvskiczd", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jei", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("gwcd", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("sez", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(869379481, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1451281387, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(892547352, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(615370227, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1611420396, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(929955437, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1509950236, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("hgejkbvhhdaurgh", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("xaex", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("xjxjoe", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("qxrkdknko", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(880416925, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1014822767, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(417562516, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(2083947380, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(912083941, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1002108961, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternalNetworkPatch model = new InternalNetworkPatch().withAnnotation("obrqlp") - .withMtu(43231949) + InternalNetworkPatch model = new InternalNetworkPatch().withAnnotation("k") + .withMtu(428232657) .withConnectedIPv4Subnets( - Arrays.asList(new ConnectedSubnetPatch().withAnnotation("eaeonqelwgdh").withPrefix("pzuyudivbxnh"), - new ConnectedSubnetPatch().withAnnotation("tmol").withPrefix("ruzytzaro"), - new ConnectedSubnetPatch().withAnnotation("rzztrk").withPrefix("iywmpinmzvfkn"))) + Arrays.asList(new ConnectedSubnetPatch().withAnnotation("gbvoffbkk").withPrefix("n"))) .withConnectedIPv6Subnets( - Arrays.asList(new ConnectedSubnetPatch().withAnnotation("eizcpih").withPrefix("ulugdybnhrxlelfj"))) - .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("iwje") - .withImportIpv6RoutePolicyId("tycaydbjzcqyml")) - .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("zhmhsur") - .withExportIpv6RoutePolicyId("wqkpmmzpsta")) - .withIngressAclId("lawiubmomsgvvjhv") - .withEgressAclId("rlohe") + Arrays.asList(new ConnectedSubnetPatch().withAnnotation("nobrqlpb").withPrefix("xaexqokmyrljial"), + new ConnectedSubnetPatch().withAnnotation("bxnhsqeaeo").withPrefix("jtrpzuyud"), + new ConnectedSubnetPatch().withAnnotation("gatmoljiy").withPrefix("qelwgdhuruzytza"), + new ConnectedSubnetPatch().withAnnotation("nsjulugdybnh").withPrefix("mpinmzvfkneerzzt"))) + .withImportRoutePolicy( + new ImportRoutePolicy().withImportIpv4RoutePolicyId("elf").withImportIpv6RoutePolicyId("k")) + .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("cpihtd") + .withExportIpv6RoutePolicyId("wjekptycaydbj")) + .withIngressAclId("qy") + .withEgressAclId("cfnzhmhsurlgw") .withIsMonitoringEnabled(IsMonitoringEnabled.TRUE) - .withBgpConfiguration(new BgpPatchConfiguration().withAnnotation("t") + .withBgpConfiguration(new BgpPatchConfiguration().withAnnotation("bmsgycqsxrmdv") .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(741960981).withMultiplier(688757979)) - .withDefaultRouteOriginate(BooleanEnumProperty.TRUE) - .withAllowAS(447595021) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1250245788).withMultiplier(94139241)) + .withDefaultRouteOriginate(BooleanEnumProperty.FALSE) + .withAllowAS(784889172) .withAllowASOverride(AllowASOverride.DISABLE) - .withPeerAsn(2390244070144387358L) - .withIpv4ListenRangePrefixes(Arrays.asList("xjoshohtotryegpk", "xrmexznlw", "bfokxkhu", "ze")) - .withIpv6ListenRangePrefixes(Arrays.asList("g", "blcdrmyf")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("t"), - new NeighborAddressPatch().withAddress("ugekdfqn"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("fjjnnuxxr"), - new NeighborAddressPatch().withAddress("wempdcifrhju"))) + .withPeerAsn(2376138603865197272L) + .withIpv4ListenRangePrefixes(Arrays.asList("jhvvlrlo", "ewjjmajnkdflqio")) + .withIpv6ListenRangePrefixes(Arrays.asList("aeqkzfzqxjoshoh", "otryegp", "h", "rmexznlwkb")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("khup"), + new NeighborAddressPatch().withAddress("l"), new NeighborAddressPatch().withAddress("mftzgyy"), + new NeighborAddressPatch().withAddress("dfqnhttwdowrczfj"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("hmnulwem"), + new NeighborAddressPatch().withAddress("ulrsulwzpflus"), + new NeighborAddressPatch().withAddress("ot"), new NeighborAddressPatch().withAddress("ekvz"))) .withBmpConfiguration(new InternalNetworkBmpPatchProperties() - .withNeighborIpExclusions(Arrays.asList("usnaw", "hhgzotf", "iyrgkoek", "zwx")) - .withBmpConfigurationState(BmpConfigurationState.ENABLED)) + .withNeighborIpExclusions(Arrays.asList("t", "bxmolpcqydeyk", "skiczd", "rjeizik")) + .withBmpConfigurationState(BmpConfigurationState.DISABLED)) .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) - .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED)) + .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED)) .withStaticRouteConfiguration(new StaticRoutePatchConfiguration() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(631913462).withMultiplier(1299436949)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1150072248).withMultiplier(1509950236)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("eykvskiczd") - .withNextHop(Arrays.asList("jei", "ikgqaboohxbms")), - new StaticRoutePatchProperties().withPrefix("ycqsxr").withNextHop(Arrays.asList("vewuyqaeoh")), - new StaticRoutePatchProperties().withPrefix("jh") - .withNextHop(Arrays.asList("jkbvhhdaurgho", "xaex", "k", "xjxjoe")), - new StaticRoutePatchProperties().withPrefix("lqxr") - .withNextHop(Arrays.asList("knkob", "ktmbozomtzami")))) + new StaticRoutePatchProperties().withPrefix("hgejkbvhhdaurgh").withNextHop(Arrays.asList("xaex")))) .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("gwcd") - .withNextHop(Arrays.asList("sez", "uxk", "uairaabmdlqjb", "dp")), - new StaticRoutePatchProperties().withPrefix("ixlhupm") - .withNextHop(Arrays.asList("ihzbdnpxpk", "dpr", "yxelyicghflr")), - new StaticRoutePatchProperties().withPrefix("fss") - .withNextHop(Arrays.asList("ghsfxrkbhammgmqf", "efgvqcp"))))) + new StaticRoutePatchProperties().withPrefix("xjxjoe").withNextHop(Arrays.asList("qxrkdknko")), + new StaticRoutePatchProperties().withPrefix("ektm").withNextHop(Arrays.asList("z")), + new StaticRoutePatchProperties().withPrefix("m") + .withNextHop(Arrays.asList("amicbigwcdgz", "eznuxkeu")), + new StaticRoutePatchProperties().withPrefix("iraabmdlqjbedpf") + .withNextHop(Arrays.asList("lhupmomihzbdnpxp", "cdpreyxelyicg", "flr", "fss"))))) .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(869379481) - .withThreshold(1451281387) - .withIdleTimeExpiry(892547352), - new PrefixLimitPatchProperties().withMaximumRoutes(1724956960) - .withThreshold(623314328) - .withIdleTimeExpiry(632132991), - new PrefixLimitPatchProperties().withMaximumRoutes(1975474027) - .withThreshold(27796894) - .withIdleTimeExpiry(654444535)))) + new PrefixLimitPatchProperties().withMaximumRoutes(880416925) + .withThreshold(1014822767) + .withIdleTimeExpiry(417562516), + new PrefixLimitPatchProperties().withMaximumRoutes(908499999) + .withThreshold(2123821777) + .withIdleTimeExpiry(897638705)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitPatchProperties().withMaximumRoutes(615370227) - .withThreshold(1611420396) - .withIdleTimeExpiry(929955437), - new PrefixLimitPatchProperties().withMaximumRoutes(1900085182) - .withThreshold(1042074463) - .withIdleTimeExpiry(1266009304), - new PrefixLimitPatchProperties().withMaximumRoutes(1729908538) - .withThreshold(2047568201) - .withIdleTimeExpiry(1932285332)))); + new PrefixLimitPatchProperties().withMaximumRoutes(2083947380) + .withThreshold(912083941) + .withIdleTimeExpiry(1002108961), + new PrefixLimitPatchProperties().withMaximumRoutes(724580771) + .withThreshold(1124719824) + .withIdleTimeExpiry(1333027009), + new PrefixLimitPatchProperties().withMaximumRoutes(1761541929) + .withThreshold(901064052) + .withIdleTimeExpiry(792206165), + new PrefixLimitPatchProperties().withMaximumRoutes(1200742474) + .withThreshold(654670071) + .withIdleTimeExpiry(2114963000)))); model = BinaryData.fromObject(model).toObject(InternalNetworkPatch.class); - Assertions.assertEquals("obrqlp", model.annotation()); - Assertions.assertEquals(43231949, model.mtu()); - Assertions.assertEquals("eaeonqelwgdh", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("pzuyudivbxnh", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("eizcpih", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("ulugdybnhrxlelfj", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("iwje", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("tycaydbjzcqyml", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("zhmhsur", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("wqkpmmzpsta", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("lawiubmomsgvvjhv", model.ingressAclId()); - Assertions.assertEquals("rlohe", model.egressAclId()); + Assertions.assertEquals("k", model.annotation()); + Assertions.assertEquals(428232657, model.mtu()); + Assertions.assertEquals("gbvoffbkk", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("n", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("nobrqlpb", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("xaexqokmyrljial", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("elf", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("k", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("cpihtd", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("wjekptycaydbj", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("qy", model.ingressAclId()); + Assertions.assertEquals("cfnzhmhsurlgw", model.egressAclId()); Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); - Assertions.assertEquals("t", model.bgpConfiguration().annotation()); - Assertions.assertEquals(741960981, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(688757979, model.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(447595021, model.bgpConfiguration().allowAS()); + Assertions.assertEquals("bmsgycqsxrmdv", model.bgpConfiguration().annotation()); + Assertions.assertEquals(1250245788, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(94139241, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(784889172, model.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(2390244070144387358L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("xjoshohtotryegpk", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("g", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("t", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("fjjnnuxxr", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("usnaw", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(2376138603865197272L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("jhvvlrlo", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("aeqkzfzqxjoshoh", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("khup", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("hmnulwem", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("t", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(631913462, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(1150072248, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1299436949, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("eykvskiczd", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jei", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("gwcd", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("sez", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(869379481, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1451281387, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(892547352, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(615370227, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1611420396, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(929955437, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1509950236, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("hgejkbvhhdaurgh", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("xaex", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("xjxjoe", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("qxrkdknko", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(880416925, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1014822767, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(417562516, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(2083947380, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(912083941, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1002108961, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPropertiesTests.java index acdfba9ff1a55..5ccf582d297fd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkPropertiesTests.java @@ -34,174 +34,165 @@ public final class InternalNetworkPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkProperties model = BinaryData.fromString( - "{\"annotation\":\"a\",\"extension\":\"NPB\",\"mtu\":1665426893,\"connectedIPv4Subnets\":[{\"prefix\":\"yxpavidnie\",\"annotation\":\"ffcvvyezslpuxgcb\"},{\"prefix\":\"svalpnptwtrkxgpa\",\"annotation\":\"ugxyqvnjobfelhl\"},{\"prefix\":\"iuhzzgqlmfa\",\"annotation\":\"z\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"djpxpqht\",\"annotation\":\"hnmhkrezsdsux\"},{\"prefix\":\"eqdgcruxsp\",\"annotation\":\"ymmqgwokmikp\"},{\"prefix\":\"zfbmjxuv\",\"annotation\":\"pfdvhaxdv\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ehpphthdklmveta\",\"importIpv6RoutePolicyId\":\"akfqoixwgiksb\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ooxr\",\"exportIpv6RoutePolicyId\":\"gwphchgjtnht\"},\"ingressAclId\":\"facihmbfntu\",\"egressAclId\":\"ezbxvqxbn\",\"isMonitoringEnabled\":\"True\",\"vlanId\":15435205,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1571960341,\"multiplier\":1104263199},\"defaultRouteOriginate\":\"False\",\"allowAS\":1595462512,\"allowASOverride\":\"Enable\",\"fabricASN\":4939984832208579796,\"peerASN\":4713411285304930480,\"ipv4ListenRangePrefixes\":[\"wztjfmk\",\"htgfred\"],\"ipv6ListenRangePrefixes\":[\"cgrllc\",\"na\",\"vjowazhpabac\"],\"ipv4NeighborAddress\":[{\"address\":\"otgkwsxnsrqorcg\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioned\"},{\"address\":\"eetqujxcxxq\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioning\"}],\"ipv6NeighborAddress\":[{\"address\":\"urcgojmrvvxwj\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioned\"},{\"address\":\"q\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Rejected\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"xk\",\"nsbvr\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"All\",\"Post-Policy\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"tejrthc\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1568167663,\"multiplier\":1014445888},\"ipv4Routes\":[{\"prefix\":\"rostvrjeqmtzz\",\"nextHop\":[\"qrztrxal\",\"rdhabsr\",\"rsnrhp\",\"a\"]},{\"prefix\":\"iwkkvya\",\"nextHop\":[\"kvvcsemsvuvdjkq\",\"etqmmli\"]},{\"prefix\":\"rj\",\"nextHop\":[\"nw\",\"dchpojxlehzl\"]}],\"ipv6Routes\":[{\"prefix\":\"fquwzpwiibel\",\"nextHop\":[\"erwk\",\"bpjxljtxbusqtb\",\"xniu\",\"sdzhgbdgzpagsec\"]},{\"prefix\":\"adbuwqrgxfllmqiy\",\"nextHop\":[\"zoellnkkiiwvmtum\",\"pymdjfuax\"]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":309661732,\"threshold\":1410269883,\"idleTimeExpiry\":788439044},{\"maximumRoutes\":870184100,\"threshold\":494652447,\"idleTimeExpiry\":924415526},{\"maximumRoutes\":1436666704,\"threshold\":527770676,\"idleTimeExpiry\":1839530310}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":433528992,\"threshold\":699683864,\"idleTimeExpiry\":825597262}]},\"lastOperation\":{\"details\":\"kqv\"},\"networkFabricId\":\"epdxcltuubwyvpj\",\"configurationState\":\"Failed\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"}") + "{\"annotation\":\"felhldiuhzzgqlm\",\"extension\":\"NoExtension\",\"mtu\":182112001,\"connectedIPv4Subnets\":[{\"prefix\":\"udjpxpqht\",\"annotation\":\"hnmhkrezsdsux\"},{\"prefix\":\"eqdgcruxsp\",\"annotation\":\"ymmqgwokmikp\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"bmjxuvjipf\",\"annotation\":\"haxd\"},{\"prefix\":\"w\",\"annotation\":\"ehpphthdklmveta\"},{\"prefix\":\"lakf\",\"annotation\":\"ixwgiksbbvtooxrp\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"phchgjtnhtukfaci\",\"importIpv6RoutePolicyId\":\"bfntumeezbxvq\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"uvwc\",\"exportIpv6RoutePolicyId\":\"sgomtmjz\"},\"ingressAclId\":\"uqgovsxpwwztjfm\",\"egressAclId\":\"htgfred\",\"isMonitoringEnabled\":\"False\",\"vlanId\":1559895100,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1807188661,\"multiplier\":1463852547},\"defaultRouteOriginate\":\"False\",\"allowAS\":1041119190,\"allowASOverride\":\"Disable\",\"fabricASN\":2662581133111301135,\"peerASN\":6125335634113559684,\"ipv4ListenRangePrefixes\":[\"o\",\"lyotg\",\"wsxnsrqor\"],\"ipv6ListenRangePrefixes\":[\"nmvceb\",\"eetqujxcxxq\",\"dcqjkedwqurc\"],\"ipv4NeighborAddress\":[{\"address\":\"rvvxwjongzsehq\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioned\"},{\"address\":\"skx\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Rejected\"},{\"address\":\"ia\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioning\"}],\"ipv6NeighborAddress\":[{\"address\":\"uctejrthcfjzhxl\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"CommitStaged\"},{\"address\":\"tvrjeqmtz\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Rejected\"},{\"address\":\"x\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Accepted\"},{\"address\":\"srwrsnrhpqati\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioning\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"vcsemsvuvdj\",\"qxetqmmlivrjjx\",\"wxdchpojxlehzlx\",\"gfquwz\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Pre-Policy\",\"LocalRib\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"bpjxljtxbusqtb\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1833125936,\"multiplier\":1348264667},\"ipv4Routes\":[{\"prefix\":\"bdgzpagsecnad\",\"nextHop\":[\"wqrgxfllmqi\"]},{\"prefix\":\"nezoellnkki\",\"nextHop\":[\"vmtumxpym\"]}],\"ipv6Routes\":[{\"prefix\":\"uaxroqvqpilrgu\",\"nextHop\":[\"anlduwzorxsb\",\"x\",\"qk\"]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1483560552,\"threshold\":1084059611,\"idleTimeExpiry\":672851852}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":385113507,\"threshold\":1081503217,\"idleTimeExpiry\":1215453514}]},\"lastOperation\":{\"details\":\"pjbowcpj\"},\"networkFabricId\":\"uqgixex\",\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"MAT\"}") .toObject(InternalNetworkProperties.class); - Assertions.assertEquals("a", model.annotation()); - Assertions.assertEquals(Extension.NPB, model.extension()); - Assertions.assertEquals(1665426893, model.mtu()); - Assertions.assertEquals("ffcvvyezslpuxgcb", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("yxpavidnie", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("hnmhkrezsdsux", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("djpxpqht", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("ehpphthdklmveta", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("akfqoixwgiksb", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("ooxr", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("gwphchgjtnht", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("facihmbfntu", model.ingressAclId()); - Assertions.assertEquals("ezbxvqxbn", model.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); - Assertions.assertEquals(15435205, model.vlanId()); - Assertions.assertEquals("tejrthc", model.bgpConfiguration().annotation()); - Assertions.assertEquals(1571960341, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1104263199, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("felhldiuhzzgqlm", model.annotation()); + Assertions.assertEquals(Extension.NO_EXTENSION, model.extension()); + Assertions.assertEquals(182112001, model.mtu()); + Assertions.assertEquals("hnmhkrezsdsux", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("udjpxpqht", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("haxd", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("bmjxuvjipf", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("phchgjtnhtukfaci", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("bfntumeezbxvq", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("uvwc", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("sgomtmjz", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("uqgovsxpwwztjfm", model.ingressAclId()); + Assertions.assertEquals("htgfred", model.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.FALSE, model.isMonitoringEnabled()); + Assertions.assertEquals(1559895100, model.vlanId()); + Assertions.assertEquals("bpjxljtxbusqtb", model.bgpConfiguration().annotation()); + Assertions.assertEquals(1807188661, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1463852547, model.bgpConfiguration().bfdConfiguration().multiplier()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(1595462512, model.bgpConfiguration().allowAS()); - Assertions.assertEquals(AllowASOverride.ENABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(4713411285304930480L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("wztjfmk", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("cgrllc", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("otgkwsxnsrqorcg", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("urcgojmrvvxwj", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("xk", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(1041119190, model.bgpConfiguration().allowAS()); + Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); + Assertions.assertEquals(6125335634113559684L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("o", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("nmvceb", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("rvvxwjongzsehq", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("uctejrthcfjzhxl", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("vcsemsvuvdj", + model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, + Assertions.assertEquals(BmpExportPolicy.ALL, model.bgpConfiguration().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.bgpConfiguration().v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(1568167663, + Assertions.assertEquals(1833125936, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1014445888, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("rostvrjeqmtzz", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("qrztrxal", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fquwzpwiibel", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("erwk", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(Extension.NO_EXTENSION, model.staticRouteConfiguration().extension()); - Assertions.assertEquals(309661732, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1410269883, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(788439044, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(433528992, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(699683864, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(825597262, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1348264667, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("bdgzpagsecnad", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("wqrgxfllmqi", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("uaxroqvqpilrgu", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("anlduwzorxsb", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(Extension.NPB, model.staticRouteConfiguration().extension()); + Assertions.assertEquals(1483560552, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1084059611, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(672851852, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(385113507, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1081503217, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1215453514, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternalNetworkProperties model = new InternalNetworkProperties().withAnnotation("a") - .withExtension(Extension.NPB) - .withMtu(1665426893) + InternalNetworkProperties model = new InternalNetworkProperties().withAnnotation("felhldiuhzzgqlm") + .withExtension(Extension.NO_EXTENSION) + .withMtu(182112001) .withConnectedIPv4Subnets( - Arrays.asList(new ConnectedSubnet().withAnnotation("ffcvvyezslpuxgcb").withPrefix("yxpavidnie"), - new ConnectedSubnet().withAnnotation("ugxyqvnjobfelhl").withPrefix("svalpnptwtrkxgpa"), - new ConnectedSubnet().withAnnotation("z").withPrefix("iuhzzgqlmfa"))) + Arrays.asList(new ConnectedSubnet().withAnnotation("hnmhkrezsdsux").withPrefix("udjpxpqht"), + new ConnectedSubnet().withAnnotation("ymmqgwokmikp").withPrefix("eqdgcruxsp"))) .withConnectedIPv6Subnets( - Arrays.asList(new ConnectedSubnet().withAnnotation("hnmhkrezsdsux").withPrefix("djpxpqht"), - new ConnectedSubnet().withAnnotation("ymmqgwokmikp").withPrefix("eqdgcruxsp"), - new ConnectedSubnet().withAnnotation("pfdvhaxdv").withPrefix("zfbmjxuv"))) - .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("ehpphthdklmveta") - .withImportIpv6RoutePolicyId("akfqoixwgiksb")) + Arrays.asList(new ConnectedSubnet().withAnnotation("haxd").withPrefix("bmjxuvjipf"), + new ConnectedSubnet().withAnnotation("ehpphthdklmveta").withPrefix("w"), + new ConnectedSubnet().withAnnotation("ixwgiksbbvtooxrp").withPrefix("lakf"))) + .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId("phchgjtnhtukfaci") + .withImportIpv6RoutePolicyId("bfntumeezbxvq")) .withExportRoutePolicy( - new ExportRoutePolicy().withExportIpv4RoutePolicyId("ooxr").withExportIpv6RoutePolicyId("gwphchgjtnht")) - .withIngressAclId("facihmbfntu") - .withEgressAclId("ezbxvqxbn") - .withIsMonitoringEnabled(IsMonitoringEnabled.TRUE) - .withVlanId(15435205) - .withBgpConfiguration(new BgpConfiguration().withAnnotation("tejrthc") + new ExportRoutePolicy().withExportIpv4RoutePolicyId("uvwc").withExportIpv6RoutePolicyId("sgomtmjz")) + .withIngressAclId("uqgovsxpwwztjfm") + .withEgressAclId("htgfred") + .withIsMonitoringEnabled(IsMonitoringEnabled.FALSE) + .withVlanId(1559895100) + .withBgpConfiguration(new BgpConfiguration().withAnnotation("bpjxljtxbusqtb") .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1571960341).withMultiplier(1104263199)) + new BfdConfiguration().withIntervalInMilliSeconds(1807188661).withMultiplier(1463852547)) .withDefaultRouteOriginate(BooleanEnumProperty.FALSE) - .withAllowAS(1595462512) - .withAllowASOverride(AllowASOverride.ENABLE) - .withPeerAsn(4713411285304930480L) - .withIpv4ListenRangePrefixes(Arrays.asList("wztjfmk", "htgfred")) - .withIpv6ListenRangePrefixes(Arrays.asList("cgrllc", "na", "vjowazhpabac")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("otgkwsxnsrqorcg"), - new NeighborAddress().withAddress("eetqujxcxxq"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("urcgojmrvvxwj"), - new NeighborAddress().withAddress("q"))) + .withAllowAS(1041119190) + .withAllowASOverride(AllowASOverride.DISABLE) + .withPeerAsn(6125335634113559684L) + .withIpv4ListenRangePrefixes(Arrays.asList("o", "lyotg", "wsxnsrqor")) + .withIpv6ListenRangePrefixes(Arrays.asList("nmvceb", "eetqujxcxxq", "dcqjkedwqurc")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("rvvxwjongzsehq"), + new NeighborAddress().withAddress("skx"), new NeighborAddress().withAddress("ia"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("uctejrthcfjzhxl"), + new NeighborAddress().withAddress("tvrjeqmtz"), new NeighborAddress().withAddress("x"), + new NeighborAddress().withAddress("srwrsnrhpqati"))) .withBmpConfiguration(new InternalNetworkBmpProperties() - .withNeighborIpExclusions(Arrays.asList("xk", "nsbvr")) + .withNeighborIpExclusions( + Arrays.asList("vcsemsvuvdj", "qxetqmmlivrjjx", "wxdchpojxlehzlx", "gfquwz")) .withBmpConfigurationState(BmpConfigurationState.DISABLED) .withExportPolicyConfiguration(new BmpExportPolicyProperties().withExportPolicies( - Arrays.asList(BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.ALL, BmpExportPolicy.POST_POLICY)))) + Arrays.asList(BmpExportPolicy.ALL, BmpExportPolicy.PRE_POLICY, BmpExportPolicy.LOCAL_RIB)))) .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED)) .withStaticRouteConfiguration(new StaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1568167663).withMultiplier(1014445888)) + new BfdConfiguration().withIntervalInMilliSeconds(1833125936).withMultiplier(1348264667)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("rostvrjeqmtzz") - .withNextHop(Arrays.asList("qrztrxal", "rdhabsr", "rsnrhp", "a")), - new StaticRouteProperties().withPrefix("iwkkvya") - .withNextHop(Arrays.asList("kvvcsemsvuvdjkq", "etqmmli")), - new StaticRouteProperties().withPrefix("rj").withNextHop(Arrays.asList("nw", "dchpojxlehzl")))) - .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("fquwzpwiibel") - .withNextHop(Arrays.asList("erwk", "bpjxljtxbusqtb", "xniu", "sdzhgbdgzpagsec")), - new StaticRouteProperties().withPrefix("adbuwqrgxfllmqiy") - .withNextHop(Arrays.asList("zoellnkkiiwvmtum", "pymdjfuax")))) - .withExtension(Extension.NO_EXTENSION)) - .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(309661732) - .withThreshold(1410269883) - .withIdleTimeExpiry(788439044), - new PrefixLimitProperties().withMaximumRoutes(870184100) - .withThreshold(494652447) - .withIdleTimeExpiry(924415526), - new PrefixLimitProperties().withMaximumRoutes(1436666704) - .withThreshold(527770676) - .withIdleTimeExpiry(1839530310)))) + new StaticRouteProperties().withPrefix("bdgzpagsecnad").withNextHop(Arrays.asList("wqrgxfllmqi")), + new StaticRouteProperties().withPrefix("nezoellnkki").withNextHop(Arrays.asList("vmtumxpym")))) + .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("uaxroqvqpilrgu") + .withNextHop(Arrays.asList("anlduwzorxsb", "x", "qk")))) + .withExtension(Extension.NPB)) + .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties() + .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(1483560552) + .withThreshold(1084059611) + .withIdleTimeExpiry(672851852)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties() - .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(433528992) - .withThreshold(699683864) - .withIdleTimeExpiry(825597262)))); + .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(385113507) + .withThreshold(1081503217) + .withIdleTimeExpiry(1215453514)))); model = BinaryData.fromObject(model).toObject(InternalNetworkProperties.class); - Assertions.assertEquals("a", model.annotation()); - Assertions.assertEquals(Extension.NPB, model.extension()); - Assertions.assertEquals(1665426893, model.mtu()); - Assertions.assertEquals("ffcvvyezslpuxgcb", model.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("yxpavidnie", model.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("hnmhkrezsdsux", model.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("djpxpqht", model.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("ehpphthdklmveta", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("akfqoixwgiksb", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("ooxr", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("gwphchgjtnht", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("facihmbfntu", model.ingressAclId()); - Assertions.assertEquals("ezbxvqxbn", model.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.isMonitoringEnabled()); - Assertions.assertEquals(15435205, model.vlanId()); - Assertions.assertEquals("tejrthc", model.bgpConfiguration().annotation()); - Assertions.assertEquals(1571960341, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1104263199, model.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("felhldiuhzzgqlm", model.annotation()); + Assertions.assertEquals(Extension.NO_EXTENSION, model.extension()); + Assertions.assertEquals(182112001, model.mtu()); + Assertions.assertEquals("hnmhkrezsdsux", model.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("udjpxpqht", model.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("haxd", model.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("bmjxuvjipf", model.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("phchgjtnhtukfaci", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("bfntumeezbxvq", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("uvwc", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("sgomtmjz", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("uqgovsxpwwztjfm", model.ingressAclId()); + Assertions.assertEquals("htgfred", model.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.FALSE, model.isMonitoringEnabled()); + Assertions.assertEquals(1559895100, model.vlanId()); + Assertions.assertEquals("bpjxljtxbusqtb", model.bgpConfiguration().annotation()); + Assertions.assertEquals(1807188661, model.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1463852547, model.bgpConfiguration().bfdConfiguration().multiplier()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(1595462512, model.bgpConfiguration().allowAS()); - Assertions.assertEquals(AllowASOverride.ENABLE, model.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(4713411285304930480L, model.bgpConfiguration().peerAsn()); - Assertions.assertEquals("wztjfmk", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("cgrllc", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("otgkwsxnsrqorcg", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("urcgojmrvvxwj", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("xk", model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(1041119190, model.bgpConfiguration().allowAS()); + Assertions.assertEquals(AllowASOverride.DISABLE, model.bgpConfiguration().allowASOverride()); + Assertions.assertEquals(6125335634113559684L, model.bgpConfiguration().peerAsn()); + Assertions.assertEquals("o", model.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("nmvceb", model.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("rvvxwjongzsehq", model.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("uctejrthcfjzhxl", model.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("vcsemsvuvdj", + model.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, + Assertions.assertEquals(BmpExportPolicy.ALL, model.bgpConfiguration().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.bgpConfiguration().v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, model.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(1568167663, + Assertions.assertEquals(1833125936, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1014445888, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("rostvrjeqmtzz", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("qrztrxal", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fquwzpwiibel", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("erwk", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(Extension.NO_EXTENSION, model.staticRouteConfiguration().extension()); - Assertions.assertEquals(309661732, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1410269883, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(788439044, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(433528992, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(699683864, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(825597262, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1348264667, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("bdgzpagsecnad", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("wqrgxfllmqi", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("uaxroqvqpilrgu", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("anlduwzorxsb", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(Extension.NPB, model.staticRouteConfiguration().extension()); + Assertions.assertEquals(1483560552, model.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1084059611, model.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(672851852, model.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(385113507, model.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1081503217, model.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1215453514, model.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateRequestTests.java index ef0ee1bcaf1c6..df45987291098 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateRequestTests.java @@ -14,22 +14,22 @@ public final class InternalNetworkUpdateBfdAdministrativeStateRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkUpdateBfdAdministrativeStateRequest model = BinaryData - .fromString("{\"routeType\":\"Bgp\",\"neighborAddress\":\"njhx\",\"administrativeState\":\"MAT\"}") + .fromString("{\"routeType\":\"Bgp\",\"neighborAddress\":\"bgiark\",\"administrativeState\":\"RMA\"}") .toObject(InternalNetworkUpdateBfdAdministrativeStateRequest.class); Assertions.assertEquals(InternalNetworkRouteType.BGP, model.routeType()); - Assertions.assertEquals("njhx", model.neighborAddress()); - Assertions.assertEquals(BfdAdministrativeState.MAT, model.administrativeState()); + Assertions.assertEquals("bgiark", model.neighborAddress()); + Assertions.assertEquals(BfdAdministrativeState.RMA, model.administrativeState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { InternalNetworkUpdateBfdAdministrativeStateRequest model = new InternalNetworkUpdateBfdAdministrativeStateRequest().withRouteType(InternalNetworkRouteType.BGP) - .withNeighborAddress("njhx") - .withAdministrativeState(BfdAdministrativeState.MAT); + .withNeighborAddress("bgiark") + .withAdministrativeState(BfdAdministrativeState.RMA); model = BinaryData.fromObject(model).toObject(InternalNetworkUpdateBfdAdministrativeStateRequest.class); Assertions.assertEquals(InternalNetworkRouteType.BGP, model.routeType()); - Assertions.assertEquals("njhx", model.neighborAddress()); - Assertions.assertEquals(BfdAdministrativeState.MAT, model.administrativeState()); + Assertions.assertEquals("bgiark", model.neighborAddress()); + Assertions.assertEquals(BfdAdministrativeState.RMA, model.administrativeState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java index cda6758f2559f..b9cfac4548b87 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBfdAdministrativeStateResponsePropertiesTests.java @@ -13,11 +13,11 @@ public final class InternalNetworkUpdateBfdAdministrativeStateResponseProperties @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkUpdateBfdAdministrativeStateResponseProperties model = BinaryData.fromString( - "{\"neighborAddressAdministrativeStatus\":[{\"neighborAddress\":\"iybxvgnzuzpb\",\"administrativeState\":\"Enabled\",\"error\":\"scpiuz\"},{\"neighborAddress\":\"unhdimjuk\",\"administrativeState\":\"Enabled\",\"error\":\"kaugpucdocfqplwg\"}]}") + "{\"neighborAddressAdministrativeStatus\":[{\"neighborAddress\":\"iuwkirkskwzts\",\"administrativeState\":\"MAT\",\"error\":\"ygow\"},{\"neighborAddress\":\"cq\",\"administrativeState\":\"RMA\",\"error\":\"kg\"},{\"neighborAddress\":\"dgzyybzoxlvoc\",\"administrativeState\":\"Enabled\",\"error\":\"xxheigmlilwzghjh\"}]}") .toObject(InternalNetworkUpdateBfdAdministrativeStateResponseProperties.class); - Assertions.assertEquals("iybxvgnzuzpb", model.neighborAddressAdministrativeStatus().get(0).neighborAddress()); - Assertions.assertEquals(BfdAdministrativeState.ENABLED, + Assertions.assertEquals("iuwkirkskwzts", model.neighborAddressAdministrativeStatus().get(0).neighborAddress()); + Assertions.assertEquals(BfdAdministrativeState.MAT, model.neighborAddressAdministrativeStatus().get(0).administrativeState()); - Assertions.assertEquals("scpiuz", model.neighborAddressAdministrativeStatus().get(0).error()); + Assertions.assertEquals("ygow", model.neighborAddressAdministrativeStatus().get(0).error()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateRequestTests.java index 6bba1e0210c51..471f40804a65a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateRequestTests.java @@ -13,19 +13,19 @@ public final class InternalNetworkUpdateBgpAdministrativeStateRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkUpdateBgpAdministrativeStateRequest model - = BinaryData.fromString("{\"neighborAddress\":\"sdbpokszanmh\",\"administrativeState\":\"Enabled\"}") + = BinaryData.fromString("{\"neighborAddress\":\"jgwecywnfyszzacz\",\"administrativeState\":\"Disabled\"}") .toObject(InternalNetworkUpdateBgpAdministrativeStateRequest.class); - Assertions.assertEquals("sdbpokszanmh", model.neighborAddress()); - Assertions.assertEquals(BgpAdministrativeState.ENABLED, model.administrativeState()); + Assertions.assertEquals("jgwecywnfyszzacz", model.neighborAddress()); + Assertions.assertEquals(BgpAdministrativeState.DISABLED, model.administrativeState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { InternalNetworkUpdateBgpAdministrativeStateRequest model - = new InternalNetworkUpdateBgpAdministrativeStateRequest().withNeighborAddress("sdbpokszanmh") - .withAdministrativeState(BgpAdministrativeState.ENABLED); + = new InternalNetworkUpdateBgpAdministrativeStateRequest().withNeighborAddress("jgwecywnfyszzacz") + .withAdministrativeState(BgpAdministrativeState.DISABLED); model = BinaryData.fromObject(model).toObject(InternalNetworkUpdateBgpAdministrativeStateRequest.class); - Assertions.assertEquals("sdbpokszanmh", model.neighborAddress()); - Assertions.assertEquals(BgpAdministrativeState.ENABLED, model.administrativeState()); + Assertions.assertEquals("jgwecywnfyszzacz", model.neighborAddress()); + Assertions.assertEquals(BgpAdministrativeState.DISABLED, model.administrativeState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateResponsePropertiesTests.java index cdd21128d5fa3..ab300e22eb9cd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworkUpdateBgpAdministrativeStateResponsePropertiesTests.java @@ -13,11 +13,11 @@ public final class InternalNetworkUpdateBgpAdministrativeStateResponseProperties @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworkUpdateBgpAdministrativeStateResponseProperties model = BinaryData.fromString( - "{\"neighborAddressAdministrativeStatus\":[{\"neighborAddress\":\"zqfsgnwdxzed\",\"administrativeState\":\"Enabled\",\"error\":\"fb\"},{\"neighborAddress\":\"xi\",\"administrativeState\":\"Enabled\",\"error\":\"fyzavfrbypicdb\"}]}") + "{\"neighborAddressAdministrativeStatus\":[{\"neighborAddress\":\"fzuscstun\",\"administrativeState\":\"Enabled\",\"error\":\"dfb\"},{\"neighborAddress\":\"ciichgj\",\"administrativeState\":\"Enabled\",\"error\":\"vxodgwxfkzs\"}]}") .toObject(InternalNetworkUpdateBgpAdministrativeStateResponseProperties.class); - Assertions.assertEquals("zqfsgnwdxzed", model.neighborAddressAdministrativeStatus().get(0).neighborAddress()); + Assertions.assertEquals("fzuscstun", model.neighborAddressAdministrativeStatus().get(0).neighborAddress()); Assertions.assertEquals(BgpAdministrativeState.ENABLED, model.neighborAddressAdministrativeStatus().get(0).administrativeState()); - Assertions.assertEquals("fb", model.neighborAddressAdministrativeStatus().get(0).error()); + Assertions.assertEquals("dfb", model.neighborAddressAdministrativeStatus().get(0).error()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateMockTests.java index 3dbb6b09e7526..c4d0da7f6f5ee 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksCreateMockTests.java @@ -43,7 +43,7 @@ public final class InternalNetworksCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"xa\",\"extension\":\"NoExtension\",\"mtu\":670239772,\"connectedIPv4Subnets\":[{\"prefix\":\"nivf\",\"annotation\":\"bskinmxanjgua\"},{\"prefix\":\"hipgfx\",\"annotation\":\"wa\"},{\"prefix\":\"zeqjno\",\"annotation\":\"ujliti\"},{\"prefix\":\"shmqxgjzslho\",\"annotation\":\"qxipbxs\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"cnggocnwnjmiit\",\"annotation\":\"mfb\"},{\"prefix\":\"lk\",\"annotation\":\"jxwwqz\"},{\"prefix\":\"ye\",\"annotation\":\"ffrhqzvwz\"},{\"prefix\":\"wcqoa\",\"annotation\":\"tj\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"etfdpurvz\",\"importIpv6RoutePolicyId\":\"jbesfumedsa\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"vqhbwsvi\",\"exportIpv6RoutePolicyId\":\"kyaghfvublszsveg\"},\"ingressAclId\":\"ax\",\"egressAclId\":\"pnymbjrsdiufqxr\",\"isMonitoringEnabled\":\"False\",\"vlanId\":1630936804,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":2112614280,\"multiplier\":2070294877},\"defaultRouteOriginate\":\"True\",\"allowAS\":1950523014,\"allowASOverride\":\"Enable\",\"fabricASN\":6210886518375174444,\"peerASN\":7162718804422660082,\"ipv4ListenRangePrefixes\":[\"vjgwnmxcng\",\"wdavpqyh\",\"xhorzozfrgkwp\",\"n\"],\"ipv6ListenRangePrefixes\":[\"bgtcggoppmx\"],\"ipv4NeighborAddress\":[{\"address\":\"gdd\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Succeeded\"},{\"address\":\"a\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"DeferredControl\"},{\"address\":\"sxvzc\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"DeferredControl\"},{\"address\":\"qwbrzkmgyl\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioned\"}],\"ipv6NeighborAddress\":[{\"address\":\"coiqwnqlizlcyhj\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Deprovisioning\"},{\"address\":\"omm\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Failed\"},{\"address\":\"ajcmpohjdvfjv\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"PendingAdministrativeUpdate\"},{\"address\":\"boindiuyqdjkugcj\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"PendingAdministrativeUpdate\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"vshkvupbzqwwtt\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\"]}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"bjvv\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":371651813,\"multiplier\":308383665},\"ipv4Routes\":[{\"prefix\":\"sky\",\"nextHop\":[\"djoorbuuhbcck\"]},{\"prefix\":\"cvtelmdrmasvg\",\"nextHop\":[\"hlbkquhmb\",\"nismviaasdexs\",\"glxljuy\",\"kkpovzespdipdx\"]},{\"prefix\":\"npdjomd\",\"nextHop\":[\"dwosjxywwvilkyht\",\"riyhdbbj\",\"sjmc\",\"brpwj\"]},{\"prefix\":\"n\",\"nextHop\":[\"tkghrrxauuhdkh\",\"izyxoyxnhub\",\"wip\"]}],\"ipv6Routes\":[{\"prefix\":\"ivpezzyrpdxy\",\"nextHop\":[\"pqxsemezkpdmmowf\",\"frqebrjopotefe\"]},{\"prefix\":\"fxm\",\"nextHop\":[\"y\"]},{\"prefix\":\"widnrd\",\"nextHop\":[\"kvhuiadyh\",\"disypgapfdwhwbe\"]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":555797947,\"threshold\":954210117,\"idleTimeExpiry\":400751332},{\"maximumRoutes\":867304070,\"threshold\":254882571,\"idleTimeExpiry\":814416976},{\"maximumRoutes\":439121966,\"threshold\":282883572,\"idleTimeExpiry\":630136615},{\"maximumRoutes\":1559171982,\"threshold\":46063064,\"idleTimeExpiry\":1717098326}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1593849595,\"threshold\":1156108756,\"idleTimeExpiry\":514898197},{\"maximumRoutes\":558072460,\"threshold\":1755812450,\"idleTimeExpiry\":1328219659},{\"maximumRoutes\":106523854,\"threshold\":817221139,\"idleTimeExpiry\":1398939086}]},\"lastOperation\":{\"details\":\"eeocyarvsfzgcsco\"},\"networkFabricId\":\"fsgilwisqxzpz\",\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"id\":\"fvogkn\",\"name\":\"csh\",\"type\":\"pcjqtuzbir\"}"; + = "{\"properties\":{\"annotation\":\"mviaasdexsrglxlj\",\"extension\":\"NoExtension\",\"mtu\":1237320625,\"connectedIPv4Subnets\":[{\"prefix\":\"v\",\"annotation\":\"spdipdxq\"},{\"prefix\":\"pdjomddadwosjxy\",\"annotation\":\"vilkyhtnriyhdb\"},{\"prefix\":\"jgsjmcybrp\",\"annotation\":\"e\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"tkghrrxauuhdkh\",\"annotation\":\"zyxoy\"},{\"prefix\":\"n\",\"annotation\":\"bjw\"},{\"prefix\":\"pfryivpe\",\"annotation\":\"y\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"xygfpqxsemezkpd\",\"importIpv6RoutePolicyId\":\"owftfrqebrjopot\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"kfxm\",\"exportIpv6RoutePolicyId\":\"y\"},\"ingressAclId\":\"i\",\"egressAclId\":\"rdsdkvhuiadyh\",\"isMonitoringEnabled\":\"True\",\"vlanId\":578186848,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1027580247,\"multiplier\":1388003194},\"defaultRouteOriginate\":\"True\",\"allowAS\":1992671254,\"allowASOverride\":\"Disable\",\"fabricASN\":3480905859944048648,\"peerASN\":6730557005793497629,\"ipv4ListenRangePrefixes\":[\"skfl\"],\"ipv6ListenRangePrefixes\":[\"y\",\"rjee\",\"mbh\"],\"ipv4NeighborAddress\":[{\"address\":\"bz\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"DeferredControl\"}],\"ipv6NeighborAddress\":[{\"address\":\"otbrepe\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"ErrorDeprovisioning\"},{\"address\":\"yar\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"PendingAdministrativeUpdate\"},{\"address\":\"ootfsgilwisqxzp\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Accepted\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"vogk\",\"ocshmpcjqt\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"All\",\"Post-Policy\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"xydpamc\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":886063663,\"multiplier\":43014017},\"ipv4Routes\":[{\"prefix\":\"nsjssreojsgkoue\",\"nextHop\":[\"gkxyrsppbghye\",\"gg\",\"awlqvuwsqmwqsgy\",\"z\"]},{\"prefix\":\"o\",\"nextHop\":[\"ngxvrpkizjnkgds\",\"rsumbcir\",\"b\",\"qpsvoxs\"]},{\"prefix\":\"xumuuyblolruf\",\"nextHop\":[\"gblbqxlsa\"]},{\"prefix\":\"xyjqhwsojnbbbgv\",\"nextHop\":[\"wyzxqhuhmldhnz\",\"ckfu\"]}],\"ipv6Routes\":[{\"prefix\":\"hotdztqhqh\",\"nextHop\":[\"uaermawwlnsdaz\",\"cemcotwfuo\",\"hisxz\",\"ikvdfszxbupsx\"]},{\"prefix\":\"oj\",\"nextHop\":[\"xcgqkhyvtajwkr\",\"mzlmwfncwl\",\"ovkzbom\",\"byssprkbzralj\"]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":72607837,\"threshold\":947006758,\"idleTimeExpiry\":565851266},{\"maximumRoutes\":282622598,\"threshold\":700623063,\"idleTimeExpiry\":1724068228}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1334037530,\"threshold\":549609657,\"idleTimeExpiry\":1681318120},{\"maximumRoutes\":1245506135,\"threshold\":834452068,\"idleTimeExpiry\":1579704684},{\"maximumRoutes\":740481810,\"threshold\":531100755,\"idleTimeExpiry\":1576159583},{\"maximumRoutes\":1445398672,\"threshold\":2125618421,\"idleTimeExpiry\":881113672}]},\"lastOperation\":{\"details\":\"fwfuxdtpjcs\"},\"networkFabricId\":\"edlclxx\",\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"id\":\"mbdsgqxacidu\",\"name\":\"b\",\"type\":\"zhdjbyf\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -53,138 +53,125 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); InternalNetwork response = manager.internalNetworks() - .define("ppppte") - .withExistingL3IsolationDomain("znfokcb", "rskyl") - .withVlanId(292560001) - .withAnnotation("ktretutsygzjp") - .withExtension(Extension.NPB) - .withMtu(18517898) + .define("qsqvfyokssta") + .withExistingL3IsolationDomain("tlpshxjhanskooal", "nk") + .withVlanId(1743024473) + .withAnnotation("iqlxjjltuymnaaqh") + .withExtension(Extension.NO_EXTENSION) + .withMtu(1569063785) .withConnectedIPv4Subnets( - Arrays.asList(new ConnectedSubnet().withAnnotation("otghxkrrpmgdoli").withPrefix("ltanvb"), - new ConnectedSubnet().withAnnotation("omz").withPrefix("izsglavdtttyd"), - new ConnectedSubnet().withAnnotation("pwmveyrc").withPrefix("qkjqcsh"))) - .withConnectedIPv6Subnets( - Arrays.asList(new ConnectedSubnet().withAnnotation("zmleuqxhmrilwkc").withPrefix("dmoufjuqowuicvjy"), - new ConnectedSubnet().withAnnotation("a").withPrefix("usvp"), - new ConnectedSubnet().withAnnotation("dqqzikv").withPrefix("lxxzn"))) + Arrays.asList(new ConnectedSubnet().withAnnotation("sbyjgdjvyclasdp").withPrefix("lvccuvcva"), + new ConnectedSubnet().withAnnotation("teklgs").withPrefix("knu"), + new ConnectedSubnet().withAnnotation("aolthowcsue").withPrefix("pvqczpk"))) + .withConnectedIPv6Subnets(Arrays.asList(new ConnectedSubnet().withAnnotation("uimtx").withPrefix("g"))) .withImportRoutePolicy( - new ImportRoutePolicy().withImportIpv4RoutePolicyId("iwodhas").withImportIpv6RoutePolicyId("aae")) - .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId("xvf") - .withExportIpv6RoutePolicyId("chtdmhrztbyulkoe")) - .withIngressAclId("soq") - .withEgressAclId("bygrqcidiwkxi") - .withIsMonitoringEnabled(IsMonitoringEnabled.FALSE) - .withBgpConfiguration(new BgpConfiguration().withAnnotation("hdyasklmyfh") + new ImportRoutePolicy().withImportIpv4RoutePolicyId("exar").withImportIpv6RoutePolicyId("koir")) + .withExportRoutePolicy( + new ExportRoutePolicy().withExportIpv4RoutePolicyId("ftlbs").withExportIpv6RoutePolicyId("nmxa")) + .withIngressAclId("guadh") + .withEgressAclId("gfx") + .withIsMonitoringEnabled(IsMonitoringEnabled.TRUE) + .withBgpConfiguration(new BgpConfiguration().withAnnotation("pp") .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(379504704).withMultiplier(465081524)) + new BfdConfiguration().withIntervalInMilliSeconds(296026322).withMultiplier(536315628)) .withDefaultRouteOriginate(BooleanEnumProperty.TRUE) - .withAllowAS(1679867735) - .withAllowASOverride(AllowASOverride.DISABLE) - .withPeerAsn(9029479734233543707L) - .withIpv4ListenRangePrefixes(Arrays.asList("atkliopgw")) - .withIpv6ListenRangePrefixes(Arrays.asList("tccety", "vxkwobbwnsdpyirt")) - .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("pjeegz"), - new NeighborAddress().withAddress("e"), new NeighborAddress().withAddress("hfwphnm"))) - .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("xuofneaqahzkv"), - new NeighborAddress().withAddress("sddxaovubf"))) - .withBmpConfiguration(new InternalNetworkBmpProperties() - .withNeighborIpExclusions(Arrays.asList("bua", "pvdwhvnjcbuzu", "kqoeou")) - .withBmpConfigurationState(BmpConfigurationState.ENABLED) - .withExportPolicyConfiguration(new BmpExportPolicyProperties().withExportPolicies(Arrays - .asList(BmpExportPolicy.POST_POLICY, BmpExportPolicy.POST_POLICY, BmpExportPolicy.PRE_POLICY)))) - .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED) + .withAllowAS(1892788867) + .withAllowASOverride(AllowASOverride.ENABLE) + .withPeerAsn(7435359511297834238L) + .withIpv4ListenRangePrefixes(Arrays.asList("gjzslhopyqx", "pbxspvkcng", "ocnwnjmiitlamf", "klkhhjxww")) + .withIpv6ListenRangePrefixes(Arrays.asList("ye", "b")) + .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("qzvwznwcqoapdtj"), + new NeighborAddress().withAddress("urvzdt"), new NeighborAddress().withAddress("dsaa"))) + .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("vqkyaghfvub"), + new NeighborAddress().withAddress("xaxijpn"), new NeighborAddress().withAddress("ufqxrlzi"), + new NeighborAddress().withAddress("cmlzmfetidnewrvj"))) + .withBmpConfiguration( + new InternalNetworkBmpProperties().withNeighborIpExclusions(Arrays.asList("d", "vpqyhaxhorzozfrg")) + .withBmpConfigurationState(BmpConfigurationState.ENABLED) + .withExportPolicyConfiguration(new BmpExportPolicyProperties() + .withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, BmpExportPolicy.PRE_POLICY, + BmpExportPolicy.ALL, BmpExportPolicy.PRE_POLICY)))) + .withV4OverV6BgpSession(V4OverV6BgpSessionState.DISABLED) .withV6OverV4BgpSession(V6OverV4BgpSessionState.DISABLED)) .withStaticRouteConfiguration(new StaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1512051119).withMultiplier(683985811)) - .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("jatvfddqspdutt") - .withNextHop(Arrays.asList("tszqexcqcw", "xxvcvekqjdr", "mlvkdwwqhhlf", "mwuyar")), - new StaticRouteProperties().withPrefix("wsvtzotmwx") - .withNextHop(Arrays.asList("fbdanfexlawkeq", "hzbwrtmjskbienjn")))) + new BfdConfiguration().withIntervalInMilliSeconds(793374493).withMultiplier(516134199)) + .withIpv4Routes(Arrays + .asList(new StaticRouteProperties().withPrefix("fy").withNextHop(Arrays.asList("unamzqvawk")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("kmvoun").withNextHop(Arrays.asList("vsfqu")), - new StaticRouteProperties().withPrefix("r") - .withNextHop(Arrays.asList("qbknoxjhe", "whmmwbvrpajb", "igxxrezpuzk", "igifino")), - new StaticRouteProperties().withPrefix("sdtlpshxjhans").withNextHop(Arrays.asList("oalcnkgqs")))) + new StaticRouteProperties().withPrefix("vzcxxfwpjpgq") + .withNextHop(Arrays.asList("rz", "mgylmyc", "mhorrecoiqwnqli")), + new StaticRouteProperties().withPrefix("lcyhjh").withNextHop(Arrays.asList("fptiiom")), + new StaticRouteProperties().withPrefix("isbfmbvma") + .withNextHop(Arrays.asList("mpohjdvfj", "b", "a", "ymahboindiuyqdjk")))) .withExtension(Extension.NPB)) .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(1486705336) - .withThreshold(468951898) - .withIdleTimeExpiry(827799827), - new PrefixLimitProperties().withMaximumRoutes(1740633536) - .withThreshold(1443201522) - .withIdleTimeExpiry(239118066), - new PrefixLimitProperties().withMaximumRoutes(788086595) - .withThreshold(259976201) - .withIdleTimeExpiry(1742579720), - new PrefixLimitProperties().withMaximumRoutes(1288168728) - .withThreshold(872361785) - .withIdleTimeExpiry(909764788)))) + new PrefixLimitProperties().withMaximumRoutes(1478216564) + .withThreshold(1299869789) + .withIdleTimeExpiry(2017587447), + new PrefixLimitProperties().withMaximumRoutes(824905116) + .withThreshold(1039954126) + .withIdleTimeExpiry(1185594658), + new PrefixLimitProperties().withMaximumRoutes(1693823083) + .withThreshold(738659226) + .withIdleTimeExpiry(626691623)))) .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(555184275) - .withThreshold(152845963) - .withIdleTimeExpiry(49868033), - new PrefixLimitProperties().withMaximumRoutes(713655061) - .withThreshold(479349760) - .withIdleTimeExpiry(1189616792), - new PrefixLimitProperties().withMaximumRoutes(1696052954) - .withThreshold(1077761570) - .withIdleTimeExpiry(2115175863), - new PrefixLimitProperties().withMaximumRoutes(994045139) - .withThreshold(969049683) - .withIdleTimeExpiry(58365872)))) + new PrefixLimitProperties().withMaximumRoutes(1270835242) + .withThreshold(2087579434) + .withIdleTimeExpiry(1814372264), + new PrefixLimitProperties().withMaximumRoutes(1422258880) + .withThreshold(94700745) + .withIdleTimeExpiry(1126884924)))) .create(); - Assertions.assertEquals("xa", response.annotation()); + Assertions.assertEquals("mviaasdexsrglxlj", response.annotation()); Assertions.assertEquals(Extension.NO_EXTENSION, response.extension()); - Assertions.assertEquals(670239772, response.mtu()); - Assertions.assertEquals("bskinmxanjgua", response.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("nivf", response.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("mfb", response.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("cnggocnwnjmiit", response.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("etfdpurvz", response.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("jbesfumedsa", response.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("vqhbwsvi", response.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("kyaghfvublszsveg", response.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("ax", response.ingressAclId()); - Assertions.assertEquals("pnymbjrsdiufqxr", response.egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.FALSE, response.isMonitoringEnabled()); - Assertions.assertEquals(1630936804, response.vlanId()); - Assertions.assertEquals("bjvv", response.bgpConfiguration().annotation()); - Assertions.assertEquals(2112614280, response.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(2070294877, response.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(1237320625, response.mtu()); + Assertions.assertEquals("spdipdxq", response.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("v", response.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("zyxoy", response.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("tkghrrxauuhdkh", response.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("xygfpqxsemezkpd", response.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("owftfrqebrjopot", response.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("kfxm", response.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("y", response.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("i", response.ingressAclId()); + Assertions.assertEquals("rdsdkvhuiadyh", response.egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.TRUE, response.isMonitoringEnabled()); + Assertions.assertEquals(578186848, response.vlanId()); + Assertions.assertEquals("xydpamc", response.bgpConfiguration().annotation()); + Assertions.assertEquals(1027580247, response.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1388003194, response.bgpConfiguration().bfdConfiguration().multiplier()); Assertions.assertEquals(BooleanEnumProperty.TRUE, response.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(1950523014, response.bgpConfiguration().allowAS()); - Assertions.assertEquals(AllowASOverride.ENABLE, response.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(7162718804422660082L, response.bgpConfiguration().peerAsn()); - Assertions.assertEquals("vjgwnmxcng", response.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("bgtcggoppmx", response.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("gdd", response.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("coiqwnqlizlcyhj", response.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("vshkvupbzqwwtt", - response.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(1992671254, response.bgpConfiguration().allowAS()); + Assertions.assertEquals(AllowASOverride.DISABLE, response.bgpConfiguration().allowASOverride()); + Assertions.assertEquals(6730557005793497629L, response.bgpConfiguration().peerAsn()); + Assertions.assertEquals("skfl", response.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("y", response.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("bz", response.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("otbrepe", response.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("vogk", response.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, response.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, response.bgpConfiguration().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, response.bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, response.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(371651813, + Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, response.bgpConfiguration().v4OverV6BgpSession()); + Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, response.bgpConfiguration().v6OverV4BgpSession()); + Assertions.assertEquals(886063663, response.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(308383665, response.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("sky", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("djoorbuuhbcck", + Assertions.assertEquals(43014017, response.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("nsjssreojsgkoue", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("gkxyrsppbghye", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ivpezzyrpdxy", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("pqxsemezkpdmmowf", + Assertions.assertEquals("hotdztqhqh", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("uaermawwlnsdaz", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); Assertions.assertEquals(Extension.NO_EXTENSION, response.staticRouteConfiguration().extension()); - Assertions.assertEquals(555797947, response.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(954210117, response.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(400751332, response.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1593849595, response.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1156108756, response.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(514898197, response.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(72607837, response.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(947006758, response.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(565851266, response.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1334037530, response.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(549609657, response.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1681318120, response.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetWithResponseMockTests.java index 89e36e33d19c0..d9c7fa32dbfaa 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksGetWithResponseMockTests.java @@ -29,7 +29,7 @@ public final class InternalNetworksGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"lkyfqll\",\"extension\":\"NoExtension\",\"mtu\":171479383,\"connectedIPv4Subnets\":[{\"prefix\":\"pilhxtabli\",\"annotation\":\"oomgsejisydh\"},{\"prefix\":\"rdxnkl\",\"annotation\":\"fffglftlqakierx\"},{\"prefix\":\"vprb\",\"annotation\":\"ewcs\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"eljfarinufziztgd\",\"annotation\":\"hymvkkjtdhmigkwa\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"gie\",\"importIpv6RoutePolicyId\":\"lsijqygo\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"daehxvvi\",\"exportIpv6RoutePolicyId\":\"safgkysym\"},\"ingressAclId\":\"xslmllbpe\",\"egressAclId\":\"eteza\",\"isMonitoringEnabled\":\"False\",\"vlanId\":1694260716,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":984955282,\"multiplier\":582353213},\"defaultRouteOriginate\":\"True\",\"allowAS\":1262500263,\"allowASOverride\":\"Enable\",\"fabricASN\":229534985750756573,\"peerASN\":7144229842175509345,\"ipv4ListenRangePrefixes\":[\"z\",\"aiecu\",\"fsof\",\"hfmgiixurveekhsm\"],\"ipv6ListenRangePrefixes\":[\"mywoe\",\"kpuuuxiuwhcyc\",\"ekmufipygtmoy\"],\"ipv4NeighborAddress\":[{\"address\":\"maosongtbh\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioned\"},{\"address\":\"wqgiyujnrvwjxmw\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioning\"},{\"address\":\"nbpiuvq\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Failed\"}],\"ipv6NeighborAddress\":[{\"address\":\"npbsungnjkkmkzfb\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Deprovisioning\"},{\"address\":\"yrdiiwhm\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"ErrorDeprovisioning\"},{\"address\":\"ydwmaqeytjpua\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Accepted\"},{\"address\":\"vzugiu\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"ErrorDeprovisioning\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"sc\",\"jtnqbkpobjufksd\",\"xkgiwxlylxf\",\"voylfclsr\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"b\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1356286342,\"multiplier\":1034064004},\"ipv4Routes\":[{\"prefix\":\"ulzguvckpdp\",\"nextHop\":[\"nrjqskikqd\",\"iybqtlv\"]},{\"prefix\":\"fjjsetiz\",\"nextHop\":[\"nadn\",\"isbpxlserq\"]},{\"prefix\":\"xnhfcccdutxybnjb\",\"nextHop\":[\"pmeglolpotclmbk\",\"qjrytymfnojjh\",\"nnt\",\"jqgovvi\"]}],\"ipv6Routes\":[{\"prefix\":\"xytrafettwytavp\",\"nextHop\":[\"lgyql\",\"olgspyqsa\",\"nhhvp\",\"ukourqviyf\"]},{\"prefix\":\"segwez\",\"nextHop\":[\"qoujtcpdtdzl\"]},{\"prefix\":\"ogzbasjc\",\"nextHop\":[\"kikkkajmnvbi\"]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":778001022,\"threshold\":1464782804,\"idleTimeExpiry\":187705580},{\"maximumRoutes\":677085981,\"threshold\":414545478,\"idleTimeExpiry\":1047901691}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1127437418,\"threshold\":1749112981,\"idleTimeExpiry\":1568329813},{\"maximumRoutes\":1078146108,\"threshold\":927112344,\"idleTimeExpiry\":1598917379},{\"maximumRoutes\":1160906977,\"threshold\":273046029,\"idleTimeExpiry\":2089204479}]},\"lastOperation\":{\"details\":\"gm\"},\"networkFabricId\":\"kt\",\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"EnabledDegraded\"},\"id\":\"m\",\"name\":\"siidivbbrt\",\"type\":\"fliqntnoegxo\"}"; + = "{\"properties\":{\"annotation\":\"qpuclid\",\"extension\":\"NPB\",\"mtu\":1634130530,\"connectedIPv4Subnets\":[{\"prefix\":\"xi\",\"annotation\":\"pygiioukaff\"},{\"prefix\":\"zfgivfiypfv\",\"annotation\":\"zjsixo\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"grxmptu\",\"annotation\":\"ekbpqghxdpg\"},{\"prefix\":\"hfimlyxd\",\"annotation\":\"xjudbia\"},{\"prefix\":\"uqoucmfu\",\"annotation\":\"slvbujwpnzijp\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ecruhqymwds\",\"importIpv6RoutePolicyId\":\"ktsal\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"lpgtpgxkkoy\",\"exportIpv6RoutePolicyId\":\"wlvthiv\"},\"ingressAclId\":\"uaxoswqwbh\",\"egressAclId\":\"zlgkcnp\",\"isMonitoringEnabled\":\"False\",\"vlanId\":1255222637,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":27512419,\"multiplier\":183171012},\"defaultRouteOriginate\":\"False\",\"allowAS\":983977277,\"allowASOverride\":\"Enable\",\"fabricASN\":4433667022428347552,\"peerASN\":1013962702567137009,\"ipv4ListenRangePrefixes\":[\"vofrenuvp\"],\"ipv6ListenRangePrefixes\":[\"tnyyeyjatfpbxnre\",\"pgqxt\"],\"ipv4NeighborAddress\":[{\"address\":\"qtxi\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"CommitStageFailed\"},{\"address\":\"nxb\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Failed\"}],\"ipv6NeighborAddress\":[{\"address\":\"bkjhoxtbsybpef\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"DeferredControl\"},{\"address\":\"qjkfvm\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Succeeded\"},{\"address\":\"ifeiir\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"CommitStaged\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"lxrd\",\"pqtzzhkpk\",\"novfnob\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"yfuhgmmzxp\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":774202942,\"multiplier\":808394633},\"ipv4Routes\":[{\"prefix\":\"pdao\",\"nextHop\":[\"gtal\",\"jsoasxjjkl\",\"pbgrosxfdxr\",\"b\"]},{\"prefix\":\"mbbhluvdce\",\"nextHop\":[\"evnom\",\"lreiw\",\"skiegtaenalep\"]},{\"prefix\":\"aasqolxaodbhgxb\",\"nextHop\":[\"borqkmihggv\",\"hqwyxbat\"]},{\"prefix\":\"viynlslgxif\",\"nextHop\":[\"sclqwk\",\"dgepuvambzfx\",\"shaqfueqfniagz\",\"yxsoxqa\"]}],\"ipv6Routes\":[{\"prefix\":\"unlllmtiyguuhylz\",\"nextHop\":[\"im\"]},{\"prefix\":\"dohjx\",\"nextHop\":[\"y\"]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1667882446,\"threshold\":1830600747,\"idleTimeExpiry\":1052018255}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1857468597,\"threshold\":1663883500,\"idleTimeExpiry\":1196249515},{\"maximumRoutes\":305852940,\"threshold\":2118215440,\"idleTimeExpiry\":327803000},{\"maximumRoutes\":1257190271,\"threshold\":1736916783,\"idleTimeExpiry\":1995747188},{\"maximumRoutes\":846878482,\"threshold\":2134574626,\"idleTimeExpiry\":125129175}]},\"lastOperation\":{\"details\":\"xxpn\"},\"networkFabricId\":\"cljnkm\",\"configurationState\":\"CommitStageFailed\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"id\":\"cimnchvk\",\"name\":\"wrivagc\",\"type\":\"mrtepsybdgtfo\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -39,55 +39,55 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); InternalNetwork response = manager.internalNetworks() - .getWithResponse("grvfagyp", "lfrxrpahptvikf", "nm", com.azure.core.util.Context.NONE) + .getWithResponse("v", "yvzixmusiidiv", "brtzfliqntnoeg", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("lkyfqll", response.annotation()); - Assertions.assertEquals(Extension.NO_EXTENSION, response.extension()); - Assertions.assertEquals(171479383, response.mtu()); - Assertions.assertEquals("oomgsejisydh", response.connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("pilhxtabli", response.connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("hymvkkjtdhmigkwa", response.connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("eljfarinufziztgd", response.connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("gie", response.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("lsijqygo", response.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("daehxvvi", response.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("safgkysym", response.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("xslmllbpe", response.ingressAclId()); - Assertions.assertEquals("eteza", response.egressAclId()); + Assertions.assertEquals("qpuclid", response.annotation()); + Assertions.assertEquals(Extension.NPB, response.extension()); + Assertions.assertEquals(1634130530, response.mtu()); + Assertions.assertEquals("pygiioukaff", response.connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("xi", response.connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("ekbpqghxdpg", response.connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("grxmptu", response.connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("ecruhqymwds", response.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("ktsal", response.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("lpgtpgxkkoy", response.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("wlvthiv", response.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("uaxoswqwbh", response.ingressAclId()); + Assertions.assertEquals("zlgkcnp", response.egressAclId()); Assertions.assertEquals(IsMonitoringEnabled.FALSE, response.isMonitoringEnabled()); - Assertions.assertEquals(1694260716, response.vlanId()); - Assertions.assertEquals("b", response.bgpConfiguration().annotation()); - Assertions.assertEquals(984955282, response.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(582353213, response.bgpConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, response.bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(1262500263, response.bgpConfiguration().allowAS()); + Assertions.assertEquals(1255222637, response.vlanId()); + Assertions.assertEquals("yfuhgmmzxp", response.bgpConfiguration().annotation()); + Assertions.assertEquals(27512419, response.bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(183171012, response.bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, response.bgpConfiguration().defaultRouteOriginate()); + Assertions.assertEquals(983977277, response.bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.ENABLE, response.bgpConfiguration().allowASOverride()); - Assertions.assertEquals(7144229842175509345L, response.bgpConfiguration().peerAsn()); - Assertions.assertEquals("z", response.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("mywoe", response.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("maosongtbh", response.bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("npbsungnjkkmkzfb", response.bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("sc", response.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); + Assertions.assertEquals(1013962702567137009L, response.bgpConfiguration().peerAsn()); + Assertions.assertEquals("vofrenuvp", response.bgpConfiguration().ipv4ListenRangePrefixes().get(0)); + Assertions.assertEquals("tnyyeyjatfpbxnre", response.bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("qtxi", response.bgpConfiguration().ipv4NeighborAddress().get(0).address()); + Assertions.assertEquals("bkjhoxtbsybpef", response.bgpConfiguration().ipv6NeighborAddress().get(0).address()); + Assertions.assertEquals("lxrd", response.bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.ENABLED, response.bgpConfiguration().bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.ALL, + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, response.bgpConfiguration().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, response.bgpConfiguration().v4OverV6BgpSession()); + Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, response.bgpConfiguration().v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, response.bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(1356286342, + Assertions.assertEquals(774202942, response.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1034064004, response.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("ulzguvckpdp", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nrjqskikqd", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("xytrafettwytavp", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("lgyql", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(Extension.NO_EXTENSION, response.staticRouteConfiguration().extension()); - Assertions.assertEquals(778001022, response.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1464782804, response.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(187705580, response.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(1127437418, response.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1749112981, response.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1568329813, response.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(808394633, response.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("pdao", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("gtal", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("unlllmtiyguuhylz", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("im", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(Extension.NPB, response.staticRouteConfiguration().extension()); + Assertions.assertEquals(1667882446, response.nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1830600747, response.nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1052018255, response.nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1857468597, response.nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1663883500, response.nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); + Assertions.assertEquals(1196249515, response.nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainMockTests.java index 6cf41c55e6844..7058600a6e0d8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListByL3IsolationDomainMockTests.java @@ -30,7 +30,7 @@ public final class InternalNetworksListByL3IsolationDomainMockTests { @Test public void testListByL3IsolationDomain() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"giiouka\",\"extension\":\"NPB\",\"mtu\":205893922,\"connectedIPv4Subnets\":[{\"prefix\":\"vfiypfvwyzjs\",\"annotation\":\"orvigrxmptu\"},{\"prefix\":\"de\",\"annotation\":\"pqghxdpgihfimlyx\"},{\"prefix\":\"mixjudbiacu\",\"annotation\":\"ucmfuvu\"},{\"prefix\":\"lvbujwpnzijpyyve\",\"annotation\":\"uhqym\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"thkt\",\"annotation\":\"ljkh\"},{\"prefix\":\"pgtpgxkkoyp\",\"annotation\":\"lvthivapuax\"},{\"prefix\":\"swqwbhlr\",\"annotation\":\"gkcnpdkwerxfezl\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ekvsuzyowra\",\"importIpv6RoutePolicyId\":\"ofrenuvp\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"tnyyeyjatfpbxnre\",\"exportIpv6RoutePolicyId\":\"g\"},\"ingressAclId\":\"tohruqtximrxeyz\",\"egressAclId\":\"nxb\",\"isMonitoringEnabled\":\"False\",\"vlanId\":1125391433,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":479779461,\"multiplier\":509277110},\"defaultRouteOriginate\":\"False\",\"allowAS\":1771933881,\"allowASOverride\":\"Disable\",\"fabricASN\":2724076273841425100,\"peerASN\":4432043367584860222,\"ipv4ListenRangePrefixes\":[\"jpnixd\",\"qjkfvm\"],\"ipv6ListenRangePrefixes\":[\"geajyifeiiri\",\"mjdn\",\"nbtlxrdepqt\"],\"ipv4NeighborAddress\":[{\"address\":\"pkonovfnobuwhu\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Deprovisioning\"},{\"address\":\"yfuhgmmzxp\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Rejected\"}],\"ipv6NeighborAddress\":[{\"address\":\"cpdaoskgtalljsoa\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"PendingCommit\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"rosxfdxrcbnmbb\",\"luvdceouevno\",\"zlreiwdskiegta\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"LocalRib\",\"All\",\"Pre-Policy\"]}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"odbhgxba\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1156379325,\"multiplier\":52640580},\"ipv4Routes\":[{\"prefix\":\"vyhqwyxba\",\"nextHop\":[\"viynlslgxif\",\"dsclqwkddgepu\",\"ambzfxgshaq\",\"ueq\"]}],\"ipv6Routes\":[{\"prefix\":\"agzmyxsoxqarjt\",\"nextHop\":[\"lllmtiyguuhylzbd\",\"mtdohjxfqyyuwc\"]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1052018255,\"threshold\":1787806578,\"idleTimeExpiry\":1483832760},{\"maximumRoutes\":1981450216,\"threshold\":36477243,\"idleTimeExpiry\":991495202}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":327803000,\"threshold\":1257190271,\"idleTimeExpiry\":1736916783},{\"maximumRoutes\":1995747188,\"threshold\":846878482,\"idleTimeExpiry\":2134574626}]},\"lastOperation\":{\"details\":\"mxxxpnk\"},\"networkFabricId\":\"ljnkmsfsquxxqcim\",\"configurationState\":\"Rejected\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\"},\"id\":\"ivagcsmrtepsy\",\"name\":\"dgt\",\"type\":\"ozys\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"nbyvbgrdr\",\"extension\":\"NoExtension\",\"mtu\":141679675,\"connectedIPv4Subnets\":[{\"prefix\":\"ec\",\"annotation\":\"ybiazf\"},{\"prefix\":\"xdkwvceqlyxbyqqo\",\"annotation\":\"rekiojusmdodku\"},{\"prefix\":\"ycntaov\",\"annotation\":\"ykxyf\"},{\"prefix\":\"kd\",\"annotation\":\"dywrwvs\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"jlbkqygszh\",\"annotation\":\"atlt\"},{\"prefix\":\"ekqzfwlkyrnmgsb\",\"annotation\":\"zfayyuq\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"rtreder\",\"importIpv6RoutePolicyId\":\"nfgmohhcghvs\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"fpkymqnvvwfaor\",\"exportIpv6RoutePolicyId\":\"boawzplwghfgq\"},\"ingressAclId\":\"rmtuprqt\",\"egressAclId\":\"qkohupyajkde\",\"isMonitoringEnabled\":\"True\",\"vlanId\":2089368996,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1082520844,\"multiplier\":2021989330},\"defaultRouteOriginate\":\"False\",\"allowAS\":1282083345,\"allowASOverride\":\"Enable\",\"fabricASN\":6703315225678228022,\"peerASN\":1356399816462851030,\"ipv4ListenRangePrefixes\":[\"rdlnbklh\",\"rikruljb\"],\"ipv6ListenRangePrefixes\":[\"ff\",\"mryoiao\"],\"ipv4NeighborAddress\":[{\"address\":\"dl\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Deprovisioned\"},{\"address\":\"bliibxol\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"CommitRollbackFailed\"},{\"address\":\"xrukwxcaagz\",\"bfdAdministrativeState\":\"MAT\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Succeeded\"}],\"ipv6NeighborAddress\":[{\"address\":\"lbunmjhacfiyrywf\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Provisioned\"}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"slbxfkiiarlldygf\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"wuebrvrh\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1749961862,\"multiplier\":1221529413},\"ipv4Routes\":[{\"prefix\":\"ei\",\"nextHop\":[\"bwhesbeb\"]}],\"ipv6Routes\":[{\"prefix\":\"t\",\"nextHop\":[\"zilkyvybljqgirp\"]},{\"prefix\":\"tzqrm\",\"nextHop\":[\"ukurkg\"]},{\"prefix\":\"qx\",\"nextHop\":[\"nrkhc\"]},{\"prefix\":\"jfsvfbjcn\",\"nextHop\":[\"wrbrntvhpp\",\"kr\",\"zualsvxpolat\"]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":1186850187,\"threshold\":1596612733,\"idleTimeExpiry\":526764286}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{\"maximumRoutes\":991913074,\"threshold\":896379560,\"idleTimeExpiry\":1316340681},{\"maximumRoutes\":1460684498,\"threshold\":455536988,\"idleTimeExpiry\":842524500},{\"maximumRoutes\":2021927735,\"threshold\":671939038,\"idleTimeExpiry\":582012262}]},\"lastOperation\":{\"details\":\"nybffc\"},\"networkFabricId\":\"ijclemzrwpgv\",\"configurationState\":\"Rejected\",\"provisioningState\":\"Updating\",\"administrativeState\":\"UnderMaintenance\"},\"id\":\"o\",\"name\":\"mkwddgyqe\",\"type\":\"icrznaml\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -40,49 +40,49 @@ public void testListByL3IsolationDomain() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.internalNetworks() - .listByL3IsolationDomain("pucl", "dytwdaiexisa", com.azure.core.util.Context.NONE); + .listByL3IsolationDomain("ysfjdcokbpbpq", "lmszobtne", com.azure.core.util.Context.NONE); - Assertions.assertEquals("giiouka", response.iterator().next().annotation()); - Assertions.assertEquals(Extension.NPB, response.iterator().next().extension()); - Assertions.assertEquals(205893922, response.iterator().next().mtu()); - Assertions.assertEquals("orvigrxmptu", response.iterator().next().connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("vfiypfvwyzjs", response.iterator().next().connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("ljkh", response.iterator().next().connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("thkt", response.iterator().next().connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("ekvsuzyowra", - response.iterator().next().importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("ofrenuvp", response.iterator().next().importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("tnyyeyjatfpbxnre", + Assertions.assertEquals("nbyvbgrdr", response.iterator().next().annotation()); + Assertions.assertEquals(Extension.NO_EXTENSION, response.iterator().next().extension()); + Assertions.assertEquals(141679675, response.iterator().next().mtu()); + Assertions.assertEquals("ybiazf", response.iterator().next().connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("ec", response.iterator().next().connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("atlt", response.iterator().next().connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("jlbkqygszh", response.iterator().next().connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("rtreder", response.iterator().next().importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("nfgmohhcghvs", + response.iterator().next().importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("fpkymqnvvwfaor", response.iterator().next().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("g", response.iterator().next().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("tohruqtximrxeyz", response.iterator().next().ingressAclId()); - Assertions.assertEquals("nxb", response.iterator().next().egressAclId()); - Assertions.assertEquals(IsMonitoringEnabled.FALSE, response.iterator().next().isMonitoringEnabled()); - Assertions.assertEquals(1125391433, response.iterator().next().vlanId()); - Assertions.assertEquals("odbhgxba", response.iterator().next().bgpConfiguration().annotation()); - Assertions.assertEquals(479779461, + Assertions.assertEquals("boawzplwghfgq", + response.iterator().next().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("rmtuprqt", response.iterator().next().ingressAclId()); + Assertions.assertEquals("qkohupyajkde", response.iterator().next().egressAclId()); + Assertions.assertEquals(IsMonitoringEnabled.TRUE, response.iterator().next().isMonitoringEnabled()); + Assertions.assertEquals(2089368996, response.iterator().next().vlanId()); + Assertions.assertEquals("wuebrvrh", response.iterator().next().bgpConfiguration().annotation()); + Assertions.assertEquals(1082520844, response.iterator().next().bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(509277110, + Assertions.assertEquals(2021989330, response.iterator().next().bgpConfiguration().bfdConfiguration().multiplier()); Assertions.assertEquals(BooleanEnumProperty.FALSE, response.iterator().next().bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(1771933881, response.iterator().next().bgpConfiguration().allowAS()); - Assertions.assertEquals(AllowASOverride.DISABLE, + Assertions.assertEquals(1282083345, response.iterator().next().bgpConfiguration().allowAS()); + Assertions.assertEquals(AllowASOverride.ENABLE, response.iterator().next().bgpConfiguration().allowASOverride()); - Assertions.assertEquals(4432043367584860222L, response.iterator().next().bgpConfiguration().peerAsn()); - Assertions.assertEquals("jpnixd", + Assertions.assertEquals(1356399816462851030L, response.iterator().next().bgpConfiguration().peerAsn()); + Assertions.assertEquals("rdlnbklh", response.iterator().next().bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("geajyifeiiri", - response.iterator().next().bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("pkonovfnobuwhu", + Assertions.assertEquals("ff", response.iterator().next().bgpConfiguration().ipv6ListenRangePrefixes().get(0)); + Assertions.assertEquals("dl", response.iterator().next().bgpConfiguration().ipv4NeighborAddress().get(0).address()); - Assertions.assertEquals("cpdaoskgtalljsoa", + Assertions.assertEquals("lbunmjhacfiyrywf", response.iterator().next().bgpConfiguration().ipv6NeighborAddress().get(0).address()); - Assertions.assertEquals("rosxfdxrcbnmbb", + Assertions.assertEquals("slbxfkiiarlldygf", response.iterator().next().bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); - Assertions.assertEquals(BmpConfigurationState.DISABLED, + Assertions.assertEquals(BmpConfigurationState.ENABLED, response.iterator().next().bgpConfiguration().bmpConfiguration().bmpConfigurationState()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, response.iterator() .next() .bgpConfiguration() @@ -90,35 +90,35 @@ public void testListByL3IsolationDomain() throws Exception { .exportPolicyConfiguration() .exportPolicies() .get(0)); - Assertions.assertEquals(V4OverV6BgpSessionState.ENABLED, + Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, response.iterator().next().bgpConfiguration().v4OverV6BgpSession()); Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, response.iterator().next().bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(1156379325, + Assertions.assertEquals(1749961862, response.iterator().next().staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(52640580, + Assertions.assertEquals(1221529413, response.iterator().next().staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("vyhqwyxba", + Assertions.assertEquals("ei", response.iterator().next().staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("viynlslgxif", + Assertions.assertEquals("bwhesbeb", response.iterator().next().staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("agzmyxsoxqarjt", + Assertions.assertEquals("t", response.iterator().next().staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("lllmtiyguuhylzbd", + Assertions.assertEquals("zilkyvybljqgirp", response.iterator().next().staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); Assertions.assertEquals(Extension.NO_EXTENSION, response.iterator().next().staticRouteConfiguration().extension()); - Assertions.assertEquals(1052018255, + Assertions.assertEquals(1186850187, response.iterator().next().nativeIpv4PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1787806578, + Assertions.assertEquals(1596612733, response.iterator().next().nativeIpv4PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1483832760, + Assertions.assertEquals(526764286, response.iterator().next().nativeIpv4PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); - Assertions.assertEquals(327803000, + Assertions.assertEquals(991913074, response.iterator().next().nativeIpv6PrefixLimit().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1257190271, + Assertions.assertEquals(896379560, response.iterator().next().nativeIpv6PrefixLimit().prefixLimits().get(0).threshold()); - Assertions.assertEquals(1736916783, + Assertions.assertEquals(1316340681, response.iterator().next().nativeIpv6PrefixLimit().prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListTests.java index 2189704f2c7da..ed460e6e04632 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternalNetworksListTests.java @@ -19,53 +19,52 @@ public final class InternalNetworksListTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternalNetworksList model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"lndbeaqbkixv\",\"extension\":\"NoExtension\",\"mtu\":1750807185,\"connectedIPv4Subnets\":[{\"prefix\":\"bfqvzfjmspu\",\"annotation\":\"feuzjljmphfkye\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"gj\",\"annotation\":\"icuydoccn\"},{\"prefix\":\"shanzbui\",\"annotation\":\"hbatecaatsdohzni\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"daomb\",\"importIpv6RoutePolicyId\":\"injdllwktlepo\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"vqxuajgcqw\",\"exportIpv6RoutePolicyId\":\"ynkgfcfd\"},\"ingressAclId\":\"wsikxxtclhuulr\",\"egressAclId\":\"byokvjgbzsxe\",\"isMonitoringEnabled\":\"True\",\"vlanId\":1715829112,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1492724702,\"multiplier\":766894527},\"defaultRouteOriginate\":\"False\",\"allowAS\":716194665,\"allowASOverride\":\"Enable\",\"fabricASN\":629773384894688530,\"peerASN\":6418350443606757244,\"ipv4ListenRangePrefixes\":[\"ufpbpgnrhol\",\"ujbfwxiplkys\",\"l\",\"yjprxslw\"],\"ipv6ListenRangePrefixes\":[\"cvhtbbzjhfvh\",\"wzbxpc\"],\"ipv4NeighborAddress\":[{},{},{}],\"ipv6NeighborAddress\":[{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"ecohm\",\"vvlrrskapbxwiee\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"fokyks\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1143447896,\"multiplier\":1950190822},\"ipv4Routes\":[{\"prefix\":\"xzznnui\",\"nextHop\":[]},{\"prefix\":\"ersejeg\",\"nextHop\":[]},{\"prefix\":\"rkjguwrjmwvvbt\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"xximwgxq\",\"nextHop\":[]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]},\"lastOperation\":{\"details\":\"qfkyfhiwvjaqu\"},\"networkFabricId\":\"yynvskpa\",\"configurationState\":\"Failed\",\"provisioningState\":\"Updating\",\"administrativeState\":\"UnderMaintenance\"},\"id\":\"xmjbxcbccwkqmtxa\",\"name\":\"eqi\",\"type\":\"crpilgftrq\"},{\"properties\":{\"annotation\":\"jdaahuqimldahlfx\",\"extension\":\"NPB\",\"mtu\":1173087516,\"connectedIPv4Subnets\":[{\"prefix\":\"adj\",\"annotation\":\"snc\"},{\"prefix\":\"kiioshj\",\"annotation\":\"zetybn\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"tlcgctjchfjvmy\",\"annotation\":\"zebecuvl\"},{\"prefix\":\"efvwcljkxpylrwo\",\"annotation\":\"gwpsyxjijeypd\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"kerdkdkgawqwj\",\"importIpv6RoutePolicyId\":\"ldfkcefeygzqpjoi\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"naybdjnxu\",\"exportIpv6RoutePolicyId\":\"ntqontwhym\"},\"ingressAclId\":\"mulw\",\"egressAclId\":\"qtow\",\"isMonitoringEnabled\":\"True\",\"vlanId\":1187287919,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":2095119395,\"multiplier\":80244651},\"defaultRouteOriginate\":\"False\",\"allowAS\":1793059389,\"allowASOverride\":\"Disable\",\"fabricASN\":5232052390056063404,\"peerASN\":3583033519488051677,\"ipv4ListenRangePrefixes\":[\"wmchqo\",\"tfxcpupuk\",\"ymjzpwdlvwtiws\"],\"ipv6ListenRangePrefixes\":[\"aonhqnamppul\"],\"ipv4NeighborAddress\":[{},{},{}],\"ipv6NeighborAddress\":[{},{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"wnaze\",\"jb\",\"aj\",\"cyizy\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"vfsxx\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1139609440,\"multiplier\":815452319},\"ipv4Routes\":[{\"prefix\":\"pwgoljt\",\"nextHop\":[]},{\"prefix\":\"xnmxsdobygoogxqa\",\"nextHop\":[]},{\"prefix\":\"j\",\"nextHop\":[]},{\"prefix\":\"vaz\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"ucsa\",\"nextHop\":[]},{\"prefix\":\"djnosdkvibf\",\"nextHop\":[]},{\"prefix\":\"sgm\",\"nextHop\":[]},{\"prefix\":\"trnzpducdaaktu\",\"nextHop\":[]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]},\"lastOperation\":{\"details\":\"qdowkppnwyytfv\"},\"networkFabricId\":\"tfjikffffgkuh\",\"configurationState\":\"Succeeded\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"MAT\"},\"id\":\"bkkejjkjigawgaz\",\"name\":\"xjqifhujjsbc\",\"type\":\"lzaahzbhuroolk\"},{\"properties\":{\"annotation\":\"irhhmo\",\"extension\":\"NoExtension\",\"mtu\":1899652732,\"connectedIPv4Subnets\":[{\"prefix\":\"jzc\",\"annotation\":\"axoialahfxwccokd\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"kmkcz\",\"annotation\":\"uhhoqeqshavlj\"},{\"prefix\":\"k\",\"annotation\":\"rqolnthbb\"},{\"prefix\":\"kgzukwdrnzkjth\",\"annotation\":\"eyjncjmlfuy\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"pfiddhl\",\"importIpv6RoutePolicyId\":\"fz\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"jmqrfuiocuselq\",\"exportIpv6RoutePolicyId\":\"sazrhxuddqmdtff\"},\"ingressAclId\":\"jmr\",\"egressAclId\":\"hmwdmdlgyqixokw\",\"isMonitoringEnabled\":\"True\",\"vlanId\":13672233,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1087757375,\"multiplier\":1331585462},\"defaultRouteOriginate\":\"True\",\"allowAS\":1787505823,\"allowASOverride\":\"Disable\",\"fabricASN\":8834981153323638181,\"peerASN\":7714848345048051757,\"ipv4ListenRangePrefixes\":[\"jchtvsnvlaqd\",\"z\"],\"ipv6ListenRangePrefixes\":[\"watuwqkokbczoth\",\"mgobllmsnwg\",\"imaaneak\",\"t\"],\"ipv4NeighborAddress\":[{},{},{},{}],\"ipv6NeighborAddress\":[{},{},{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"rfvqtvkhgvo\",\"gxkfnaoaqymhccto\",\"uowyrnskbyhqu\"],\"bmpConfigurationState\":\"Enabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"jpxecxqnwhsco\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":561181776,\"multiplier\":798291972},\"ipv4Routes\":[{\"prefix\":\"npwirfljf\",\"nextHop\":[]},{\"prefix\":\"wxqouoxudnmc\",\"nextHop\":[]},{\"prefix\":\"aprhknqiijgencdg\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"ueqihkkyowlt\",\"nextHop\":[]},{\"prefix\":\"ouwhldxwhie\",\"nextHop\":[]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]},\"lastOperation\":{\"details\":\"vprstv\"},\"networkFabricId\":\"tbfjtdyotnplf\",\"configurationState\":\"Rejected\",\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\"},\"id\":\"qxwetjtd\",\"name\":\"hutfdoadtxopge\",\"type\":\"padkmdzgsszxvct\"},{\"properties\":{\"annotation\":\"bxuharl\",\"extension\":\"NoExtension\",\"mtu\":815863959,\"connectedIPv4Subnets\":[{\"prefix\":\"abvoyngsuxxcz\",\"annotation\":\"yqjoghdsa\"},{\"prefix\":\"djanormo\",\"annotation\":\"xxurntujmoilunwe\"},{\"prefix\":\"hdeeljslkyozdsfz\",\"annotation\":\"egrhrh\"},{\"prefix\":\"slejtvxj\",\"annotation\":\"vgjbfio\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"jod\",\"annotation\":\"bj\"},{\"prefix\":\"qwm\",\"annotation\":\"smoxsazuxejgwe\"},{\"prefix\":\"ywnfyszzaczs\",\"annotation\":\"q\"},{\"prefix\":\"dnddbbozsyv\",\"annotation\":\"kjmyitrchwudlx\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"htpmnoejhq\",\"importIpv6RoutePolicyId\":\"msibzo\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"gxkydpm\",\"exportIpv6RoutePolicyId\":\"gfqvmtywhlakx\"},\"ingressAclId\":\"jpewpyjlfx\",\"egressAclId\":\"pqcrzgeuqxbpiat\",\"isMonitoringEnabled\":\"False\",\"vlanId\":551442869,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":704591870,\"multiplier\":365082016},\"defaultRouteOriginate\":\"False\",\"allowAS\":1779054521,\"allowASOverride\":\"Disable\",\"fabricASN\":9079801324794932011,\"peerASN\":2849121534633138958,\"ipv4ListenRangePrefixes\":[\"zyhgsqtnqsktx\"],\"ipv6ListenRangePrefixes\":[\"jbqggweeiwdhdm\"],\"ipv4NeighborAddress\":[{},{}],\"ipv6NeighborAddress\":[{},{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"cstu\",\"mlhxdfbklcii\",\"hgjsysmvxo\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"fcuvbdujgcwx\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1461984569,\"multiplier\":1910633363},\"ipv4Routes\":[{\"prefix\":\"rizagbbgiarks\",\"nextHop\":[]},{\"prefix\":\"kpgdqxwabzrwiq\",\"nextHop\":[]},{\"prefix\":\"xhaclcdosqkptjq\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"fmmainwhedxkpbq\",\"nextHop\":[]},{\"prefix\":\"unt\",\"nextHop\":[]},{\"prefix\":\"buizazzelwg\",\"nextHop\":[]}],\"extension\":\"NoExtension\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{}]},\"lastOperation\":{\"details\":\"laxp\"},\"networkFabricId\":\"jwdabalfd\",\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\"},\"id\":\"lbtlqhopxo\",\"name\":\"vmrsiflikyyp\",\"type\":\"kgx\"}],\"nextLink\":\"fmy\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"ljmphfkyezolg\",\"extension\":\"NoExtension\",\"mtu\":1517430089,\"connectedIPv4Subnets\":[{\"prefix\":\"doccnxshanzb\",\"annotation\":\"adh\"},{\"prefix\":\"atecaa\",\"annotation\":\"dohzniucbdaombwi\"},{\"prefix\":\"njdllwktlepowavv\",\"annotation\":\"uajgcqwulynk\"},{\"prefix\":\"fcfdruwsikxx\",\"annotation\":\"lhuulriqb\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"vjgb\",\"annotation\":\"x\"},{\"prefix\":\"br\",\"annotation\":\"ttfyhcdjwsuoard\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ttpufpbpgnrholhu\",\"importIpv6RoutePolicyId\":\"fwxi\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ysolsy\",\"exportIpv6RoutePolicyId\":\"rxslwhdmcv\"},\"ingressAclId\":\"b\",\"egressAclId\":\"jhfv\",\"isMonitoringEnabled\":\"True\",\"vlanId\":417571328,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1931538005,\"multiplier\":863169412},\"defaultRouteOriginate\":\"False\",\"allowAS\":1088510786,\"allowASOverride\":\"Enable\",\"fabricASN\":6784061995929819747,\"peerASN\":8827795910462349087,\"ipv4ListenRangePrefixes\":[\"rrskapbxwieexuy\",\"derltfokyksyim\"],\"ipv6ListenRangePrefixes\":[\"grvkcxzznnuif\",\"rsejegprkj\",\"uw\",\"jmwvvbtuqkxxi\"],\"ipv4NeighborAddress\":[{}],\"ipv6NeighborAddress\":[{},{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"k\",\"tjgxieqfky\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Enabled\",\"annotation\":\"pbyynvskpajbm\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":376572970,\"multiplier\":363652739},\"ipv4Routes\":[{\"prefix\":\"bccwkqmtxapeqi\",\"nextHop\":[]},{\"prefix\":\"crpilgftrq\",\"nextHop\":[]},{\"prefix\":\"ejdaahuqimld\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"fx\",\"nextHop\":[]},{\"prefix\":\"muifmuadjnfsn\",\"nextHop\":[]},{\"prefix\":\"skiioshjgczetybn\",\"nextHop\":[]},{\"prefix\":\"gztlcgc\",\"nextHop\":[]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]},\"lastOperation\":{\"details\":\"zebecuvl\"},\"networkFabricId\":\"fvwcljk\",\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Enabled\"},\"id\":\"z\",\"name\":\"wpsyxjij\",\"type\":\"ypdvrbkerdkdkga\"},{\"properties\":{\"annotation\":\"wjxildfkcefeyg\",\"extension\":\"NoExtension\",\"mtu\":987886583,\"connectedIPv4Subnets\":[{\"prefix\":\"fmn\",\"annotation\":\"bdjnxume\"},{\"prefix\":\"tqontwhy\",\"annotation\":\"ymulwivqtowl\"},{\"prefix\":\"lsycoyb\",\"annotation\":\"a\"},{\"prefix\":\"qubfajcyw\",\"annotation\":\"qwmchqohtfxc\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"ukiymjzpwdlvwt\",\"annotation\":\"smosaonhqnam\"},{\"prefix\":\"pultas\",\"annotation\":\"ekewnazeaj\"},{\"prefix\":\"kajlcyizy\",\"annotation\":\"cvxodkrvfsxxby\"},{\"prefix\":\"e\",\"annotation\":\"lvgecpwgoljtz\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"xsdobygoogxqapjx\",\"importIpv6RoutePolicyId\":\"zyjfuc\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"djnosdkvibf\",\"exportIpv6RoutePolicyId\":\"gmat\"},\"ingressAclId\":\"zpducdaak\",\"egressAclId\":\"jktzboimyfpq\",\"isMonitoringEnabled\":\"False\",\"vlanId\":774305524,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":422517652,\"multiplier\":2045059470},\"defaultRouteOriginate\":\"True\",\"allowAS\":1262637149,\"allowASOverride\":\"Disable\",\"fabricASN\":1132125926990766656,\"peerASN\":1785035423334396190,\"ipv4ListenRangePrefixes\":[\"kuhznwhvuldbk\"],\"ipv6ListenRangePrefixes\":[\"jkjigawgaz\"],\"ipv4NeighborAddress\":[{},{},{},{}],\"ipv6NeighborAddress\":[{},{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"jjsbcmlzaahzbhur\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Enabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"hmojusuzg\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1963488932,\"multiplier\":1616441706},\"ipv4Routes\":[{\"prefix\":\"lahfxwccokdxk\",\"nextHop\":[]},{\"prefix\":\"kmkcz\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"h\",\"nextHop\":[]},{\"prefix\":\"oq\",\"nextHop\":[]},{\"prefix\":\"qshavlj\",\"nextHop\":[]},{\"prefix\":\"k\",\"nextHop\":[]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{},{},{},{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{}]},\"lastOperation\":{\"details\":\"nkgzukwdr\"},\"networkFabricId\":\"kjthfce\",\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\"},\"id\":\"uyfjbpfiddhlrufz\",\"name\":\"qyjmqrfuioc\",\"type\":\"selqkrsazrhxud\"},{\"properties\":{\"annotation\":\"mdtff\",\"extension\":\"NoExtension\",\"mtu\":818649052,\"connectedIPv4Subnets\":[{\"prefix\":\"hmwdmdlgyqixokw\",\"annotation\":\"awhva\"},{\"prefix\":\"nqf\",\"annotation\":\"dlcvmyo\"}],\"connectedIPv6Subnets\":[{\"prefix\":\"ymjc\",\"annotation\":\"vsnvlaq\"},{\"prefix\":\"nzyzawatuwqko\",\"annotation\":\"czothymgo\"},{\"prefix\":\"l\",\"annotation\":\"snwgwimaa\"},{\"prefix\":\"eakhtmhobcya\",\"annotation\":\"fvqtvkhgvoo\"}],\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"fnaoaqym\",\"importIpv6RoutePolicyId\":\"ctopuowyrnsk\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"quhczygxvh\",\"exportIpv6RoutePolicyId\":\"pxecxqnwhscozaw\"},\"ingressAclId\":\"gxsmpknpwirfljfe\",\"egressAclId\":\"qouoxu\",\"isMonitoringEnabled\":\"True\",\"vlanId\":1493006840,\"bgpConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":612216711,\"multiplier\":2071275518},\"defaultRouteOriginate\":\"False\",\"allowAS\":104080595,\"allowASOverride\":\"Disable\",\"fabricASN\":564973110703252614,\"peerASN\":4797120578096174197,\"ipv4ListenRangePrefixes\":[\"eqi\",\"kkyo\",\"ltjouwhldxwh\"],\"ipv6ListenRangePrefixes\":[\"roqksmfxm\",\"vprstv\"],\"ipv4NeighborAddress\":[{},{},{},{}],\"ipv6NeighborAddress\":[{},{}],\"bmpConfiguration\":{\"neighborIpExclusions\":[\"yotnplfacqo\",\"cqrq\",\"wetjtdrhutf\",\"oadtxopgehpadkmd\"],\"bmpConfigurationState\":\"Disabled\",\"exportPolicyConfiguration\":{}},\"v4OverV6BgpSession\":\"Disabled\",\"v6OverV4BgpSession\":\"Disabled\",\"annotation\":\"kbbxuh\"},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1895023582,\"multiplier\":1275197408},\"ipv4Routes\":[{\"prefix\":\"bvoyng\",\"nextHop\":[]},{\"prefix\":\"uxx\",\"nextHop\":[]},{\"prefix\":\"zb\",\"nextHop\":[]},{\"prefix\":\"yqjoghdsa\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"a\",\"nextHop\":[]},{\"prefix\":\"ormovdxxurntujmo\",\"nextHop\":[]},{\"prefix\":\"lu\",\"nextHop\":[]}],\"extension\":\"NPB\"},\"nativeIpv4PrefixLimit\":{\"prefixLimits\":[{}]},\"nativeIpv6PrefixLimit\":{\"prefixLimits\":[{},{},{}]},\"lastOperation\":{\"details\":\"lkyozdsfzj\"},\"networkFabricId\":\"grhrh\",\"configurationState\":\"Succeeded\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"id\":\"j\",\"name\":\"xvgjbfi\",\"type\":\"bpnjodf\"}],\"nextLink\":\"jqqwmtqsmoxsazu\"}") .toObject(InternalNetworksList.class); - Assertions.assertEquals("lndbeaqbkixv", model.value().get(0).annotation()); + Assertions.assertEquals("ljmphfkyezolg", model.value().get(0).annotation()); Assertions.assertEquals(Extension.NO_EXTENSION, model.value().get(0).extension()); - Assertions.assertEquals(1750807185, model.value().get(0).mtu()); - Assertions.assertEquals("feuzjljmphfkye", model.value().get(0).connectedIPv4Subnets().get(0).annotation()); - Assertions.assertEquals("bfqvzfjmspu", model.value().get(0).connectedIPv4Subnets().get(0).prefix()); - Assertions.assertEquals("icuydoccn", model.value().get(0).connectedIPv6Subnets().get(0).annotation()); - Assertions.assertEquals("gj", model.value().get(0).connectedIPv6Subnets().get(0).prefix()); - Assertions.assertEquals("daomb", model.value().get(0).importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("injdllwktlepo", model.value().get(0).importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("vqxuajgcqw", model.value().get(0).exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("ynkgfcfd", model.value().get(0).exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("wsikxxtclhuulr", model.value().get(0).ingressAclId()); - Assertions.assertEquals("byokvjgbzsxe", model.value().get(0).egressAclId()); + Assertions.assertEquals(1517430089, model.value().get(0).mtu()); + Assertions.assertEquals("adh", model.value().get(0).connectedIPv4Subnets().get(0).annotation()); + Assertions.assertEquals("doccnxshanzb", model.value().get(0).connectedIPv4Subnets().get(0).prefix()); + Assertions.assertEquals("x", model.value().get(0).connectedIPv6Subnets().get(0).annotation()); + Assertions.assertEquals("vjgb", model.value().get(0).connectedIPv6Subnets().get(0).prefix()); + Assertions.assertEquals("ttpufpbpgnrholhu", model.value().get(0).importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("fwxi", model.value().get(0).importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("ysolsy", model.value().get(0).exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("rxslwhdmcv", model.value().get(0).exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("b", model.value().get(0).ingressAclId()); + Assertions.assertEquals("jhfv", model.value().get(0).egressAclId()); Assertions.assertEquals(IsMonitoringEnabled.TRUE, model.value().get(0).isMonitoringEnabled()); - Assertions.assertEquals(1715829112, model.value().get(0).vlanId()); - Assertions.assertEquals("fokyks", model.value().get(0).bgpConfiguration().annotation()); - Assertions.assertEquals(1492724702, + Assertions.assertEquals(417571328, model.value().get(0).vlanId()); + Assertions.assertEquals("pbyynvskpajbm", model.value().get(0).bgpConfiguration().annotation()); + Assertions.assertEquals(1931538005, model.value().get(0).bgpConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(766894527, model.value().get(0).bgpConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals(863169412, model.value().get(0).bgpConfiguration().bfdConfiguration().multiplier()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.value().get(0).bgpConfiguration().defaultRouteOriginate()); - Assertions.assertEquals(716194665, model.value().get(0).bgpConfiguration().allowAS()); + Assertions.assertEquals(1088510786, model.value().get(0).bgpConfiguration().allowAS()); Assertions.assertEquals(AllowASOverride.ENABLE, model.value().get(0).bgpConfiguration().allowASOverride()); - Assertions.assertEquals(6418350443606757244L, model.value().get(0).bgpConfiguration().peerAsn()); - Assertions.assertEquals("ufpbpgnrhol", + Assertions.assertEquals(8827795910462349087L, model.value().get(0).bgpConfiguration().peerAsn()); + Assertions.assertEquals("rrskapbxwieexuy", model.value().get(0).bgpConfiguration().ipv4ListenRangePrefixes().get(0)); - Assertions.assertEquals("cvhtbbzjhfvh", + Assertions.assertEquals("grvkcxzznnuif", model.value().get(0).bgpConfiguration().ipv6ListenRangePrefixes().get(0)); - Assertions.assertEquals("ecohm", + Assertions.assertEquals("k", model.value().get(0).bgpConfiguration().bmpConfiguration().neighborIpExclusions().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.value().get(0).bgpConfiguration().bmpConfiguration().bmpConfigurationState()); Assertions.assertEquals(V4OverV6BgpSessionState.DISABLED, model.value().get(0).bgpConfiguration().v4OverV6BgpSession()); - Assertions.assertEquals(V6OverV4BgpSessionState.DISABLED, + Assertions.assertEquals(V6OverV4BgpSessionState.ENABLED, model.value().get(0).bgpConfiguration().v6OverV4BgpSession()); - Assertions.assertEquals(1143447896, + Assertions.assertEquals(376572970, model.value().get(0).staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1950190822, + Assertions.assertEquals(363652739, model.value().get(0).staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("xzznnui", + Assertions.assertEquals("bccwkqmtxapeqi", model.value().get(0).staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("xximwgxq", - model.value().get(0).staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals(Extension.NO_EXTENSION, model.value().get(0).staticRouteConfiguration().extension()); - Assertions.assertEquals("fmy", model.nextLink()); + Assertions.assertEquals("fx", model.value().get(0).staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals(Extension.NPB, model.value().get(0).staticRouteConfiguration().extension()); + Assertions.assertEquals("jqqwmtqsmoxsazu", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayInnerTests.java index b5e88550d54d2..7ee665194ca42 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayInnerTests.java @@ -15,35 +15,34 @@ public final class InternetGatewayInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewayInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"s\",\"internetGatewayRuleId\":\"rb\",\"ipv4Address\":\"xsjybvitvqk\",\"port\":308344292,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Infrastructure\",\"networkFabricControllerId\":\"tggmuwdchozfnkfe\",\"lastOperation\":{\"details\":\"xn\"},\"provisioningState\":\"Failed\"},\"location\":\"zvoaikna\",\"tags\":{\"phvxz\":\"uwiguyxlyk\",\"pejtl\":\"wxh\",\"rxhxkn\":\"exaonwivkcq\",\"upijubyqjfkakfq\":\"ccrmmk\"},\"id\":\"rke\",\"name\":\"yildudxjascow\",\"type\":\"f\"}") + "{\"properties\":{\"annotation\":\"yubhiqdx\",\"internetGatewayRuleId\":\"rnpnuhzafccnuh\",\"ipv4Address\":\"gbylbuig\",\"port\":2023850550,\"type\":\"Workload\",\"internetGatewayType\":\"Infrastructure\",\"networkFabricControllerId\":\"rkdlb\",\"lastOperation\":{\"details\":\"xvhcs\"},\"provisioningState\":\"Deleting\"},\"location\":\"wxaeaovure\",\"tags\":{\"bdweade\":\"d\",\"mvmmagoaqylkjz\":\"zmwntopagt\"},\"id\":\"jiuazjc\",\"name\":\"mxitpfinzcpd\",\"type\":\"tkrlgjmtbd\"}") .toObject(InternetGatewayInner.class); - Assertions.assertEquals("zvoaikna", model.location()); - Assertions.assertEquals("uwiguyxlyk", model.tags().get("phvxz")); - Assertions.assertEquals("s", model.annotation()); - Assertions.assertEquals("rb", model.internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.INFRASTRUCTURE, model.typePropertiesType()); + Assertions.assertEquals("wxaeaovure", model.location()); + Assertions.assertEquals("d", model.tags().get("bdweade")); + Assertions.assertEquals("yubhiqdx", model.annotation()); + Assertions.assertEquals("rnpnuhzafccnuh", model.internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.WORKLOAD, model.typePropertiesType()); Assertions.assertEquals(GatewayType.INFRASTRUCTURE, model.internetGatewayType()); - Assertions.assertEquals("tggmuwdchozfnkfe", model.networkFabricControllerId()); + Assertions.assertEquals("rkdlb", model.networkFabricControllerId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternetGatewayInner model = new InternetGatewayInner().withLocation("zvoaikna") - .withTags( - mapOf("phvxz", "uwiguyxlyk", "pejtl", "wxh", "rxhxkn", "exaonwivkcq", "upijubyqjfkakfq", "ccrmmk")) - .withAnnotation("s") - .withInternetGatewayRuleId("rb") - .withTypePropertiesType(GatewayType.INFRASTRUCTURE) + InternetGatewayInner model = new InternetGatewayInner().withLocation("wxaeaovure") + .withTags(mapOf("bdweade", "d", "mvmmagoaqylkjz", "zmwntopagt")) + .withAnnotation("yubhiqdx") + .withInternetGatewayRuleId("rnpnuhzafccnuh") + .withTypePropertiesType(GatewayType.WORKLOAD) .withInternetGatewayType(GatewayType.INFRASTRUCTURE) - .withNetworkFabricControllerId("tggmuwdchozfnkfe"); + .withNetworkFabricControllerId("rkdlb"); model = BinaryData.fromObject(model).toObject(InternetGatewayInner.class); - Assertions.assertEquals("zvoaikna", model.location()); - Assertions.assertEquals("uwiguyxlyk", model.tags().get("phvxz")); - Assertions.assertEquals("s", model.annotation()); - Assertions.assertEquals("rb", model.internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.INFRASTRUCTURE, model.typePropertiesType()); + Assertions.assertEquals("wxaeaovure", model.location()); + Assertions.assertEquals("d", model.tags().get("bdweade")); + Assertions.assertEquals("yubhiqdx", model.annotation()); + Assertions.assertEquals("rnpnuhzafccnuh", model.internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.WORKLOAD, model.typePropertiesType()); Assertions.assertEquals(GatewayType.INFRASTRUCTURE, model.internetGatewayType()); - Assertions.assertEquals("tggmuwdchozfnkfe", model.networkFabricControllerId()); + Assertions.assertEquals("rkdlb", model.networkFabricControllerId()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchPropertiesTests.java index 096ff996b767d..fd971d0e81850 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchPropertiesTests.java @@ -11,15 +11,15 @@ public final class InternetGatewayPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - InternetGatewayPatchProperties model = BinaryData.fromString("{\"internetGatewayRuleId\":\"kvec\"}") + InternetGatewayPatchProperties model = BinaryData.fromString("{\"internetGatewayRuleId\":\"xxe\"}") .toObject(InternetGatewayPatchProperties.class); - Assertions.assertEquals("kvec", model.internetGatewayRuleId()); + Assertions.assertEquals("xxe", model.internetGatewayRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternetGatewayPatchProperties model = new InternetGatewayPatchProperties().withInternetGatewayRuleId("kvec"); + InternetGatewayPatchProperties model = new InternetGatewayPatchProperties().withInternetGatewayRuleId("xxe"); model = BinaryData.fromObject(model).toObject(InternetGatewayPatchProperties.class); - Assertions.assertEquals("kvec", model.internetGatewayRuleId()); + Assertions.assertEquals("xxe", model.internetGatewayRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchTests.java index 7894199cd539e..b9294c75dd0bf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPatchTests.java @@ -14,20 +14,20 @@ public final class InternetGatewayPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewayPatch model = BinaryData.fromString( - "{\"properties\":{\"internetGatewayRuleId\":\"vqqugdrftbcv\"},\"tags\":{\"quowtljvfwhrea\":\"e\",\"ulmdgglm\":\"khyxvrqtvbcz\",\"ngpszngafpg\":\"pjpfseykgs\"}}") + "{\"properties\":{\"internetGatewayRuleId\":\"zjd\"},\"tags\":{\"xjeaoqaqbzgyh\":\"jb\",\"v\":\"w\",\"e\":\"atbwbqam\",\"pkcvmwf\":\"liys\"}}") .toObject(InternetGatewayPatch.class); - Assertions.assertEquals("e", model.tags().get("quowtljvfwhrea")); - Assertions.assertEquals("vqqugdrftbcv", model.internetGatewayRuleId()); + Assertions.assertEquals("jb", model.tags().get("xjeaoqaqbzgyh")); + Assertions.assertEquals("zjd", model.internetGatewayRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { InternetGatewayPatch model = new InternetGatewayPatch() - .withTags(mapOf("quowtljvfwhrea", "e", "ulmdgglm", "khyxvrqtvbcz", "ngpszngafpg", "pjpfseykgs")) - .withInternetGatewayRuleId("vqqugdrftbcv"); + .withTags(mapOf("xjeaoqaqbzgyh", "jb", "v", "w", "e", "atbwbqam", "pkcvmwf", "liys")) + .withInternetGatewayRuleId("zjd"); model = BinaryData.fromObject(model).toObject(InternetGatewayPatch.class); - Assertions.assertEquals("e", model.tags().get("quowtljvfwhrea")); - Assertions.assertEquals("vqqugdrftbcv", model.internetGatewayRuleId()); + Assertions.assertEquals("jb", model.tags().get("xjeaoqaqbzgyh")); + Assertions.assertEquals("zjd", model.internetGatewayRuleId()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPropertiesTests.java index 87fa86520424c..6fbe8112ed2de 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayPropertiesTests.java @@ -13,27 +13,27 @@ public final class InternetGatewayPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewayProperties model = BinaryData.fromString( - "{\"annotation\":\"kpdxphlk\",\"internetGatewayRuleId\":\"nmgzvyfijdkzuqnw\",\"ipv4Address\":\"thuqolyahluq\",\"port\":608197313,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"rjb\",\"lastOperation\":{\"details\":\"kf\"},\"provisioningState\":\"Accepted\"}") + "{\"annotation\":\"cqguef\",\"internetGatewayRuleId\":\"ompheqdur\",\"ipv4Address\":\"yujlfyoumpckyecl\",\"port\":1922020394,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"jbrzmqxucyc\",\"lastOperation\":{\"details\":\"clxiutg\"},\"provisioningState\":\"Accepted\"}") .toObject(InternetGatewayProperties.class); - Assertions.assertEquals("kpdxphlk", model.annotation()); - Assertions.assertEquals("nmgzvyfijdkzuqnw", model.internetGatewayRuleId()); + Assertions.assertEquals("cqguef", model.annotation()); + Assertions.assertEquals("ompheqdur", model.internetGatewayRuleId()); Assertions.assertEquals(GatewayType.WORKLOAD, model.type()); Assertions.assertEquals(GatewayType.WORKLOAD, model.internetGatewayType()); - Assertions.assertEquals("rjb", model.networkFabricControllerId()); + Assertions.assertEquals("jbrzmqxucyc", model.networkFabricControllerId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternetGatewayProperties model = new InternetGatewayProperties().withAnnotation("kpdxphlk") - .withInternetGatewayRuleId("nmgzvyfijdkzuqnw") + InternetGatewayProperties model = new InternetGatewayProperties().withAnnotation("cqguef") + .withInternetGatewayRuleId("ompheqdur") .withType(GatewayType.WORKLOAD) .withInternetGatewayType(GatewayType.WORKLOAD) - .withNetworkFabricControllerId("rjb"); + .withNetworkFabricControllerId("jbrzmqxucyc"); model = BinaryData.fromObject(model).toObject(InternetGatewayProperties.class); - Assertions.assertEquals("kpdxphlk", model.annotation()); - Assertions.assertEquals("nmgzvyfijdkzuqnw", model.internetGatewayRuleId()); + Assertions.assertEquals("cqguef", model.annotation()); + Assertions.assertEquals("ompheqdur", model.internetGatewayRuleId()); Assertions.assertEquals(GatewayType.WORKLOAD, model.type()); Assertions.assertEquals(GatewayType.WORKLOAD, model.internetGatewayType()); - Assertions.assertEquals("rjb", model.networkFabricControllerId()); + Assertions.assertEquals("jbrzmqxucyc", model.networkFabricControllerId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRuleInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRuleInnerTests.java index d2abc000092ed..75bc857e1106c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRuleInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRuleInnerTests.java @@ -19,48 +19,51 @@ public final class InternetGatewayRuleInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewayRuleInner model = BinaryData.fromString( - "{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"nbm\",\"wbjijkgq\"],\"condition\":\"And\",\"destinationAddressList\":[\"keznjaujvaa\",\"nggiycwkdtaa\"],\"sourceAddressList\":[\"fe\",\"aumrrqmbzmqkrat\",\"nxwbjsidbirkfp\"],\"headerAddressList\":[{\"headerName\":\"dgo\",\"addressList\":[\"ijymrhbguzozky\",\"wnf\"]},{\"headerName\":\"hhhqosm\",\"addressList\":[\"kutycyarnroohgua\",\"zoghktdpyczhc\",\"eocnhzqrottj\"]}]},\"lastOperation\":{\"details\":\"yjzp\"},\"provisioningState\":\"Accepted\",\"internetGatewayIds\":[\"h\",\"pqinf\",\"zpyglqdhmrj\"],\"annotation\":\"alcxpjbyy\"},\"location\":\"joqcjenkyhfqzvsq\",\"tags\":{\"uwyvcacoyvi\":\"jelgcmpzqjhhhq\"},\"id\":\"bsizus\",\"name\":\"szlbscm\",\"type\":\"lzijiufehgmvflnw\"}") + "{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"tycy\",\"rnroohguabzoghk\",\"dp\",\"czhcoeocnh\"],\"condition\":\"Or\",\"destinationAddressList\":[\"tjzcfyjzpt\",\"rl\",\"h\"],\"sourceAddressList\":[\"infsz\",\"yglqdhmrjzral\",\"xpjb\"],\"headerAddressList\":[{\"headerName\":\"joqcjenkyhfqzvsq\",\"addressList\":[\"jelgcmpzqjhhhq\"]},{\"headerName\":\"w\",\"addressList\":[\"acoyvivbsizusjs\",\"lbscmnlz\",\"jiu\"]},{\"headerName\":\"hgm\",\"addressList\":[\"nwyvq\",\"xrerlniylylyf\",\"xzutgqztwhghmupg\"]}]},\"lastOperation\":{\"details\":\"tcdxabbujftaben\"},\"provisioningState\":\"Canceled\",\"internetGatewayIds\":[\"pxzuca\",\"e\",\"dwwnl\",\"a\"],\"annotation\":\"xud\"},\"location\":\"hgookrtalvnbwgpb\",\"tags\":{\"rdnqodxahhxhqf\":\"luclvdjjuk\",\"avsczuejdtxp\":\"qnvzoqgyipemch\",\"jjstliuhqawmo\":\"lghwzhome\"},\"id\":\"ia\",\"name\":\"cz\",\"type\":\"vodrrslblxydkxr\"}") .toObject(InternetGatewayRuleInner.class); - Assertions.assertEquals("joqcjenkyhfqzvsq", model.location()); - Assertions.assertEquals("jelgcmpzqjhhhq", model.tags().get("uwyvcacoyvi")); + Assertions.assertEquals("hgookrtalvnbwgpb", model.location()); + Assertions.assertEquals("luclvdjjuk", model.tags().get("rdnqodxahhxhqf")); Assertions.assertEquals(Action.DENY, model.ruleProperties().action()); - Assertions.assertEquals("nbm", model.ruleProperties().addressList().get(0)); - Assertions.assertEquals(RuleCondition.AND, model.ruleProperties().condition()); - Assertions.assertEquals("keznjaujvaa", model.ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("fe", model.ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("dgo", model.ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("ijymrhbguzozky", + Assertions.assertEquals("tycy", model.ruleProperties().addressList().get(0)); + Assertions.assertEquals(RuleCondition.OR, model.ruleProperties().condition()); + Assertions.assertEquals("tjzcfyjzpt", model.ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("infsz", model.ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("joqcjenkyhfqzvsq", model.ruleProperties().headerAddressList().get(0).headerName()); + Assertions.assertEquals("jelgcmpzqjhhhq", model.ruleProperties().headerAddressList().get(0).addressList().get(0)); - Assertions.assertEquals("alcxpjbyy", model.annotation()); + Assertions.assertEquals("xud", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternetGatewayRuleInner model = new InternetGatewayRuleInner().withLocation("joqcjenkyhfqzvsq") - .withTags(mapOf("uwyvcacoyvi", "jelgcmpzqjhhhq")) + InternetGatewayRuleInner model = new InternetGatewayRuleInner().withLocation("hgookrtalvnbwgpb") + .withTags( + mapOf("rdnqodxahhxhqf", "luclvdjjuk", "avsczuejdtxp", "qnvzoqgyipemch", "jjstliuhqawmo", "lghwzhome")) .withRuleProperties(new RuleProperties().withAction(Action.DENY) - .withAddressList(Arrays.asList("nbm", "wbjijkgq")) - .withCondition(RuleCondition.AND) - .withDestinationAddressList(Arrays.asList("keznjaujvaa", "nggiycwkdtaa")) - .withSourceAddressList(Arrays.asList("fe", "aumrrqmbzmqkrat", "nxwbjsidbirkfp")) + .withAddressList(Arrays.asList("tycy", "rnroohguabzoghk", "dp", "czhcoeocnh")) + .withCondition(RuleCondition.OR) + .withDestinationAddressList(Arrays.asList("tjzcfyjzpt", "rl", "h")) + .withSourceAddressList(Arrays.asList("infsz", "yglqdhmrjzral", "xpjb")) .withHeaderAddressList(Arrays.asList( - new HeaderAddressProperties().withHeaderName("dgo") - .withAddressList(Arrays.asList("ijymrhbguzozky", "wnf")), - new HeaderAddressProperties().withHeaderName("hhhqosm") - .withAddressList(Arrays.asList("kutycyarnroohgua", "zoghktdpyczhc", "eocnhzqrottj"))))) - .withAnnotation("alcxpjbyy"); + new HeaderAddressProperties().withHeaderName("joqcjenkyhfqzvsq") + .withAddressList(Arrays.asList("jelgcmpzqjhhhq")), + new HeaderAddressProperties().withHeaderName("w") + .withAddressList(Arrays.asList("acoyvivbsizusjs", "lbscmnlz", "jiu")), + new HeaderAddressProperties().withHeaderName("hgm") + .withAddressList(Arrays.asList("nwyvq", "xrerlniylylyf", "xzutgqztwhghmupg"))))) + .withAnnotation("xud"); model = BinaryData.fromObject(model).toObject(InternetGatewayRuleInner.class); - Assertions.assertEquals("joqcjenkyhfqzvsq", model.location()); - Assertions.assertEquals("jelgcmpzqjhhhq", model.tags().get("uwyvcacoyvi")); + Assertions.assertEquals("hgookrtalvnbwgpb", model.location()); + Assertions.assertEquals("luclvdjjuk", model.tags().get("rdnqodxahhxhqf")); Assertions.assertEquals(Action.DENY, model.ruleProperties().action()); - Assertions.assertEquals("nbm", model.ruleProperties().addressList().get(0)); - Assertions.assertEquals(RuleCondition.AND, model.ruleProperties().condition()); - Assertions.assertEquals("keznjaujvaa", model.ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("fe", model.ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("dgo", model.ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("ijymrhbguzozky", + Assertions.assertEquals("tycy", model.ruleProperties().addressList().get(0)); + Assertions.assertEquals(RuleCondition.OR, model.ruleProperties().condition()); + Assertions.assertEquals("tjzcfyjzpt", model.ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("infsz", model.ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("joqcjenkyhfqzvsq", model.ruleProperties().headerAddressList().get(0).headerName()); + Assertions.assertEquals("jelgcmpzqjhhhq", model.ruleProperties().headerAddressList().get(0).addressList().get(0)); - Assertions.assertEquals("alcxpjbyy", model.annotation()); + Assertions.assertEquals("xud", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePatchTests.java index f5f270d198d52..6f68d117073e5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePatchTests.java @@ -13,18 +13,19 @@ public final class InternetGatewayRulePatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - InternetGatewayRulePatch model = BinaryData.fromString( - "{\"tags\":{\"carvvlfntymtpoi\":\"qusybwptd\",\"kdnwqapfgsdpcve\":\"enazerohzrsqals\",\"kva\":\"smzhhkuuipldqqct\"}}") + InternetGatewayRulePatch model = BinaryData + .fromString( + "{\"tags\":{\"eimipskd\":\"xivzrrry\",\"tjvv\":\"zatvfuzka\",\"tgrqgdgkkile\":\"uxwigsyeipqdsm\"}}") .toObject(InternetGatewayRulePatch.class); - Assertions.assertEquals("qusybwptd", model.tags().get("carvvlfntymtpoi")); + Assertions.assertEquals("xivzrrry", model.tags().get("eimipskd")); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternetGatewayRulePatch model = new InternetGatewayRulePatch().withTags( - mapOf("carvvlfntymtpoi", "qusybwptd", "kdnwqapfgsdpcve", "enazerohzrsqals", "kva", "smzhhkuuipldqqct")); + InternetGatewayRulePatch model = new InternetGatewayRulePatch() + .withTags(mapOf("eimipskd", "xivzrrry", "tjvv", "zatvfuzka", "tgrqgdgkkile", "uxwigsyeipqdsm")); model = BinaryData.fromObject(model).toObject(InternetGatewayRulePatch.class); - Assertions.assertEquals("qusybwptd", model.tags().get("carvvlfntymtpoi")); + Assertions.assertEquals("xivzrrry", model.tags().get("eimipskd")); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePropertiesTests.java index 2ab422773137d..11101ccacc772 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulePropertiesTests.java @@ -17,46 +17,41 @@ public final class InternetGatewayRulePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewayRuleProperties model = BinaryData.fromString( - "{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"xrerlniylylyf\",\"xzutgqztwhghmupg\",\"yjtcdxabbujftab\",\"nbbklqpxzucafed\"],\"condition\":\"Or\",\"destinationAddressList\":[\"z\",\"fwxudgnhg\"],\"sourceAddressList\":[\"rtalvnbw\",\"pbeme\"],\"headerAddressList\":[{\"headerName\":\"vdjjukyrdn\",\"addressList\":[\"xahhxhqfaqnvzo\",\"gyipem\",\"hgav\",\"czuejdtxptl\"]},{\"headerName\":\"wzhomewjjstl\",\"addressList\":[\"qawmoaianc\",\"nvodrrs\"]},{\"headerName\":\"lxydkxrxv\",\"addressList\":[\"iwkgfbqljnq\",\"hychocokuleh\",\"rqlrqffawe\"]},{\"headerName\":\"rkphyjdxr\",\"addressList\":[\"uqd\",\"rxmrgchbapx\"]}]},\"lastOperation\":{\"details\":\"fjjkbajb\"},\"provisioningState\":\"Accepted\",\"internetGatewayIds\":[\"uusioycblev\",\"mclujyxkyxlzgs\",\"gkzz\",\"taf\"],\"annotation\":\"zffovwmbjl\"}") + "{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"xiwkgfbql\",\"nqkhych\",\"c\"],\"condition\":\"Or\",\"destinationAddressList\":[\"hurql\",\"qffawey\"],\"sourceAddressList\":[\"phyjdxravj\",\"qdbrxmrgc\",\"bapxkiyfjjkb\"],\"headerAddressList\":[{\"headerName\":\"scgdu\",\"addressList\":[\"oycblevpmc\",\"ujyxkyxlzgsj\"]},{\"headerName\":\"zzlt\",\"addressList\":[\"bzf\",\"ovwmbjlzqsczpgvd\",\"napfdqwowftpt\",\"uwjtks\"]},{\"headerName\":\"gcgqyhleseyqrhvy\",\"addressList\":[\"otjvdkwiswskukjt\",\"sbvw\"]}]},\"lastOperation\":{\"details\":\"kxkdtxfkndlq\"},\"provisioningState\":\"Canceled\",\"internetGatewayIds\":[\"vgmmbugtyw\",\"tmqa\",\"kueatgroeshoy\"],\"annotation\":\"cbyfqxkf\"}") .toObject(InternetGatewayRuleProperties.class); - Assertions.assertEquals("zffovwmbjl", model.annotation()); - Assertions.assertEquals(Action.ALLOW, model.ruleProperties().action()); - Assertions.assertEquals("xrerlniylylyf", model.ruleProperties().addressList().get(0)); + Assertions.assertEquals("cbyfqxkf", model.annotation()); + Assertions.assertEquals(Action.DENY, model.ruleProperties().action()); + Assertions.assertEquals("xiwkgfbql", model.ruleProperties().addressList().get(0)); Assertions.assertEquals(RuleCondition.OR, model.ruleProperties().condition()); - Assertions.assertEquals("z", model.ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("rtalvnbw", model.ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("vdjjukyrdn", model.ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("xahhxhqfaqnvzo", - model.ruleProperties().headerAddressList().get(0).addressList().get(0)); + Assertions.assertEquals("hurql", model.ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("phyjdxravj", model.ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("scgdu", model.ruleProperties().headerAddressList().get(0).headerName()); + Assertions.assertEquals("oycblevpmc", model.ruleProperties().headerAddressList().get(0).addressList().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - InternetGatewayRuleProperties model = new InternetGatewayRuleProperties().withAnnotation("zffovwmbjl") - .withRuleProperties(new RuleProperties().withAction(Action.ALLOW) - .withAddressList( - Arrays.asList("xrerlniylylyf", "xzutgqztwhghmupg", "yjtcdxabbujftab", "nbbklqpxzucafed")) + InternetGatewayRuleProperties model = new InternetGatewayRuleProperties().withAnnotation("cbyfqxkf") + .withRuleProperties(new RuleProperties().withAction(Action.DENY) + .withAddressList(Arrays.asList("xiwkgfbql", "nqkhych", "c")) .withCondition(RuleCondition.OR) - .withDestinationAddressList(Arrays.asList("z", "fwxudgnhg")) - .withSourceAddressList(Arrays.asList("rtalvnbw", "pbeme")) + .withDestinationAddressList(Arrays.asList("hurql", "qffawey")) + .withSourceAddressList(Arrays.asList("phyjdxravj", "qdbrxmrgc", "bapxkiyfjjkb")) .withHeaderAddressList(Arrays.asList( - new HeaderAddressProperties().withHeaderName("vdjjukyrdn") - .withAddressList(Arrays.asList("xahhxhqfaqnvzo", "gyipem", "hgav", "czuejdtxptl")), - new HeaderAddressProperties().withHeaderName("wzhomewjjstl") - .withAddressList(Arrays.asList("qawmoaianc", "nvodrrs")), - new HeaderAddressProperties().withHeaderName("lxydkxrxv") - .withAddressList(Arrays.asList("iwkgfbqljnq", "hychocokuleh", "rqlrqffawe")), - new HeaderAddressProperties().withHeaderName("rkphyjdxr") - .withAddressList(Arrays.asList("uqd", "rxmrgchbapx"))))); + new HeaderAddressProperties().withHeaderName("scgdu") + .withAddressList(Arrays.asList("oycblevpmc", "ujyxkyxlzgsj")), + new HeaderAddressProperties().withHeaderName("zzlt") + .withAddressList(Arrays.asList("bzf", "ovwmbjlzqsczpgvd", "napfdqwowftpt", "uwjtks")), + new HeaderAddressProperties().withHeaderName("gcgqyhleseyqrhvy") + .withAddressList(Arrays.asList("otjvdkwiswskukjt", "sbvw"))))); model = BinaryData.fromObject(model).toObject(InternetGatewayRuleProperties.class); - Assertions.assertEquals("zffovwmbjl", model.annotation()); - Assertions.assertEquals(Action.ALLOW, model.ruleProperties().action()); - Assertions.assertEquals("xrerlniylylyf", model.ruleProperties().addressList().get(0)); + Assertions.assertEquals("cbyfqxkf", model.annotation()); + Assertions.assertEquals(Action.DENY, model.ruleProperties().action()); + Assertions.assertEquals("xiwkgfbql", model.ruleProperties().addressList().get(0)); Assertions.assertEquals(RuleCondition.OR, model.ruleProperties().condition()); - Assertions.assertEquals("z", model.ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("rtalvnbw", model.ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("vdjjukyrdn", model.ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("xahhxhqfaqnvzo", - model.ruleProperties().headerAddressList().get(0).addressList().get(0)); + Assertions.assertEquals("hurql", model.ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("phyjdxravj", model.ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("scgdu", model.ruleProperties().headerAddressList().get(0).headerName()); + Assertions.assertEquals("oycblevpmc", model.ruleProperties().headerAddressList().get(0).addressList().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateMockTests.java index 8b1bdf664876a..03ea6baf54ebc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesCreateMockTests.java @@ -28,7 +28,7 @@ public final class InternetGatewayRulesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"lah\",\"eqjchhrrx\",\"cztrqnuahh\",\"edvbrbdujpsh\"],\"condition\":\"Or\",\"destinationAddressList\":[\"ry\",\"y\",\"lwzjorvsgm\"],\"sourceAddressList\":[\"les\",\"jckyocyb\",\"lwdmpsdfsla\"],\"headerAddressList\":[{\"headerName\":\"hyylipvq\",\"addressList\":[\"mexnpoaeruywf\",\"ltwlzlmp\",\"prlcgqewm\",\"wyhqly\"]},{\"headerName\":\"kmxusmkpa\",\"addressList\":[\"wpbnjcko\",\"tun\"]}]},\"lastOperation\":{\"details\":\"ysvnddllbwnmvh\"},\"provisioningState\":\"Succeeded\",\"internetGatewayIds\":[\"myrg\",\"sdouzohihqlwy\",\"sxeqtl\"],\"annotation\":\"mczcxouaneuep\"},\"location\":\"ztakov\",\"tags\":{\"mt\":\"wpv\"},\"id\":\"c\",\"name\":\"tucmiqsdsn\",\"type\":\"qqgs\"}"; + = "{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"nvfcdsi\",\"sinybntlxwayxujz\",\"xgakq\",\"krjucazwedma\"],\"condition\":\"And\",\"destinationAddressList\":[\"cem\"],\"sourceAddressList\":[\"n\",\"dvqan\",\"enxgohmmgbl\",\"yfgz\"],\"headerAddressList\":[{\"headerName\":\"ifsgzfg\",\"addressList\":[\"xjiqpdsohw\",\"nayoogh\",\"xhpp\"]},{\"headerName\":\"ksqiwlmegjtose\",\"addressList\":[\"ygowd\",\"izzugdorcppqvov\",\"irtasep\"]},{\"headerName\":\"lpexhh\",\"addressList\":[\"tl\",\"p\",\"biroxamnvrcq\",\"pbainsihdzxeufjy\"]}]},\"lastOperation\":{\"details\":\"m\"},\"provisioningState\":\"Succeeded\",\"internetGatewayIds\":[\"pib\",\"wqjcphofyoqfvm\",\"wplx\",\"uzltn\"],\"annotation\":\"olghgtejty\"},\"location\":\"syc\",\"tags\":{\"caoc\":\"rqdty\",\"c\":\"uuxqnk\"},\"id\":\"mrwc\",\"name\":\"ynjcvewl\",\"type\":\"jrnaktj\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -38,31 +38,32 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); InternetGatewayRule response = manager.internetGatewayRules() - .define("oanudvqannenxgo") - .withRegion("syc") - .withExistingResourceGroup("cem") + .define("pg") + .withRegion("jpc") + .withExistingResourceGroup("sbjxpuokkdpts") .withRuleProperties(new RuleProperties().withAction(Action.ALLOW) - .withAddressList(Arrays.asList("blqyfgzbfp", "ifsgzfg")) - .withCondition(RuleCondition.OR) - .withDestinationAddressList(Arrays.asList("iq", "dsohwnnayo", "ghjxhpppnksqi")) - .withSourceAddressList(Arrays.asList("egjto", "eohoygowdzizzu", "d", "rcppqvovsirtas")) - .withHeaderAddressList(Arrays.asList(new HeaderAddressProperties().withHeaderName("lpexhh") - .withAddressList(Arrays.asList("tl", "p", "biroxamnvrcq", "pbainsihdzxeufjy"))))) - .withTags(mapOf("caoc", "rqdty", "c", "uuxqnk")) - .withAnnotation("olghgtejty") + .withAddressList(Arrays.asList("nalpwa", "lkw")) + .withCondition(RuleCondition.AND) + .withDestinationAddressList(Arrays.asList("wnwnjdrnfgtmupbl")) + .withSourceAddressList(Arrays.asList("qvz", "ikxufuwcajyezlk", "iveftugiwsvlfp", "bpnrgnxwrfu")) + .withHeaderAddressList(Arrays.asList(new HeaderAddressProperties().withHeaderName("s") + .withAddressList(Arrays.asList("vuoxzyfqcjclvbqo", "kzueytphnaz"))))) + .withTags( + mapOf("phhpwxghwwfqzwys", "kkgqfjw", "yifadsl", "sqqmdajsqepxf", "bibsn", "ifdrbsrpjs", "pn", "mfooi")) + .withAnnotation("pqkrz") .create(); - Assertions.assertEquals("ztakov", response.location()); - Assertions.assertEquals("wpv", response.tags().get("mt")); - Assertions.assertEquals(Action.ALLOW, response.ruleProperties().action()); - Assertions.assertEquals("lah", response.ruleProperties().addressList().get(0)); - Assertions.assertEquals(RuleCondition.OR, response.ruleProperties().condition()); - Assertions.assertEquals("ry", response.ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("les", response.ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("hyylipvq", response.ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("mexnpoaeruywf", + Assertions.assertEquals("syc", response.location()); + Assertions.assertEquals("rqdty", response.tags().get("caoc")); + Assertions.assertEquals(Action.DENY, response.ruleProperties().action()); + Assertions.assertEquals("nvfcdsi", response.ruleProperties().addressList().get(0)); + Assertions.assertEquals(RuleCondition.AND, response.ruleProperties().condition()); + Assertions.assertEquals("cem", response.ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("n", response.ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("ifsgzfg", response.ruleProperties().headerAddressList().get(0).headerName()); + Assertions.assertEquals("xjiqpdsohw", response.ruleProperties().headerAddressList().get(0).addressList().get(0)); - Assertions.assertEquals("mczcxouaneuep", response.annotation()); + Assertions.assertEquals("olghgtejty", response.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupWithResponseMockTests.java index 629cb84e6386d..6dd7157ca0763 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesGetByResourceGroupWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class InternetGatewayRulesGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"izdoysmzgbogdjw\"],\"condition\":\"Or\",\"destinationAddressList\":[\"pd\",\"uotk\",\"kbp\"],\"sourceAddressList\":[\"pbnkcwauylkbdsk\",\"pyfrtlukafq\"],\"headerAddressList\":[{\"headerName\":\"m\",\"addressList\":[\"yuxxeike\",\"npw\",\"nhqafuvvys\"]},{\"headerName\":\"jkxgfmesxjeqqfy\",\"addressList\":[\"kxtanlvoorv\",\"hdncq\"]},{\"headerName\":\"wtpssgqlnolspv\",\"addressList\":[\"egxlzd\",\"atptzkmfvdrkcw\",\"smnwsffia\"]}]},\"lastOperation\":{\"details\":\"frzzxirxxkmozkd\"},\"provisioningState\":\"Succeeded\",\"internetGatewayIds\":[\"kivvpyznjwmd\",\"uzn\",\"jbzzwsesqy\"],\"annotation\":\"tvofgx\"},\"location\":\"hsxc\",\"tags\":{\"bxynkubwkdihs\":\"xcmepkpx\",\"wetwwjv\":\"nbyi\"},\"id\":\"ycygcvgebf\",\"name\":\"ityantecv\",\"type\":\"tkgopdjqnsicucq\"}"; + = "{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"j\",\"iueaibq\",\"bizbwxuypc\"],\"condition\":\"Or\",\"destinationAddressList\":[\"lxtclveqdqt\",\"shwlwjxrym\"],\"sourceAddressList\":[\"gh\",\"cmqdlkkwbdek\",\"vdulmka\"],\"headerAddressList\":[{\"headerName\":\"bssatpialrqh\",\"addressList\":[\"xccfgf\",\"ozaiyvrex\"]}]},\"lastOperation\":{\"details\":\"zrikno\"},\"provisioningState\":\"Failed\",\"internetGatewayIds\":[\"ywwumbusnawb\",\"cljkhmsobua\",\"okiclrmmudvo\",\"t\"],\"annotation\":\"c\"},\"location\":\"kwznwttliz\",\"tags\":{\"ogdjwuybcppdvuo\":\"smzg\",\"kcwauylkbdskrp\":\"kvkbpmkupb\",\"zylemp\":\"frtlukaf\"},\"id\":\"hyuxxeike\",\"name\":\"npw\",\"type\":\"nhqafuvvys\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,18 +33,18 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); InternetGatewayRule response = manager.internetGatewayRules() - .getByResourceGroupWithResponse("t", "scidkwzn", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("iniyoizuww", "crigbjbelnqalbs", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("hsxc", response.location()); - Assertions.assertEquals("xcmepkpx", response.tags().get("bxynkubwkdihs")); + Assertions.assertEquals("kwznwttliz", response.location()); + Assertions.assertEquals("smzg", response.tags().get("ogdjwuybcppdvuo")); Assertions.assertEquals(Action.DENY, response.ruleProperties().action()); - Assertions.assertEquals("izdoysmzgbogdjw", response.ruleProperties().addressList().get(0)); + Assertions.assertEquals("j", response.ruleProperties().addressList().get(0)); Assertions.assertEquals(RuleCondition.OR, response.ruleProperties().condition()); - Assertions.assertEquals("pd", response.ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("pbnkcwauylkbdsk", response.ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("m", response.ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("yuxxeike", response.ruleProperties().headerAddressList().get(0).addressList().get(0)); - Assertions.assertEquals("tvofgx", response.annotation()); + Assertions.assertEquals("lxtclveqdqt", response.ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("gh", response.ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("bssatpialrqh", response.ruleProperties().headerAddressList().get(0).headerName()); + Assertions.assertEquals("xccfgf", response.ruleProperties().headerAddressList().get(0).addressList().get(0)); + Assertions.assertEquals("c", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupMockTests.java index d3ac38a0e200d..93d822e4d33bc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListByResourceGroupMockTests.java @@ -24,7 +24,7 @@ public final class InternetGatewayRulesListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"jjlypwgwbycfamui\",\"isppygothisir\",\"hbogxwngpymye\",\"pusozaoutjliwbn\"],\"condition\":\"Or\",\"destinationAddressList\":[\"zjoyyptnokd\"],\"sourceAddressList\":[\"kzeowizvjejzxkf\",\"zqwkxxbo\",\"uvkkcowgnwhldc\"],\"headerAddressList\":[{\"headerName\":\"huqmdyn\",\"addressList\":[\"lcvlmrvhedrbzzb\",\"yag\",\"xwcndkdlxdlh\"]}]},\"lastOperation\":{\"details\":\"zcjawkyxo\"},\"provisioningState\":\"Succeeded\",\"internetGatewayIds\":[\"qus\",\"xiaj\",\"crsdgtj\"],\"annotation\":\"opnccaxtp\"},\"location\":\"szehij\",\"tags\":{\"hjmg\":\"feabzjp\",\"xymfqmvnhsf\":\"ceqaklsfxlrx\",\"dptsp\":\"xtusbjxpuok\",\"asjwnwnj\":\"gtplonalpwaulkwu\"},\"id\":\"rnfgtmupblhnxq\",\"name\":\"zzikxufuwcajy\",\"type\":\"zlku\"}]}"; + = "{\"value\":[{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"xjeqqfynvckxtan\"],\"condition\":\"Or\",\"destinationAddressList\":[\"vzhdncqcuwt\",\"ssgq\"],\"sourceAddressList\":[\"lspvxpiegxl\",\"dvatptzkmfvdrkcw\",\"smnwsffia\",\"fd\"],\"headerAddressList\":[{\"headerName\":\"xir\",\"addressList\":[\"mozkdqz\",\"rhkivvpyzn\",\"wm\"]},{\"headerName\":\"uzn\",\"addressList\":[\"zzwsesqy\",\"ktvofgxorhsxcs\",\"axcme\",\"kpxt\"]}]},\"lastOperation\":{\"details\":\"nkubwkd\"},\"provisioningState\":\"Succeeded\",\"internetGatewayIds\":[\"byi\"],\"annotation\":\"etwwjvxycygcv\"},\"location\":\"bfeitya\",\"tags\":{\"pd\":\"cvttkg\",\"icucqtecie\":\"qn\",\"zhjjlypwgwbycfam\":\"scx\",\"irhhbogxw\":\"ikisppygothi\"},\"id\":\"gpymyerpusozaou\",\"name\":\"jliwbnwdkgb\",\"type\":\"joy\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,21 +34,20 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.internetGatewayRules().listByResourceGroup("eciexsc", com.azure.core.util.Context.NONE); + = manager.internetGatewayRules().listByResourceGroup("hjkxg", com.azure.core.util.Context.NONE); - Assertions.assertEquals("szehij", response.iterator().next().location()); - Assertions.assertEquals("feabzjp", response.iterator().next().tags().get("hjmg")); - Assertions.assertEquals(Action.ALLOW, response.iterator().next().ruleProperties().action()); - Assertions.assertEquals("jjlypwgwbycfamui", response.iterator().next().ruleProperties().addressList().get(0)); + Assertions.assertEquals("bfeitya", response.iterator().next().location()); + Assertions.assertEquals("cvttkg", response.iterator().next().tags().get("pd")); + Assertions.assertEquals(Action.DENY, response.iterator().next().ruleProperties().action()); + Assertions.assertEquals("xjeqqfynvckxtan", response.iterator().next().ruleProperties().addressList().get(0)); Assertions.assertEquals(RuleCondition.OR, response.iterator().next().ruleProperties().condition()); - Assertions.assertEquals("zjoyyptnokd", + Assertions.assertEquals("vzhdncqcuwt", response.iterator().next().ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("kzeowizvjejzxkf", - response.iterator().next().ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("huqmdyn", + Assertions.assertEquals("lspvxpiegxl", response.iterator().next().ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("xir", response.iterator().next().ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("lcvlmrvhedrbzzb", + Assertions.assertEquals("mozkdqz", response.iterator().next().ruleProperties().headerAddressList().get(0).addressList().get(0)); - Assertions.assertEquals("opnccaxtp", response.iterator().next().annotation()); + Assertions.assertEquals("etwwjvxycygcv", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListMockTests.java index acef4e67fe0d1..35b18116e6223 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListMockTests.java @@ -24,7 +24,7 @@ public final class InternetGatewayRulesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"tugiwsvlfpmbp\",\"rgnx\"],\"condition\":\"And\",\"destinationAddressList\":[\"zaysfzuvu\"],\"sourceAddressList\":[\"y\",\"qcjclvbqovkz\",\"eytphnazpgvfcubx\"],\"headerAddressList\":[{\"headerName\":\"edbqrlbyhzyf\",\"addressList\":[\"qkrzvdj\",\"cevbkk\"]},{\"headerName\":\"fjwgp\",\"addressList\":[\"wx\",\"hw\",\"fqzwysmsqqmdajsq\"]}]},\"lastOperation\":{\"details\":\"ftyi\"},\"provisioningState\":\"Accepted\",\"internetGatewayIds\":[\"iifdrbsrpj\",\"pbibsnxmfo\"],\"annotation\":\"npnrfvqgcuwgkmq\"},\"location\":\"rewtfu\",\"tags\":{\"kcgittfmlpihtepa\":\"sxn\",\"nybnt\":\"jebrinvfcdsijs\",\"ayxujzoxgakqt\":\"x\"},\"id\":\"rjucazwe\",\"name\":\"mah\",\"type\":\"lx\"}]}"; + = "{\"value\":[{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"okd\",\"qxkzeowizvj\"],\"condition\":\"And\",\"destinationAddressList\":[\"flzqwkx\"],\"sourceAddressList\":[\"auvkkcowgnw\",\"ldctnwchuqm\",\"ynmt\",\"lcvlmrvhedrbzzb\"],\"headerAddressList\":[{\"headerName\":\"wxw\",\"addressList\":[\"kdlxdlh\",\"alz\"]}]},\"lastOperation\":{\"details\":\"wkyxowno\"},\"provisioningState\":\"Succeeded\",\"internetGatewayIds\":[\"sxiaj\"],\"annotation\":\"rsd\"},\"location\":\"jxlopn\",\"tags\":{\"jlwrfeabzjpg\":\"xtpprszeh\"},\"id\":\"jmgpceqaklsfx\",\"name\":\"rxix\",\"type\":\"mfqmvnhsfjxt\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,18 +36,17 @@ public void testList() throws Exception { PagedIterable response = manager.internetGatewayRules().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("rewtfu", response.iterator().next().location()); - Assertions.assertEquals("sxn", response.iterator().next().tags().get("kcgittfmlpihtepa")); - Assertions.assertEquals(Action.ALLOW, response.iterator().next().ruleProperties().action()); - Assertions.assertEquals("tugiwsvlfpmbp", response.iterator().next().ruleProperties().addressList().get(0)); + Assertions.assertEquals("jxlopn", response.iterator().next().location()); + Assertions.assertEquals("xtpprszeh", response.iterator().next().tags().get("jlwrfeabzjpg")); + Assertions.assertEquals(Action.DENY, response.iterator().next().ruleProperties().action()); + Assertions.assertEquals("okd", response.iterator().next().ruleProperties().addressList().get(0)); Assertions.assertEquals(RuleCondition.AND, response.iterator().next().ruleProperties().condition()); - Assertions.assertEquals("zaysfzuvu", - response.iterator().next().ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("y", response.iterator().next().ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("edbqrlbyhzyf", + Assertions.assertEquals("flzqwkx", response.iterator().next().ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("auvkkcowgnw", response.iterator().next().ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("wxw", response.iterator().next().ruleProperties().headerAddressList().get(0).headerName()); - Assertions.assertEquals("qkrzvdj", + Assertions.assertEquals("kdlxdlh", response.iterator().next().ruleProperties().headerAddressList().get(0).addressList().get(0)); - Assertions.assertEquals("npnrfvqgcuwgkmq", response.iterator().next().annotation()); + Assertions.assertEquals("rsd", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListResultTests.java index 59ea47e8fcb51..18324ff90060e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewayRulesListResultTests.java @@ -14,16 +14,16 @@ public final class InternetGatewayRulesListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewayRulesListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"jqvq\",\"vweht\",\"emxhzzy\"],\"condition\":\"And\",\"destinationAddressList\":[\"xivzrrry\",\"eimipskd\",\"zatvfuzka\"],\"sourceAddressList\":[\"vvruxwi\",\"syeipqd\",\"mjtgrqg\",\"gkkileplkcsmkn\"],\"headerAddressList\":[{},{},{},{}]},\"lastOperation\":{\"details\":\"aedorvvmqf\"},\"provisioningState\":\"Failed\",\"internetGatewayIds\":[\"dgwumgxdgdhp\",\"bgd\",\"xjd\"],\"annotation\":\"jsaqwotmmwllcols\"},\"location\":\"xaptefhexcgjok\",\"tags\":{\"eksnbksdqhjvyk\":\"nhvlqjbekp\",\"vnwqjwgo\":\"xeslkhhustcpoqm\",\"bkjbz\":\"nlejjjkxybwf\",\"nsxfwu\":\"ensvkzykjtj\"},\"id\":\"hcdpkupnqrmgj\",\"name\":\"bpkuwxeoio\",\"type\":\"fiz\"},{\"properties\":{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"jzwfb\",\"yay\",\"mmfz\"],\"condition\":\"Or\",\"destinationAddressList\":[\"rzx\",\"dew\",\"rsxkr\",\"lbjazejww\"],\"sourceAddressList\":[\"oypsuhbrnnhj\"],\"headerAddressList\":[{},{},{},{}]},\"lastOperation\":{\"details\":\"hqkb\"},\"provisioningState\":\"Failed\",\"internetGatewayIds\":[\"ozycy\",\"iqyhgfse\",\"zlex\"],\"annotation\":\"fledynojpziu\"},\"location\":\"bzkkd\",\"tags\":{\"elpkpbafvafhlbyl\":\"qsyclj\",\"sofpltd\":\"cbevxrhyzdfw\",\"hfnrac\":\"mairrh\"},\"id\":\"npq\",\"name\":\"g\",\"type\":\"uuj\"}],\"nextLink\":\"uhd\"}") + "{\"value\":[{\"properties\":{\"ruleProperties\":{\"action\":\"Allow\",\"addressList\":[\"mknhwtbbaedor\"],\"condition\":\"And\",\"destinationAddressList\":[\"loyg\",\"dgwumgxdgdhp\",\"bgd\"],\"sourceAddressList\":[\"ddvjsaqwotmmw\",\"lcol\",\"rsxaptefh\"],\"headerAddressList\":[{},{},{},{}]},\"lastOperation\":{\"details\":\"okjljnhvlqjbekp\"},\"provisioningState\":\"Accepted\",\"internetGatewayIds\":[\"bksdqhjvyklxesl\",\"hhus\"],\"annotation\":\"poq\"},\"location\":\"vnwqjwgo\",\"tags\":{\"jbzten\":\"ejjjkxybwfdb\",\"us\":\"vkzykjtjknsxf\"},\"id\":\"cdp\",\"name\":\"upnqrmgjfb\",\"type\":\"kuwxeoiojfizfavk\"},{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"bcyaykmmfzs\",\"fwxrzxmdew\",\"rsxkr\"],\"condition\":\"Or\",\"destinationAddressList\":[\"zej\"],\"sourceAddressList\":[\"iyoypsuhbrnnhj\",\"sqwjhqkbiwetpozy\",\"yqiq\",\"hgf\"],\"headerAddressList\":[{},{}]},\"lastOperation\":{\"details\":\"e\"},\"provisioningState\":\"Canceled\",\"internetGatewayIds\":[\"e\",\"ynojpziuw\",\"bzkkd\"],\"annotation\":\"hqsycljselp\"},\"location\":\"bafvafhlbylcc\",\"tags\":{\"bmairrhvhfnracwn\":\"xrhyzdfwrsofplt\"},\"id\":\"qigtuujwouhdaws\",\"name\":\"grbjbxsjybvitvqk\",\"type\":\"y\"},{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"mtggmu\",\"dchozfnkfexl\",\"xn\",\"akizvoaikna\"],\"condition\":\"Or\",\"destinationAddressList\":[\"iguyxlykwphv\",\"zc\",\"xhmpejtlkex\"],\"sourceAddressList\":[\"wiv\",\"cqhrxhxknlccrmm\",\"yupiju\"],\"headerAddressList\":[{},{},{},{}]},\"lastOperation\":{\"details\":\"kakfqfr\"},\"provisioningState\":\"Failed\",\"internetGatewayIds\":[\"ldudxjascowv\"],\"annotation\":\"jkpdxphlkksnm\"},\"location\":\"vyfijdkzuqnw\",\"tags\":{\"ah\":\"huqol\",\"hyqezvqq\":\"uqwqulsutrjbhxyk\",\"rftb\":\"g\"},\"id\":\"ve\",\"name\":\"reuquowtljvf\",\"type\":\"hreagk\"},{\"properties\":{\"ruleProperties\":{\"action\":\"Deny\",\"addressList\":[\"rqtvbczsulmdgglm\",\"pjpfseykgs\"],\"condition\":\"Or\",\"destinationAddressList\":[\"zngafpgylkvecju\",\"cngoadyedmzrg\",\"foknubnoitp\"],\"sourceAddressList\":[\"trgdgxvc\",\"qraswugyxpqitwei\",\"l\"],\"headerAddressList\":[{},{},{}]},\"lastOperation\":{\"details\":\"uhz\"},\"provisioningState\":\"Updating\",\"internetGatewayIds\":[\"yltcoqcuj\"],\"annotation\":\"sxzakuejkm\"},\"location\":\"iztjof\",\"tags\":{\"yeji\":\"ovjufycsjmlbe\",\"rtudawlpjfel\":\"iuxegth\",\"bgqnz\":\"erppt\",\"ialwc\":\"nhii\"},\"id\":\"gckbb\",\"name\":\"ccgzpraoxnyu\",\"type\":\"fa\"}],\"nextLink\":\"gftipwc\"}") .toObject(InternetGatewayRulesListResult.class); - Assertions.assertEquals("xaptefhexcgjok", model.value().get(0).location()); - Assertions.assertEquals("nhvlqjbekp", model.value().get(0).tags().get("eksnbksdqhjvyk")); + Assertions.assertEquals("vnwqjwgo", model.value().get(0).location()); + Assertions.assertEquals("ejjjkxybwfdb", model.value().get(0).tags().get("jbzten")); Assertions.assertEquals(Action.ALLOW, model.value().get(0).ruleProperties().action()); - Assertions.assertEquals("jqvq", model.value().get(0).ruleProperties().addressList().get(0)); + Assertions.assertEquals("mknhwtbbaedor", model.value().get(0).ruleProperties().addressList().get(0)); Assertions.assertEquals(RuleCondition.AND, model.value().get(0).ruleProperties().condition()); - Assertions.assertEquals("xivzrrry", model.value().get(0).ruleProperties().destinationAddressList().get(0)); - Assertions.assertEquals("vvruxwi", model.value().get(0).ruleProperties().sourceAddressList().get(0)); - Assertions.assertEquals("jsaqwotmmwllcols", model.value().get(0).annotation()); - Assertions.assertEquals("uhd", model.nextLink()); + Assertions.assertEquals("loyg", model.value().get(0).ruleProperties().destinationAddressList().get(0)); + Assertions.assertEquals("ddvjsaqwotmmw", model.value().get(0).ruleProperties().sourceAddressList().get(0)); + Assertions.assertEquals("poq", model.value().get(0).annotation()); + Assertions.assertEquals("gftipwc", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateMockTests.java index 1ec592b1e982d..38912884cca2f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysCreateMockTests.java @@ -24,7 +24,7 @@ public final class InternetGatewaysCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"il\",\"internetGatewayRuleId\":\"abqtjchxsfwe\",\"ipv4Address\":\"eiyem\",\"port\":1262614540,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"dqqwcspfhrn\",\"lastOperation\":{\"details\":\"m\"},\"provisioningState\":\"Succeeded\"},\"location\":\"qgs\",\"tags\":{\"zqdvgnomtkgoyny\":\"q\",\"h\":\"arw\",\"iltl\":\"uzmv\"},\"id\":\"mfkctpaiwh\",\"name\":\"jw\",\"type\":\"xduwimwn\"}"; + = "{\"properties\":{\"annotation\":\"isjeovgcfhchgjon\",\"internetGatewayRuleId\":\"dibzvpdjytmeouiu\",\"ipv4Address\":\"cnqonjbbhwsfl\",\"port\":319005675,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Infrastructure\",\"networkFabricControllerId\":\"jdslpbyejsgbpjjn\",\"lastOperation\":{\"details\":\"kaknivwbddndd\"},\"provisioningState\":\"Succeeded\"},\"location\":\"c\",\"tags\":{\"lsbabqtj\":\"dirttq\"},\"id\":\"hxsfweyleiyemj\",\"name\":\"pszekdqqwcspf\",\"type\":\"rndqymloslqgs\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,24 +34,24 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); InternetGateway response = manager.internetGateways() - .define("ritjjh") - .withRegion("disjeovgc") - .withExistingResourceGroup("cleyam") - .withNetworkFabricControllerId("yx") - .withTags(mapOf("dibzvpdjytmeouiu", "hgjonr", "njbbhwsfllzy", "kcnq", "pbyejsgb", "zpjjds")) - .withAnnotation("yp") - .withInternetGatewayRuleId("ncgwpvbtkaf") + .define("gmx") + .withRegion("ipheifefznxcl") + .withExistingResourceGroup("aopqqiyjrehedche") + .withNetworkFabricControllerId("axv") + .withTags(mapOf("jjhqvypqgncg", "mvri", "ykdwyjd", "pvbtkafcnfitpuc", "baw", "yx")) + .withAnnotation("kuqbngro") + .withInternetGatewayRuleId("xsqdzyyalrx") .withTypePropertiesType(GatewayType.INFRASTRUCTURE) .withInternetGatewayType(GatewayType.INFRASTRUCTURE) .create(); - Assertions.assertEquals("qgs", response.location()); - Assertions.assertEquals("q", response.tags().get("zqdvgnomtkgoyny")); - Assertions.assertEquals("il", response.annotation()); - Assertions.assertEquals("abqtjchxsfwe", response.internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.WORKLOAD, response.typePropertiesType()); - Assertions.assertEquals(GatewayType.WORKLOAD, response.internetGatewayType()); - Assertions.assertEquals("dqqwcspfhrn", response.networkFabricControllerId()); + Assertions.assertEquals("c", response.location()); + Assertions.assertEquals("dirttq", response.tags().get("lsbabqtj")); + Assertions.assertEquals("isjeovgcfhchgjon", response.annotation()); + Assertions.assertEquals("dibzvpdjytmeouiu", response.internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.typePropertiesType()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.internetGatewayType()); + Assertions.assertEquals("jdslpbyejsgbpjjn", response.networkFabricControllerId()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupWithResponseMockTests.java index 601a9cb00c03e..e3f3443fe3627 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysGetByResourceGroupWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class InternetGatewaysGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"j\",\"internetGatewayRuleId\":\"lzq\",\"ipv4Address\":\"sriletbhlbhkijqg\",\"port\":47293470,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"qiwxeppuhkizo\",\"lastOperation\":{\"details\":\"vjyvobevfbmxzo\"},\"provisioningState\":\"Canceled\"},\"location\":\"s\",\"tags\":{\"meuyxhcwu\":\"pajiobybyilhdbb\"},\"id\":\"t\",\"name\":\"go\",\"type\":\"choji\"}"; + = "{\"properties\":{\"annotation\":\"rrxmcztrqnuahhke\",\"internetGatewayRuleId\":\"brbdujpsh\",\"ipv4Address\":\"zivrycyulwzjo\",\"port\":519817707,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Infrastructure\",\"networkFabricControllerId\":\"elesbjckyocy\",\"lastOperation\":{\"details\":\"wdmpsd\"},\"provisioningState\":\"Accepted\"},\"location\":\"ektnhyylipvqpqu\",\"tags\":{\"ruywfhltwlzlm\":\"npoa\",\"ybmkmxusm\":\"iprlcgqewmnwyhq\"},\"id\":\"papepwpbnjckow\",\"name\":\"uniu\",\"type\":\"ysvnddllbwnmvh\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,15 +32,15 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); InternetGateway response = manager.internetGateways() - .getByResourceGroupWithResponse("itiut", "ka", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("pigla", "heqjc", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("s", response.location()); - Assertions.assertEquals("pajiobybyilhdbb", response.tags().get("meuyxhcwu")); - Assertions.assertEquals("j", response.annotation()); - Assertions.assertEquals("lzq", response.internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.WORKLOAD, response.typePropertiesType()); - Assertions.assertEquals(GatewayType.WORKLOAD, response.internetGatewayType()); - Assertions.assertEquals("qiwxeppuhkizo", response.networkFabricControllerId()); + Assertions.assertEquals("ektnhyylipvqpqu", response.location()); + Assertions.assertEquals("npoa", response.tags().get("ruywfhltwlzlm")); + Assertions.assertEquals("rrxmcztrqnuahhke", response.annotation()); + Assertions.assertEquals("brbdujpsh", response.internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.typePropertiesType()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.internetGatewayType()); + Assertions.assertEquals("elesbjckyocy", response.networkFabricControllerId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupMockTests.java index 7ecaf6a470c17..a991ac2506cbd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListByResourceGroupMockTests.java @@ -23,7 +23,7 @@ public final class InternetGatewaysListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"bsbkvfk\",\"internetGatewayRuleId\":\"bbpoijs\",\"ipv4Address\":\"ru\",\"port\":697078351,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"knarscxnk\",\"lastOperation\":{\"details\":\"inzosxrs\"},\"provisioningState\":\"Canceled\"},\"location\":\"jw\",\"tags\":{\"vuxqactoqqehnqi\":\"xvezwwqchxowp\",\"lbkize\":\"rgnvuolvptv\"},\"id\":\"brwlpe\",\"name\":\"misoiq\",\"type\":\"etzgwywyxbwuam\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"sdouzohihqlwy\",\"internetGatewayRuleId\":\"xeqtltlmczcxoua\",\"ipv4Address\":\"uepgqztakovs\",\"port\":621709182,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Infrastructure\",\"networkFabricControllerId\":\"t\",\"lastOperation\":{\"details\":\"tucmiqsdsn\"},\"provisioningState\":\"Updating\"},\"location\":\"sqitiuttkasxjkcl\",\"tags\":{\"letb\":\"asr\",\"gcvqewx\":\"lbhkij\",\"kzvjyvobevfbmxz\":\"qiwxeppuhkizo\",\"ilhdbbxm\":\"bpghsrlkpajiobyb\"},\"id\":\"uyxhcwubtego\",\"name\":\"choji\",\"type\":\"laqqfrgiplxr\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,14 +33,14 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.internetGateways().listByResourceGroup("laqqfrgiplxr", com.azure.core.util.Context.NONE); + = manager.internetGateways().listByResourceGroup("zypmmyr", com.azure.core.util.Context.NONE); - Assertions.assertEquals("jw", response.iterator().next().location()); - Assertions.assertEquals("xvezwwqchxowp", response.iterator().next().tags().get("vuxqactoqqehnqi")); - Assertions.assertEquals("bsbkvfk", response.iterator().next().annotation()); - Assertions.assertEquals("bbpoijs", response.iterator().next().internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.WORKLOAD, response.iterator().next().typePropertiesType()); - Assertions.assertEquals(GatewayType.WORKLOAD, response.iterator().next().internetGatewayType()); - Assertions.assertEquals("knarscxnk", response.iterator().next().networkFabricControllerId()); + Assertions.assertEquals("sqitiuttkasxjkcl", response.iterator().next().location()); + Assertions.assertEquals("asr", response.iterator().next().tags().get("letb")); + Assertions.assertEquals("sdouzohihqlwy", response.iterator().next().annotation()); + Assertions.assertEquals("xeqtltlmczcxoua", response.iterator().next().internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.iterator().next().typePropertiesType()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.iterator().next().internetGatewayType()); + Assertions.assertEquals("t", response.iterator().next().networkFabricControllerId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListMockTests.java index 7617b8c8cf6c2..b3316443c52c5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListMockTests.java @@ -23,7 +23,7 @@ public final class InternetGatewaysListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"opqqiyjrehe\",\"internetGatewayRuleId\":\"h\",\"ipv4Address\":\"gmx\",\"port\":2009136030,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"gro\",\"lastOperation\":{\"details\":\"sqdzyy\"},\"provisioningState\":\"Succeeded\"},\"location\":\"tgqpqfwuplfjkb\",\"tags\":{\"ta\":\"useimuipg\"},\"id\":\"xbfhb\",\"name\":\"pldzipheife\",\"type\":\"zn\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"bsbkvfk\",\"internetGatewayRuleId\":\"bbpoijs\",\"ipv4Address\":\"ru\",\"port\":697078351,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"knarscxnk\",\"lastOperation\":{\"details\":\"inzosxrs\"},\"provisioningState\":\"Canceled\"},\"location\":\"jw\",\"tags\":{\"vuxqactoqqehnqi\":\"xvezwwqchxowp\",\"lbkize\":\"rgnvuolvptv\"},\"id\":\"brwlpe\",\"name\":\"misoiq\",\"type\":\"etzgwywyxbwuam\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,12 +34,12 @@ public void testList() throws Exception { PagedIterable response = manager.internetGateways().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("tgqpqfwuplfjkb", response.iterator().next().location()); - Assertions.assertEquals("useimuipg", response.iterator().next().tags().get("ta")); - Assertions.assertEquals("opqqiyjrehe", response.iterator().next().annotation()); - Assertions.assertEquals("h", response.iterator().next().internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.INFRASTRUCTURE, response.iterator().next().typePropertiesType()); + Assertions.assertEquals("jw", response.iterator().next().location()); + Assertions.assertEquals("xvezwwqchxowp", response.iterator().next().tags().get("vuxqactoqqehnqi")); + Assertions.assertEquals("bsbkvfk", response.iterator().next().annotation()); + Assertions.assertEquals("bbpoijs", response.iterator().next().internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.WORKLOAD, response.iterator().next().typePropertiesType()); Assertions.assertEquals(GatewayType.WORKLOAD, response.iterator().next().internetGatewayType()); - Assertions.assertEquals("gro", response.iterator().next().networkFabricControllerId()); + Assertions.assertEquals("knarscxnk", response.iterator().next().networkFabricControllerId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListResultTests.java index 8a35f0947248c..33835ef16ce58 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/InternetGatewaysListResultTests.java @@ -13,15 +13,15 @@ public final class InternetGatewaysListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { InternetGatewaysListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"cngoadyedmzrg\",\"internetGatewayRuleId\":\"oknub\",\"ipv4Address\":\"itpkpztrgdg\",\"port\":1339773074,\"type\":\"Workload\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"sw\",\"lastOperation\":{\"details\":\"xpqitweialwvs\"},\"provisioningState\":\"Canceled\"},\"location\":\"z\",\"tags\":{\"sxzakuejkm\":\"qtyltcoqcujp\"},\"id\":\"bizt\",\"name\":\"ofqcvovjufycsjm\",\"type\":\"bemyeji\"},{\"properties\":{\"annotation\":\"uxegthortudawlpj\",\"internetGatewayRuleId\":\"lqerpptcbgqnzm\",\"ipv4Address\":\"iilialwc\",\"port\":1452234120,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Infrastructure\",\"networkFabricControllerId\":\"ccgzpraoxnyu\",\"lastOperation\":{\"details\":\"tsgftipwcxbyubh\"},\"provisioningState\":\"Failed\"},\"location\":\"yurnpnuhzafc\",\"tags\":{\"bui\":\"hiigby\",\"vcrk\":\"vxva\"},\"id\":\"lbnb\",\"name\":\"xvhcs\",\"type\":\"hzlwxaea\"}],\"nextLink\":\"ur\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"wbormcqmi\",\"internetGatewayRuleId\":\"ijqpkzfbojxjmcs\",\"ipv4Address\":\"qwixvcpwnk\",\"port\":1321154301,\"type\":\"Infrastructure\",\"internetGatewayType\":\"Workload\",\"networkFabricControllerId\":\"alickduoi\",\"lastOperation\":{\"details\":\"mt\"},\"provisioningState\":\"Succeeded\"},\"location\":\"nxrwzawnvs\",\"tags\":{\"zregzgyufutrwpw\":\"hzagxnvhycvdimw\",\"meottawj\":\"ryekzkd\"},\"id\":\"osxw\",\"name\":\"hnhjtfvpndpmi\",\"type\":\"jpnwynudql\"}],\"nextLink\":\"sauzpjlx\"}") .toObject(InternetGatewaysListResult.class); - Assertions.assertEquals("z", model.value().get(0).location()); - Assertions.assertEquals("qtyltcoqcujp", model.value().get(0).tags().get("sxzakuejkm")); - Assertions.assertEquals("cngoadyedmzrg", model.value().get(0).annotation()); - Assertions.assertEquals("oknub", model.value().get(0).internetGatewayRuleId()); - Assertions.assertEquals(GatewayType.WORKLOAD, model.value().get(0).typePropertiesType()); + Assertions.assertEquals("nxrwzawnvs", model.value().get(0).location()); + Assertions.assertEquals("hzagxnvhycvdimw", model.value().get(0).tags().get("zregzgyufutrwpw")); + Assertions.assertEquals("wbormcqmi", model.value().get(0).annotation()); + Assertions.assertEquals("ijqpkzfbojxjmcs", model.value().get(0).internetGatewayRuleId()); + Assertions.assertEquals(GatewayType.INFRASTRUCTURE, model.value().get(0).typePropertiesType()); Assertions.assertEquals(GatewayType.WORKLOAD, model.value().get(0).internetGatewayType()); - Assertions.assertEquals("sw", model.value().get(0).networkFabricControllerId()); - Assertions.assertEquals("ur", model.nextLink()); + Assertions.assertEquals("alickduoi", model.value().get(0).networkFabricControllerId()); + Assertions.assertEquals("sauzpjlx", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateMockTests.java index 4aaa7bbd069ef..db50687ea7de3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesCreateMockTests.java @@ -27,7 +27,7 @@ public final class IpCommunitiesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"lhefq\",\"networkFabricId\":\"rnxtpzdgyi\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":7586023866821824856,\"wellKnownCommunities\":[\"NoExport\",\"NoExport\",\"GShut\"],\"communityMembers\":[\"xoucs\"]},{\"action\":\"Deny\",\"sequenceNumber\":5299077949522645246,\"wellKnownCommunities\":[\"Internet\",\"NoExport\"],\"communityMembers\":[\"iahokeacmadyo\"]}],\"lastOperation\":{\"details\":\"dauo\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"location\":\"tntoet\",\"tags\":{\"f\":\"gdgbzftsbpef\",\"ogpbogpbwe\":\"gthcdbzoxho\"},\"id\":\"oxlzrijpkbrvm\",\"name\":\"up\",\"type\":\"krqeqjtzaw\"}"; + = "{\"properties\":{\"annotation\":\"lhefq\",\"networkFabricId\":\"rnxtpzdgyi\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":7586023866821824856,\"wellKnownCommunities\":[\"NoExport\",\"NoExport\",\"GShut\"],\"communityMembers\":[\"xoucs\"]},{\"action\":\"Deny\",\"sequenceNumber\":5299077949522645246,\"wellKnownCommunities\":[\"Internet\",\"NoExport\"],\"communityMembers\":[\"iahokeacmadyo\"]}],\"lastOperation\":{\"details\":\"dauo\"},\"configurationState\":\"CommitRollbackFailed\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"location\":\"tntoet\",\"tags\":{\"f\":\"gdgbzftsbpef\",\"ogpbogpbwe\":\"gthcdbzoxho\"},\"id\":\"oxlzrijpkbrvm\",\"name\":\"up\",\"type\":\"krqeqjtzaw\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupWithResponseMockTests.java index af8f69fd63ae3..54af6d9651395 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesGetByResourceGroupWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class IpCommunitiesGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"jtk\",\"networkFabricId\":\"myjdbcknsojtmpd\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":5843239366804985563,\"wellKnownCommunities\":[\"LocalAS\"],\"communityMembers\":[\"va\",\"tkcen\"]},{\"action\":\"Permit\",\"sequenceNumber\":1341916419942847465,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"nppxxeysqe\",\"fwugo\",\"ys\",\"munvzmvnbcklssx\"]}],\"lastOperation\":{\"details\":\"svfsuk\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"RMA\"},\"location\":\"kpnne\",\"tags\":{\"or\":\"ez\"},\"id\":\"zwk\",\"name\":\"ohjx\",\"type\":\"cmmvuamorhkn\"}"; + = "{\"properties\":{\"annotation\":\"wphbuzmvjil\",\"networkFabricId\":\"bmfkctpa\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":6424741102070043711,\"wellKnownCommunities\":[\"NoAdvertise\",\"NoAdvertise\",\"NoAdvertise\",\"NoAdvertise\"],\"communityMembers\":[\"mwnuvjdywpfxi\",\"jfk\",\"njtksw\",\"yjdbc\"]}],\"lastOperation\":{\"details\":\"ojtmpdkcbpk\"},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"kcendwgus\",\"tags\":{\"fwugo\":\"nppxxeysqe\",\"munvzmvnbcklssx\":\"ys\",\"vfsukpkieal\":\"uk\",\"or\":\"ckpnnenrcez\"},\"id\":\"zwk\",\"name\":\"ohjx\",\"type\":\"cmmvuamorhkn\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,16 +33,16 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); IpCommunity response = manager.ipCommunities() - .getByResourceGroupWithResponse("vjdywpfxi", "jfk", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("qnqqzqdvg", "omtkgoynya", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("kpnne", response.location()); - Assertions.assertEquals("ez", response.tags().get("or")); - Assertions.assertEquals("jtk", response.annotation()); + Assertions.assertEquals("kcendwgus", response.location()); + Assertions.assertEquals("nppxxeysqe", response.tags().get("fwugo")); + Assertions.assertEquals("wphbuzmvjil", response.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, response.ipCommunityRules().get(0).action()); - Assertions.assertEquals(5843239366804985563L, response.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.LOCAL_AS, + Assertions.assertEquals(6424741102070043711L, response.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, response.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("va", response.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("mwnuvjdywpfxi", response.ipCommunityRules().get(0).communityMembers().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupMockTests.java index 5f23116da0389..3d713e697638a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListByResourceGroupMockTests.java @@ -24,7 +24,7 @@ public final class IpCommunitiesListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"ijpbychcwhlhdz\",\"networkFabricId\":\"rlfcmeyxypx\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5666178434728554722,\"wellKnownCommunities\":[\"Internet\",\"NoAdvertise\",\"GShut\"],\"communityMembers\":[\"vetpdezebvtkg\"]}],\"lastOperation\":{\"details\":\"adfh\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"xuounzzckogcva\",\"tags\":{\"dw\":\"ovnyoftsodi\",\"zqd\":\"lkuamxhojtnqeony\",\"mkztwzlw\":\"v\",\"pfe\":\"llhm\"},\"id\":\"rfuzedud\",\"name\":\"tgdvwatfvjvum\",\"type\":\"mbcflhycluounv\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"ijpbychcwhlhdz\",\"networkFabricId\":\"rlfcmeyxypx\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5666178434728554722,\"wellKnownCommunities\":[\"Internet\",\"NoAdvertise\",\"GShut\"],\"communityMembers\":[\"vetpdezebvtkg\"]}],\"lastOperation\":{\"details\":\"adfh\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"xuounzzckogcva\",\"tags\":{\"dw\":\"ovnyoftsodi\",\"zqd\":\"lkuamxhojtnqeony\",\"mkztwzlw\":\"v\",\"pfe\":\"llhm\"},\"id\":\"rfuzedud\",\"name\":\"tgdvwatfvjvum\",\"type\":\"mbcflhycluounv\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListMockTests.java index fa7b0716b2146..6c814acb9681e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListMockTests.java @@ -24,7 +24,7 @@ public final class IpCommunitiesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"v\",\"networkFabricId\":\"oazarivczez\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5419507834765947909,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"ddbdhgvjhoezjik\",\"suxrsoxtxuu\"]},{\"action\":\"Deny\",\"sequenceNumber\":6138323203053091943,\"wellKnownCommunities\":[\"LocalAS\",\"LocalAS\"],\"communityMembers\":[\"wvuw\",\"bzcmpbymsgcl\",\"smrgjfy\"]},{\"action\":\"Deny\",\"sequenceNumber\":3312349306270397191,\"wellKnownCommunities\":[\"Internet\",\"GShut\"],\"communityMembers\":[\"hs\",\"qiumktslmeyonc\"]}],\"lastOperation\":{\"details\":\"vmawxrgwt\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\"},\"location\":\"ihwwkhiyubykxzcv\",\"tags\":{\"olqqpa\":\"yihpsrjzpvojwjan\",\"kzdnotgyowis\":\"zpzmojupqlus\",\"zbceimsco\":\"fifmitqvypkiqlou\"},\"id\":\"ynaehllwqm\",\"name\":\"aihescjvzlgcliaj\",\"type\":\"wxvihyi\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"v\",\"networkFabricId\":\"oazarivczez\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5419507834765947909,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"ddbdhgvjhoezjik\",\"suxrsoxtxuu\"]},{\"action\":\"Deny\",\"sequenceNumber\":6138323203053091943,\"wellKnownCommunities\":[\"LocalAS\",\"LocalAS\"],\"communityMembers\":[\"wvuw\",\"bzcmpbymsgcl\",\"smrgjfy\"]},{\"action\":\"Deny\",\"sequenceNumber\":3312349306270397191,\"wellKnownCommunities\":[\"Internet\",\"GShut\"],\"communityMembers\":[\"hs\",\"qiumktslmeyonc\"]}],\"lastOperation\":{\"details\":\"vmawxrgwt\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\"},\"location\":\"ihwwkhiyubykxzcv\",\"tags\":{\"olqqpa\":\"yihpsrjzpvojwjan\",\"kzdnotgyowis\":\"zpzmojupqlus\",\"zbceimsco\":\"fifmitqvypkiqlou\"},\"id\":\"ynaehllwqm\",\"name\":\"aihescjvzlgcliaj\",\"type\":\"wxvihyi\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListResultTests.java index d62937cc0a789..be3c1a00644e8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunitiesListResultTests.java @@ -14,16 +14,16 @@ public final class IpCommunitiesListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunitiesListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"qumoeno\",\"networkFabricId\":\"aienhqhsknd\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":718676955727293096,\"wellKnownCommunities\":[\"LocalAS\",\"NoAdvertise\",\"GShut\"],\"communityMembers\":[\"wf\"]},{\"action\":\"Deny\",\"sequenceNumber\":1577811503950676558,\"wellKnownCommunities\":[\"NoAdvertise\",\"GShut\",\"NoAdvertise\"],\"communityMembers\":[\"xivcnrlyxnu\"]},{\"action\":\"Permit\",\"sequenceNumber\":7723827571808099593,\"wellKnownCommunities\":[\"Internet\",\"LocalAS\",\"LocalAS\"],\"communityMembers\":[\"pat\"]}],\"lastOperation\":{\"details\":\"sdtcjbctvivuzqym\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Failed\",\"administrativeState\":\"MAT\"},\"location\":\"it\",\"tags\":{\"mxeatkdbmwnrdjy\":\"zvbrzcdbanfzndsc\"},\"id\":\"bqbnaomhjrmkuh\",\"name\":\"axljal\",\"type\":\"i\"},{\"properties\":{\"annotation\":\"jmobca\",\"networkFabricId\":\"de\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":2348526307879631032,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"gvaknokzwjjzrl\",\"ixldzyyfy\",\"pqsixymmp\"]},{\"action\":\"Deny\",\"sequenceNumber\":7630612268508981016,\"wellKnownCommunities\":[\"LocalAS\",\"NoExport\"],\"communityMembers\":[\"uvsmbms\",\"zoyovwzdbpq\",\"ybe\",\"gvmxnok\"]}],\"lastOperation\":{\"details\":\"lubses\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"hunlpirykycnd\",\"tags\":{\"bmnwa\":\"ivjreuyk\"},\"id\":\"ltbxoeeonqlnfw\",\"name\":\"y\",\"type\":\"mvqdbpbhfckdvez\"}],\"nextLink\":\"cssbzhddu\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"teyxeyguq\",\"networkFabricId\":\"ijiitns\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":7459709007018933203,\"wellKnownCommunities\":[\"NoExport\",\"NoExport\"],\"communityMembers\":[\"ijwai\",\"fanraybfu\"]},{\"action\":\"Deny\",\"sequenceNumber\":62185905537223135,\"wellKnownCommunities\":[\"NoAdvertise\",\"Internet\",\"GShut\",\"NoExport\"],\"communityMembers\":[\"h\",\"dkygywezski\",\"ca\"]},{\"action\":\"Deny\",\"sequenceNumber\":8417146566901983849,\"wellKnownCommunities\":[\"NoExport\",\"LocalAS\"],\"communityMembers\":[\"vdsmaklixq\"]},{\"action\":\"Permit\",\"sequenceNumber\":5555373368038300415,\"wellKnownCommunities\":[\"NoAdvertise\",\"LocalAS\",\"NoExport\",\"GShut\"],\"communityMembers\":[\"awoijp\",\"dtblxpk\",\"wjdjodqhykin\",\"n\"]}],\"lastOperation\":{\"details\":\"ehllizhceum\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"pyi\",\"tags\":{\"vadswzs\":\"qladywrxwhydtlu\",\"owuowh\":\"uyem\",\"zkltrfowtdvrfmv\":\"xlnwyrmouvblgmo\",\"vjdrqcrjidhftuk\":\"ih\"},\"id\":\"hdxlw\",\"name\":\"ojbf\",\"type\":\"zd\"}],\"nextLink\":\"njyixh\"}") .toObject(IpCommunitiesListResult.class); - Assertions.assertEquals("it", model.value().get(0).location()); - Assertions.assertEquals("zvbrzcdbanfzndsc", model.value().get(0).tags().get("mxeatkdbmwnrdjy")); - Assertions.assertEquals("qumoeno", model.value().get(0).annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.value().get(0).ipCommunityRules().get(0).action()); - Assertions.assertEquals(718676955727293096L, model.value().get(0).ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.LOCAL_AS, + Assertions.assertEquals("pyi", model.value().get(0).location()); + Assertions.assertEquals("qladywrxwhydtlu", model.value().get(0).tags().get("vadswzs")); + Assertions.assertEquals("teyxeyguq", model.value().get(0).annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.value().get(0).ipCommunityRules().get(0).action()); + Assertions.assertEquals(7459709007018933203L, model.value().get(0).ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.NO_EXPORT, model.value().get(0).ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("wf", model.value().get(0).ipCommunityRules().get(0).communityMembers().get(0)); - Assertions.assertEquals("cssbzhddu", model.nextLink()); + Assertions.assertEquals("ijwai", model.value().get(0).ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("njyixh", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityIdListTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityIdListTests.java index d7fb8c8ab7272..61a048091e5bf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityIdListTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityIdListTests.java @@ -13,16 +13,14 @@ public final class IpCommunityIdListTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunityIdList model - = BinaryData.fromString("{\"ipCommunityIds\":[\"mqonxvnmcyze\",\"uvwa\",\"esswbrnbox\",\"shkmqfvbks\"]}") - .toObject(IpCommunityIdList.class); - Assertions.assertEquals("mqonxvnmcyze", model.ipCommunityIds().get(0)); + = BinaryData.fromString("{\"ipCommunityIds\":[\"xiz\",\"hmbuz\"]}").toObject(IpCommunityIdList.class); + Assertions.assertEquals("xiz", model.ipCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpCommunityIdList model = new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("mqonxvnmcyze", "uvwa", "esswbrnbox", "shkmqfvbks")); + IpCommunityIdList model = new IpCommunityIdList().withIpCommunityIds(Arrays.asList("xiz", "hmbuz")); model = BinaryData.fromObject(model).toObject(IpCommunityIdList.class); - Assertions.assertEquals("mqonxvnmcyze", model.ipCommunityIds().get(0)); + Assertions.assertEquals("xiz", model.ipCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityInnerTests.java index 89237f12b705b..f4a7b51d4d6eb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityInnerTests.java @@ -18,37 +18,53 @@ public final class IpCommunityInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunityInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"dndsbdweade\",\"networkFabricId\":\"mwntopagttmvmma\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":2211985521883674757,\"wellKnownCommunities\":[\"NoAdvertise\",\"NoExport\",\"Internet\",\"Internet\"],\"communityMembers\":[\"uazjcgmxitpfinz\"]}],\"lastOperation\":{\"details\":\"ltkrl\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"cqguef\",\"tags\":{\"lyujlfyoump\":\"mpheqdur\",\"brzmqxucycijoclx\":\"kyeclcdigpta\",\"zjd\":\"utgjcyz\"},\"id\":\"r\",\"name\":\"jb\",\"type\":\"xjeaoqaqbzgyh\"}") + "{\"properties\":{\"annotation\":\"huxiqhzlraymez\",\"networkFabricId\":\"skihmxrfd\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":5570655143429039158,\"wellKnownCommunities\":[\"NoExport\"],\"communityMembers\":[\"yshtuwgmev\",\"afpwzyifrkgwl\",\"xeqipx\",\"zdyi\"]},{\"action\":\"Deny\",\"sequenceNumber\":7392314179384433223,\"wellKnownCommunities\":[\"Internet\",\"LocalAS\",\"GShut\"],\"communityMembers\":[\"vk\",\"oge\"]},{\"action\":\"Deny\",\"sequenceNumber\":6167470257711307812,\"wellKnownCommunities\":[\"NoExport\",\"LocalAS\",\"NoAdvertise\",\"NoAdvertise\"],\"communityMembers\":[\"nqxaekqsyk\"]},{\"action\":\"Permit\",\"sequenceNumber\":8788284224046778038,\"wellKnownCommunities\":[\"NoExport\",\"NoExport\"],\"communityMembers\":[\"myltj\",\"rspxklur\",\"clf\"]}],\"lastOperation\":{\"details\":\"nnnoytz\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Updating\",\"administrativeState\":\"RMA\"},\"location\":\"pxvkqma\",\"tags\":{\"aifyzyzeyuubeids\":\"vpifd\",\"ytoithgygvfl\":\"l\"},\"id\":\"gvdihoynkrxwetwk\",\"name\":\"rcyrucpcunnu\",\"type\":\"dqumoenodnai\"}") .toObject(IpCommunityInner.class); - Assertions.assertEquals("cqguef", model.location()); - Assertions.assertEquals("mpheqdur", model.tags().get("lyujlfyoump")); - Assertions.assertEquals("dndsbdweade", model.annotation()); + Assertions.assertEquals("pxvkqma", model.location()); + Assertions.assertEquals("vpifd", model.tags().get("aifyzyzeyuubeids")); + Assertions.assertEquals("huxiqhzlraymez", model.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(2211985521883674757L, model.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, + Assertions.assertEquals(5570655143429039158L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.NO_EXPORT, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("uazjcgmxitpfinz", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("yshtuwgmev", model.ipCommunityRules().get(0).communityMembers().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpCommunityInner model = new IpCommunityInner().withLocation("cqguef") - .withTags(mapOf("lyujlfyoump", "mpheqdur", "brzmqxucycijoclx", "kyeclcdigpta", "zjd", "utgjcyz")) - .withAnnotation("dndsbdweade") - .withIpCommunityRules(Arrays.asList(new IpCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(2211985521883674757L) - .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_ADVERTISE, - WellKnownCommunities.NO_EXPORT, WellKnownCommunities.INTERNET, WellKnownCommunities.INTERNET)) - .withCommunityMembers(Arrays.asList("uazjcgmxitpfinz")))); + IpCommunityInner model = new IpCommunityInner().withLocation("pxvkqma") + .withTags(mapOf("aifyzyzeyuubeids", "vpifd", "ytoithgygvfl", "l")) + .withAnnotation("huxiqhzlraymez") + .withIpCommunityRules(Arrays.asList( + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(5570655143429039158L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_EXPORT)) + .withCommunityMembers(Arrays.asList("yshtuwgmev", "afpwzyifrkgwl", "xeqipx", "zdyi")), + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(7392314179384433223L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.INTERNET, + WellKnownCommunities.LOCAL_AS, WellKnownCommunities.GSHUT)) + .withCommunityMembers(Arrays.asList("vk", "oge")), + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(6167470257711307812L) + .withWellKnownCommunities( + Arrays.asList(WellKnownCommunities.NO_EXPORT, WellKnownCommunities.LOCAL_AS, + WellKnownCommunities.NO_ADVERTISE, WellKnownCommunities.NO_ADVERTISE)) + .withCommunityMembers(Arrays.asList("nqxaekqsyk")), + new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(8788284224046778038L) + .withWellKnownCommunities( + Arrays.asList(WellKnownCommunities.NO_EXPORT, WellKnownCommunities.NO_EXPORT)) + .withCommunityMembers(Arrays.asList("myltj", "rspxklur", "clf")))); model = BinaryData.fromObject(model).toObject(IpCommunityInner.class); - Assertions.assertEquals("cqguef", model.location()); - Assertions.assertEquals("mpheqdur", model.tags().get("lyujlfyoump")); - Assertions.assertEquals("dndsbdweade", model.annotation()); + Assertions.assertEquals("pxvkqma", model.location()); + Assertions.assertEquals("vpifd", model.tags().get("aifyzyzeyuubeids")); + Assertions.assertEquals("huxiqhzlraymez", model.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(2211985521883674757L, model.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, + Assertions.assertEquals(5570655143429039158L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.NO_EXPORT, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("uazjcgmxitpfinz", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("yshtuwgmev", model.ipCommunityRules().get(0).communityMembers().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchTests.java index 912803b4f833e..ca57bf1b2dcb0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchTests.java @@ -18,50 +18,47 @@ public final class IpCommunityPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunityPatch model = BinaryData.fromString( - "{\"properties\":{\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5137821243095219898,\"wellKnownCommunities\":[\"LocalAS\",\"NoAdvertise\"],\"communityMembers\":[\"ljpnwynudqll\"]},{\"action\":\"Permit\",\"sequenceNumber\":8052220666513208080,\"wellKnownCommunities\":[\"GShut\",\"NoAdvertise\",\"NoAdvertise\",\"Internet\"],\"communityMembers\":[\"huxiqhzlraymez\",\"lskihmxrfdsajred\",\"wyyshtuwgm\",\"vuafpwzyifr\"]},{\"action\":\"Deny\",\"sequenceNumber\":9085455575056076824,\"wellKnownCommunities\":[\"NoExport\",\"LocalAS\"],\"communityMembers\":[\"pxgzdyimsfayor\",\"r\"]},{\"action\":\"Permit\",\"sequenceNumber\":1531468196728241369,\"wellKnownCommunities\":[\"LocalAS\",\"LocalAS\",\"LocalAS\"],\"communityMembers\":[\"bnsmjkwynqxaek\",\"sykvwjtqpke\"]}]},\"tags\":{\"urcclfgxannn\":\"ltjcrspxk\",\"ewxigpxvk\":\"ytzpo\",\"dfaifyzyzeyuube\":\"maupxvpi\"}}") + "{\"properties\":{\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3630267078653848346,\"wellKnownCommunities\":[\"Internet\",\"GShut\",\"Internet\"],\"communityMembers\":[\"oyovwz\",\"bpqvybefg\",\"mx\"]},{\"action\":\"Deny\",\"sequenceNumber\":5099291438206769769,\"wellKnownCommunities\":[\"LocalAS\"],\"communityMembers\":[\"bse\",\"kvcuartrhunl\",\"iryky\",\"ndzfqivjreuyk\"]},{\"action\":\"Permit\",\"sequenceNumber\":3180665820582743281,\"wellKnownCommunities\":[\"LocalAS\"],\"communityMembers\":[\"tbxoee\",\"nqlnfwmyymvqd\",\"pb\",\"fckdvez\"]},{\"action\":\"Deny\",\"sequenceNumber\":218516695774775441,\"wellKnownCommunities\":[\"NoExport\",\"NoExport\"],\"communityMembers\":[\"dubbnqfblhkale\",\"pavawugiqjtio\",\"qgdm\",\"nictteajo\"]}]},\"tags\":{\"tp\":\"gspnbonhpczykm\",\"mqyjgy\":\"wxqcsehchkhufmpq\",\"saeuzanhsfnhsenw\":\"zulo\",\"lidftujwjj\":\"hpzfngqj\"}}") .toObject(IpCommunityPatch.class); - Assertions.assertEquals("ltjcrspxk", model.tags().get("urcclfgxannn")); + Assertions.assertEquals("gspnbonhpczykm", model.tags().get("tp")); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(5137821243095219898L, model.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.LOCAL_AS, + Assertions.assertEquals(3630267078653848346L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.INTERNET, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("ljpnwynudqll", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("oyovwz", model.ipCommunityRules().get(0).communityMembers().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { IpCommunityPatch model = new IpCommunityPatch() - .withTags(mapOf("urcclfgxannn", "ltjcrspxk", "ewxigpxvk", "ytzpo", "dfaifyzyzeyuube", "maupxvpi")) + .withTags(mapOf("tp", "gspnbonhpczykm", "mqyjgy", "wxqcsehchkhufmpq", "saeuzanhsfnhsenw", "zulo", + "lidftujwjj", "hpzfngqj")) .withIpCommunityRules(Arrays.asList( new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(5137821243095219898L) - .withWellKnownCommunities( - Arrays.asList(WellKnownCommunities.LOCAL_AS, WellKnownCommunities.NO_ADVERTISE)) - .withCommunityMembers(Arrays.asList("ljpnwynudqll")), + .withSequenceNumber(3630267078653848346L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.INTERNET, WellKnownCommunities.GSHUT, + WellKnownCommunities.INTERNET)) + .withCommunityMembers(Arrays.asList("oyovwz", "bpqvybefg", "mx")), + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(5099291438206769769L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.LOCAL_AS)) + .withCommunityMembers(Arrays.asList("bse", "kvcuartrhunl", "iryky", "ndzfqivjreuyk")), new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(8052220666513208080L) - .withWellKnownCommunities( - Arrays.asList(WellKnownCommunities.GSHUT, WellKnownCommunities.NO_ADVERTISE, - WellKnownCommunities.NO_ADVERTISE, WellKnownCommunities.INTERNET)) - .withCommunityMembers( - Arrays.asList("huxiqhzlraymez", "lskihmxrfdsajred", "wyyshtuwgm", "vuafpwzyifr")), + .withSequenceNumber(3180665820582743281L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.LOCAL_AS)) + .withCommunityMembers(Arrays.asList("tbxoee", "nqlnfwmyymvqd", "pb", "fckdvez")), new IpCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(9085455575056076824L) + .withSequenceNumber(218516695774775441L) .withWellKnownCommunities( - Arrays.asList(WellKnownCommunities.NO_EXPORT, WellKnownCommunities.LOCAL_AS)) - .withCommunityMembers(Arrays.asList("pxgzdyimsfayor", "r")), - new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(1531468196728241369L) - .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.LOCAL_AS, - WellKnownCommunities.LOCAL_AS, WellKnownCommunities.LOCAL_AS)) - .withCommunityMembers(Arrays.asList("bnsmjkwynqxaek", "sykvwjtqpke")))); + Arrays.asList(WellKnownCommunities.NO_EXPORT, WellKnownCommunities.NO_EXPORT)) + .withCommunityMembers(Arrays.asList("dubbnqfblhkale", "pavawugiqjtio", "qgdm", "nictteajo")))); model = BinaryData.fromObject(model).toObject(IpCommunityPatch.class); - Assertions.assertEquals("ltjcrspxk", model.tags().get("urcclfgxannn")); + Assertions.assertEquals("gspnbonhpczykm", model.tags().get("tp")); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(5137821243095219898L, model.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.LOCAL_AS, + Assertions.assertEquals(3630267078653848346L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.INTERNET, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("ljpnwynudqll", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("oyovwz", model.ipCommunityRules().get(0).communityMembers().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchablePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchablePropertiesTests.java index adb273353f185..e9f5cbbbde30e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchablePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPatchablePropertiesTests.java @@ -16,31 +16,36 @@ public final class IpCommunityPatchablePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunityPatchableProperties model = BinaryData.fromString( - "{\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":271327439098936771,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"thgygvfltgvdi\"]},{\"action\":\"Deny\",\"sequenceNumber\":190205408839754865,\"wellKnownCommunities\":[\"LocalAS\"],\"communityMembers\":[\"etwkdrcyrucpc\",\"nn\"]}]}") + "{\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":3182736841202603764,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"rhtssr\",\"qnmdvhazcvjy\"]},{\"action\":\"Permit\",\"sequenceNumber\":1304349903472369225,\"wellKnownCommunities\":[\"GShut\",\"NoAdvertise\"],\"communityMembers\":[\"zwxiytx\"]},{\"action\":\"Deny\",\"sequenceNumber\":189171711172436177,\"wellKnownCommunities\":[\"NoAdvertise\",\"LocalAS\",\"Internet\",\"GShut\"],\"communityMembers\":[\"gdstyouam\",\"ewres\",\"moweg\"]}]}") .toObject(IpCommunityPatchableProperties.class); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(271327439098936771L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.ipCommunityRules().get(0).action()); + Assertions.assertEquals(3182736841202603764L, model.ipCommunityRules().get(0).sequenceNumber()); Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("thgygvfltgvdi", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("rhtssr", model.ipCommunityRules().get(0).communityMembers().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { IpCommunityPatchableProperties model = new IpCommunityPatchableProperties().withIpCommunityRules(Arrays.asList( - new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(271327439098936771L) + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(3182736841202603764L) .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_ADVERTISE)) - .withCommunityMembers(Arrays.asList("thgygvfltgvdi")), + .withCommunityMembers(Arrays.asList("rhtssr", "qnmdvhazcvjy")), + new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(1304349903472369225L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.GSHUT, WellKnownCommunities.NO_ADVERTISE)) + .withCommunityMembers(Arrays.asList("zwxiytx")), new IpCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(190205408839754865L) - .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.LOCAL_AS)) - .withCommunityMembers(Arrays.asList("etwkdrcyrucpc", "nn")))); + .withSequenceNumber(189171711172436177L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_ADVERTISE, + WellKnownCommunities.LOCAL_AS, WellKnownCommunities.INTERNET, WellKnownCommunities.GSHUT)) + .withCommunityMembers(Arrays.asList("gdstyouam", "ewres", "moweg")))); model = BinaryData.fromObject(model).toObject(IpCommunityPatchableProperties.class); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(271327439098936771L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.ipCommunityRules().get(0).action()); + Assertions.assertEquals(3182736841202603764L, model.ipCommunityRules().get(0).sequenceNumber()); Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("thgygvfltgvdi", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("rhtssr", model.ipCommunityRules().get(0).communityMembers().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPropertiesTests.java index 48a2d428b4df1..21a74a7cdd672 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityPropertiesTests.java @@ -16,45 +16,43 @@ public final class IpCommunityPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunityProperties model = BinaryData.fromString( - "{\"annotation\":\"wvua\",\"networkFabricId\":\"wbqamteuliy\",\"ipCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":6587094493738850881,\"wellKnownCommunities\":[\"Internet\"],\"communityMembers\":[\"auxxepmyw\"]},{\"action\":\"Permit\",\"sequenceNumber\":6860341300408282511,\"wellKnownCommunities\":[\"NoAdvertise\",\"NoExport\",\"LocalAS\"],\"communityMembers\":[\"ijqpkzfbojxjmcs\"]},{\"action\":\"Deny\",\"sequenceNumber\":2240819145094168645,\"wellKnownCommunities\":[\"NoAdvertise\"],\"communityMembers\":[\"pwnkwywzwo\"]},{\"action\":\"Deny\",\"sequenceNumber\":8736317778676807202,\"wellKnownCommunities\":[\"LocalAS\",\"NoAdvertise\",\"NoAdvertise\",\"NoExport\"],\"communityMembers\":[\"tamtyv\",\"kn\",\"rwzawnvs\",\"cfhzagxnvhycv\"]}],\"lastOperation\":{\"details\":\"wrzregzgyufu\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"}") + "{\"annotation\":\"hqhsknd\",\"networkFabricId\":\"lqkaadlknwf\",\"ipCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":540786333904483290,\"wellKnownCommunities\":[\"GShut\"],\"communityMembers\":[\"txiv\",\"nrlyxnuc\",\"ephblkwqpatvbqs\",\"tcjb\"]},{\"action\":\"Deny\",\"sequenceNumber\":5077408473598673922,\"wellKnownCommunities\":[\"NoAdvertise\",\"NoExport\",\"NoExport\"],\"communityMembers\":[\"tuowogtgitsqh\",\"vbrzcdb\",\"nfzndscxmxeat\",\"db\"]},{\"action\":\"Deny\",\"sequenceNumber\":2580805120871115843,\"wellKnownCommunities\":[\"GShut\",\"LocalAS\"],\"communityMembers\":[\"q\",\"naomhjrm\",\"u\",\"maxljalfihcj\"]},{\"action\":\"Deny\",\"sequenceNumber\":2110046772829254579,\"wellKnownCommunities\":[\"GShut\"],\"communityMembers\":[\"exxqcwg\"]}],\"lastOperation\":{\"details\":\"gvaknokzwjjzrl\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\"}") .toObject(IpCommunityProperties.class); - Assertions.assertEquals("wvua", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(6587094493738850881L, model.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.INTERNET, + Assertions.assertEquals("hqhsknd", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.ipCommunityRules().get(0).action()); + Assertions.assertEquals(540786333904483290L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.GSHUT, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("auxxepmyw", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("txiv", model.ipCommunityRules().get(0).communityMembers().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpCommunityProperties model = new IpCommunityProperties().withAnnotation("wvua") + IpCommunityProperties model = new IpCommunityProperties().withAnnotation("hqhsknd") .withIpCommunityRules(Arrays.asList( - new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(6587094493738850881L) - .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.INTERNET)) - .withCommunityMembers(Arrays.asList("auxxepmyw")), - new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(6860341300408282511L) + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(540786333904483290L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.GSHUT)) + .withCommunityMembers(Arrays.asList("txiv", "nrlyxnuc", "ephblkwqpatvbqs", "tcjb")), + new IpCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(5077408473598673922L) .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_ADVERTISE, - WellKnownCommunities.NO_EXPORT, WellKnownCommunities.LOCAL_AS)) - .withCommunityMembers(Arrays.asList("ijqpkzfbojxjmcs")), + WellKnownCommunities.NO_EXPORT, WellKnownCommunities.NO_EXPORT)) + .withCommunityMembers(Arrays.asList("tuowogtgitsqh", "vbrzcdb", "nfzndscxmxeat", "db")), new IpCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(2240819145094168645L) - .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_ADVERTISE)) - .withCommunityMembers(Arrays.asList("pwnkwywzwo")), + .withSequenceNumber(2580805120871115843L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.GSHUT, WellKnownCommunities.LOCAL_AS)) + .withCommunityMembers(Arrays.asList("q", "naomhjrm", "u", "maxljalfihcj")), new IpCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(8736317778676807202L) - .withWellKnownCommunities( - Arrays.asList(WellKnownCommunities.LOCAL_AS, WellKnownCommunities.NO_ADVERTISE, - WellKnownCommunities.NO_ADVERTISE, WellKnownCommunities.NO_EXPORT)) - .withCommunityMembers(Arrays.asList("tamtyv", "kn", "rwzawnvs", "cfhzagxnvhycv")))); + .withSequenceNumber(2110046772829254579L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.GSHUT)) + .withCommunityMembers(Arrays.asList("exxqcwg")))); model = BinaryData.fromObject(model).toObject(IpCommunityProperties.class); - Assertions.assertEquals("wvua", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipCommunityRules().get(0).action()); - Assertions.assertEquals(6587094493738850881L, model.ipCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.INTERNET, + Assertions.assertEquals("hqhsknd", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.ipCommunityRules().get(0).action()); + Assertions.assertEquals(540786333904483290L, model.ipCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.GSHUT, model.ipCommunityRules().get(0).wellKnownCommunities().get(0)); - Assertions.assertEquals("auxxepmyw", model.ipCommunityRules().get(0).communityMembers().get(0)); + Assertions.assertEquals("txiv", model.ipCommunityRules().get(0).communityMembers().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityRuleTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityRuleTests.java index 1df411427d1f7..397a4984d1332 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityRuleTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpCommunityRuleTests.java @@ -15,25 +15,25 @@ public final class IpCommunityRuleTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpCommunityRule model = BinaryData.fromString( - "{\"action\":\"Permit\",\"sequenceNumber\":5680566642026176857,\"wellKnownCommunities\":[\"NoAdvertise\",\"NoExport\",\"Internet\",\"NoExport\"],\"communityMembers\":[\"tta\",\"jyosxwwh\"]}") + "{\"action\":\"Permit\",\"sequenceNumber\":7243642612546485727,\"wellKnownCommunities\":[\"GShut\",\"Internet\",\"NoExport\"],\"communityMembers\":[\"ymmpujivy\"]}") .toObject(IpCommunityRule.class); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.action()); - Assertions.assertEquals(5680566642026176857L, model.sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, model.wellKnownCommunities().get(0)); - Assertions.assertEquals("tta", model.communityMembers().get(0)); + Assertions.assertEquals(7243642612546485727L, model.sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.GSHUT, model.wellKnownCommunities().get(0)); + Assertions.assertEquals("ymmpujivy", model.communityMembers().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { IpCommunityRule model = new IpCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(5680566642026176857L) - .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.NO_ADVERTISE, WellKnownCommunities.NO_EXPORT, - WellKnownCommunities.INTERNET, WellKnownCommunities.NO_EXPORT)) - .withCommunityMembers(Arrays.asList("tta", "jyosxwwh")); + .withSequenceNumber(7243642612546485727L) + .withWellKnownCommunities(Arrays.asList(WellKnownCommunities.GSHUT, WellKnownCommunities.INTERNET, + WellKnownCommunities.NO_EXPORT)) + .withCommunityMembers(Arrays.asList("ymmpujivy")); model = BinaryData.fromObject(model).toObject(IpCommunityRule.class); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.action()); - Assertions.assertEquals(5680566642026176857L, model.sequenceNumber()); - Assertions.assertEquals(WellKnownCommunities.NO_ADVERTISE, model.wellKnownCommunities().get(0)); - Assertions.assertEquals("tta", model.communityMembers().get(0)); + Assertions.assertEquals(7243642612546485727L, model.sequenceNumber()); + Assertions.assertEquals(WellKnownCommunities.GSHUT, model.wellKnownCommunities().get(0)); + Assertions.assertEquals("ymmpujivy", model.communityMembers().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateMockTests.java index 4fac905e4b787..7b7f335b0a833 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesCreateMockTests.java @@ -26,7 +26,7 @@ public final class IpExtendedCommunitiesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"oxp\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3443499046415993170,\"routeTargets\":[\"ubfpeomegynhea\"]},{\"action\":\"Permit\",\"sequenceNumber\":4495177292155168611,\"routeTargets\":[\"aj\",\"tsvc\",\"sythuioixpfgqlw\"]},{\"action\":\"Deny\",\"sequenceNumber\":6109141026772143106,\"routeTargets\":[\"vqcjrmnverbfveh\"]},{\"action\":\"Permit\",\"sequenceNumber\":1288471003175952324,\"routeTargets\":[\"tqeyonmoigawl\",\"jw\",\"rovjvjjuypcn\"]}],\"networkFabricId\":\"cbejmujzmfpspa\",\"lastOperation\":{\"details\":\"uwygssssjcpfep\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"location\":\"vdcciyzrdj\",\"tags\":{\"kyx\":\"wk\",\"eynxkxqnwcekqsb\":\"ksdelrwqmffvbht\"},\"id\":\"cad\",\"name\":\"apzebje\",\"type\":\"wwgverbywuuvei\"}"; + = "{\"properties\":{\"annotation\":\"oxp\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3443499046415993170,\"routeTargets\":[\"ubfpeomegynhea\"]},{\"action\":\"Permit\",\"sequenceNumber\":4495177292155168611,\"routeTargets\":[\"aj\",\"tsvc\",\"sythuioixpfgqlw\"]},{\"action\":\"Deny\",\"sequenceNumber\":6109141026772143106,\"routeTargets\":[\"vqcjrmnverbfveh\"]},{\"action\":\"Permit\",\"sequenceNumber\":1288471003175952324,\"routeTargets\":[\"tqeyonmoigawl\",\"jw\",\"rovjvjjuypcn\"]}],\"networkFabricId\":\"cbejmujzmfpspa\",\"lastOperation\":{\"details\":\"uwygssssjcpfep\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"location\":\"vdcciyzrdj\",\"tags\":{\"kyx\":\"wk\",\"eynxkxqnwcekqsb\":\"ksdelrwqmffvbht\"},\"id\":\"cad\",\"name\":\"apzebje\",\"type\":\"wwgverbywuuvei\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupWithResponseMockTests.java index 674a7a7956049..eebbcef3d6a4f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesGetByResourceGroupWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class IpExtendedCommunitiesGetByResourceGroupWithResponseMockTests @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"qvmhtyafcvtosovx\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":4224371589389175964,\"routeTargets\":[\"kzxqrzsngltlbsnl\"]},{\"action\":\"Permit\",\"sequenceNumber\":8907596840082490110,\"routeTargets\":[\"rhkwh\"]},{\"action\":\"Deny\",\"sequenceNumber\":9216875268958994846,\"routeTargets\":[\"uujymyjvkoyjgto\"]},{\"action\":\"Permit\",\"sequenceNumber\":4011761695532173551,\"routeTargets\":[\"chl\"]}],\"networkFabricId\":\"ngmw\",\"lastOperation\":{\"details\":\"vqmkjsv\"},\"configurationState\":\"Failed\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\"},\"location\":\"noq\",\"tags\":{\"cntqoszrwkkxdnxu\":\"e\",\"nxrbyvbdvgzt\":\"ygdoitdf\",\"b\":\"tzsge\"},\"id\":\"qxffejcng\",\"name\":\"cdykkpnfvzbvtxgs\",\"type\":\"usqjjc\"}"; + = "{\"properties\":{\"annotation\":\"qvmhtyafcvtosovx\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":4224371589389175964,\"routeTargets\":[\"kzxqrzsngltlbsnl\"]},{\"action\":\"Permit\",\"sequenceNumber\":8907596840082490110,\"routeTargets\":[\"rhkwh\"]},{\"action\":\"Deny\",\"sequenceNumber\":9216875268958994846,\"routeTargets\":[\"uujymyjvkoyjgto\"]},{\"action\":\"Permit\",\"sequenceNumber\":4011761695532173551,\"routeTargets\":[\"chl\"]}],\"networkFabricId\":\"ngmw\",\"lastOperation\":{\"details\":\"vqmkjsv\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\"},\"location\":\"noq\",\"tags\":{\"cntqoszrwkkxdnxu\":\"e\",\"nxrbyvbdvgzt\":\"ygdoitdf\",\"b\":\"tzsge\"},\"id\":\"qxffejcng\",\"name\":\"cdykkpnfvzbvtxgs\",\"type\":\"usqjjc\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupMockTests.java index e0d5383932799..bf8177c9fbc22 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListByResourceGroupMockTests.java @@ -23,7 +23,7 @@ public final class IpExtendedCommunitiesListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"uvaejyaf\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":68814974622341063,\"routeTargets\":[\"xvdn\"]},{\"action\":\"Permit\",\"sequenceNumber\":6913517984931682319,\"routeTargets\":[\"tulwgpdzlf\",\"bi\"]}],\"networkFabricId\":\"gmxynwaofnoiphwa\",\"lastOperation\":{\"details\":\"ugxjtuhidjws\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\"},\"location\":\"jwadvfqrvtymn\",\"tags\":{\"t\":\"dmjdp\",\"rqbfimageiqjne\":\"pjrbnzbe\",\"rpjmevszbjnqktok\":\"rhxsktu\",\"b\":\"jckm\"},\"id\":\"xxdxnhinn\",\"name\":\"akqwtozxltjsf\",\"type\":\"x\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"uvaejyaf\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":68814974622341063,\"routeTargets\":[\"xvdn\"]},{\"action\":\"Permit\",\"sequenceNumber\":6913517984931682319,\"routeTargets\":[\"tulwgpdzlf\",\"bi\"]}],\"networkFabricId\":\"gmxynwaofnoiphwa\",\"lastOperation\":{\"details\":\"ugxjtuhidjws\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\"},\"location\":\"jwadvfqrvtymn\",\"tags\":{\"t\":\"dmjdp\",\"rqbfimageiqjne\":\"pjrbnzbe\",\"rpjmevszbjnqktok\":\"rhxsktu\",\"b\":\"jckm\"},\"id\":\"xxdxnhinn\",\"name\":\"akqwtozxltjsf\",\"type\":\"x\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListMockTests.java index ee2ffbd0eaadc..ddacc378a73dc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunitiesListMockTests.java @@ -23,7 +23,7 @@ public final class IpExtendedCommunitiesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"xwzznocrbtazop\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":1089591809136719227,\"routeTargets\":[\"hmaknppucfvxq\",\"mxc\"]},{\"action\":\"Permit\",\"sequenceNumber\":6772469334226183531,\"routeTargets\":[\"nvdumi\"]}],\"networkFabricId\":\"xmrntphy\",\"lastOperation\":{\"details\":\"ddt\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\"},\"location\":\"jabzs\",\"tags\":{\"wwvb\":\"zaxmkuthooaicmsz\"},\"id\":\"vibivh\",\"name\":\"ryppmmtqxqiqae\",\"type\":\"ugqfcorajdb\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"xwzznocrbtazop\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":1089591809136719227,\"routeTargets\":[\"hmaknppucfvxq\",\"mxc\"]},{\"action\":\"Permit\",\"sequenceNumber\":6772469334226183531,\"routeTargets\":[\"nvdumi\"]}],\"networkFabricId\":\"xmrntphy\",\"lastOperation\":{\"details\":\"ddt\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\"},\"location\":\"jabzs\",\"tags\":{\"wwvb\":\"zaxmkuthooaicmsz\"},\"id\":\"vibivh\",\"name\":\"ryppmmtqxqiqae\",\"type\":\"ugqfcorajdb\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityIdListTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityIdListTests.java index 971e1ffc19412..e0a3009332956 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityIdListTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityIdListTests.java @@ -12,16 +12,16 @@ public final class IpExtendedCommunityIdListTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - IpExtendedCommunityIdList model = BinaryData.fromString("{\"ipExtendedCommunityIds\":[\"vfvhrqxrqgh\"]}") + IpExtendedCommunityIdList model = BinaryData.fromString("{\"ipExtendedCommunityIds\":[\"nefwle\"]}") .toObject(IpExtendedCommunityIdList.class); - Assertions.assertEquals("vfvhrqxrqgh", model.ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("nefwle", model.ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { IpExtendedCommunityIdList model - = new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("vfvhrqxrqgh")); + = new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("nefwle")); model = BinaryData.fromObject(model).toObject(IpExtendedCommunityIdList.class); - Assertions.assertEquals("vfvhrqxrqgh", model.ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("nefwle", model.ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityInnerTests.java index d0ff846326a49..a2526870a60f3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityInnerTests.java @@ -17,38 +17,41 @@ public final class IpExtendedCommunityInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpExtendedCommunityInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"nqfblhkalehpava\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":4669399214654556212,\"routeTargets\":[\"tiogqgdmini\"]},{\"action\":\"Deny\",\"sequenceNumber\":486844500805381299,\"routeTargets\":[\"johiyg\"]},{\"action\":\"Deny\",\"sequenceNumber\":1077297875489107910,\"routeTargets\":[\"n\",\"pczykmktpvwxqc\"]}],\"networkFabricId\":\"hchkhufm\",\"lastOperation\":{\"details\":\"mqyjgy\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"location\":\"euzanhs\",\"tags\":{\"gqjclidftujwj\":\"senwphpzf\"},\"id\":\"ufwbeqrku\",\"name\":\"rhtssr\",\"type\":\"qnmdvhazcvjy\"}") + "{\"properties\":{\"annotation\":\"ratqxmbjro\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3328537751300448546,\"routeTargets\":[\"al\",\"jrhuzgf\",\"on\",\"tpusllywp\"]},{\"action\":\"Permit\",\"sequenceNumber\":8922201414547891717,\"routeTargets\":[\"zbpdbo\",\"lgry\",\"qiuasigrows\"]},{\"action\":\"Permit\",\"sequenceNumber\":5022661736184384407,\"routeTargets\":[\"uygdjboqgr\",\"tqjkqevad\",\"mmwiuawvcmjz\",\"xiid\"]},{\"action\":\"Permit\",\"sequenceNumber\":6547596467776900600,\"routeTargets\":[\"koswoqiqazugamxz\"]}],\"networkFabricId\":\"rcoiis\",\"lastOperation\":{\"details\":\"nppcce\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"zaxy\",\"tags\":{\"iarxqiubxdukec\":\"zxuizhyhnepkpe\",\"hctmmkosz\":\"xdazv\"},\"id\":\"dblnsntrp\",\"name\":\"aqkiofkb\",\"type\":\"fmhklbnld\"}") .toObject(IpExtendedCommunityInner.class); - Assertions.assertEquals("euzanhs", model.location()); - Assertions.assertEquals("senwphpzf", model.tags().get("gqjclidftujwj")); - Assertions.assertEquals("nqfblhkalehpava", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(4669399214654556212L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("tiogqgdmini", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals("zaxy", model.location()); + Assertions.assertEquals("zxuizhyhnepkpe", model.tags().get("iarxqiubxdukec")); + Assertions.assertEquals("ratqxmbjro", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipExtendedCommunityRules().get(0).action()); + Assertions.assertEquals(3328537751300448546L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("al", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpExtendedCommunityInner model = new IpExtendedCommunityInner().withLocation("euzanhs") - .withTags(mapOf("gqjclidftujwj", "senwphpzf")) - .withAnnotation("nqfblhkalehpava") + IpExtendedCommunityInner model = new IpExtendedCommunityInner().withLocation("zaxy") + .withTags(mapOf("iarxqiubxdukec", "zxuizhyhnepkpe", "hctmmkosz", "xdazv")) + .withAnnotation("ratqxmbjro") .withIpExtendedCommunityRules(Arrays.asList( - new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(4669399214654556212L) - .withRouteTargets(Arrays.asList("tiogqgdmini")), - new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(486844500805381299L) - .withRouteTargets(Arrays.asList("johiyg")), - new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(1077297875489107910L) - .withRouteTargets(Arrays.asList("n", "pczykmktpvwxqc")))); + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(3328537751300448546L) + .withRouteTargets(Arrays.asList("al", "jrhuzgf", "on", "tpusllywp")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(8922201414547891717L) + .withRouteTargets(Arrays.asList("zbpdbo", "lgry", "qiuasigrows")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(5022661736184384407L) + .withRouteTargets(Arrays.asList("uygdjboqgr", "tqjkqevad", "mmwiuawvcmjz", "xiid")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(6547596467776900600L) + .withRouteTargets(Arrays.asList("koswoqiqazugamxz")))); model = BinaryData.fromObject(model).toObject(IpExtendedCommunityInner.class); - Assertions.assertEquals("euzanhs", model.location()); - Assertions.assertEquals("senwphpzf", model.tags().get("gqjclidftujwj")); - Assertions.assertEquals("nqfblhkalehpava", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(4669399214654556212L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("tiogqgdmini", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals("zaxy", model.location()); + Assertions.assertEquals("zxuizhyhnepkpe", model.tags().get("iarxqiubxdukec")); + Assertions.assertEquals("ratqxmbjro", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipExtendedCommunityRules().get(0).action()); + Assertions.assertEquals(3328537751300448546L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("al", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityListResultTests.java index b3be736cde61d..3a79b5e0ceebc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityListResultTests.java @@ -13,16 +13,16 @@ public final class IpExtendedCommunityListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpExtendedCommunityListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"yixhafratqxmb\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5949496467486823709,\"routeTargets\":[\"znv\",\"l\"]},{\"action\":\"Permit\",\"sequenceNumber\":5729494135721513095,\"routeTargets\":[\"zgfxonjtpusl\",\"ywpvt\",\"otz\",\"pdbollg\"]},{\"action\":\"Deny\",\"sequenceNumber\":4546081220504848207,\"routeTargets\":[\"uasigr\"]}],\"networkFabricId\":\"socnequygdjboq\",\"lastOperation\":{\"details\":\"tqjkqevad\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Updating\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"vcmjzkxiidisczsk\",\"tags\":{\"krrcoiisbamnpp\":\"oqiqazugamx\",\"dsbezaxyfu\":\"cekuz\",\"iarxqiubxdukec\":\"zxuizhyhnepkpe\",\"hctmmkosz\":\"xdazv\"},\"id\":\"dblnsntrp\",\"name\":\"aqkiofkb\",\"type\":\"fmhklbnld\"},{\"properties\":{\"annotation\":\"cbhhez\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5160665524020906164,\"routeTargets\":[\"qxutrpbrruyuua\",\"vlm\"]},{\"action\":\"Permit\",\"sequenceNumber\":9171918442354377344,\"routeTargets\":[\"lbmxlbnwtpcpah\"]}],\"networkFabricId\":\"z\",\"lastOperation\":{\"details\":\"hmtfho\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"ngxno\",\"tags\":{\"dwhepfwwtjfdoes\":\"tdisnjevhdlmyd\",\"dbckyo\":\"xhmw\",\"jzrbhtmeplv\":\"kxkxhnegk\"},\"id\":\"kaobrl\",\"name\":\"pgsn\",\"type\":\"agnchjhgemuowaky\"}],\"nextLink\":\"lhjym\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"gcv\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5488860454942018645,\"routeTargets\":[\"olg\",\"y\",\"xpvelszerqzevxo\",\"eintxwaljglzobl\"]},{\"action\":\"Deny\",\"sequenceNumber\":7779629055988700689,\"routeTargets\":[\"r\",\"ulhmzyq\",\"hdvafjrqpjiyrqjc\",\"gaxwmzwdfkbnrzo\"]},{\"action\":\"Permit\",\"sequenceNumber\":4495367489197291351,\"routeTargets\":[\"bqc\",\"qjf\",\"xxsaetgz\"]}],\"networkFabricId\":\"vpyigdaqq\",\"lastOperation\":{\"details\":\"dcduwjoedxn\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Disabled\"},\"location\":\"urwwgilfjq\",\"tags\":{\"iakeciqc\":\"dmkxwxdcvjwcy\",\"wdfmmpzhzzwvywr\":\"xrtuicds\",\"aondjrkclamgg\":\"yngydgrpxncaki\"},\"id\":\"vlmfej\",\"name\":\"oqeykglt\",\"type\":\"gxhqfgqkayejs\"},{\"properties\":{\"annotation\":\"lgflwfg\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":42801737599370544,\"routeTargets\":[\"jjceatlijjjr\",\"va\"]}],\"networkFabricId\":\"a\",\"lastOperation\":{\"details\":\"nxkvccxetyvku\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\"},\"location\":\"k\",\"tags\":{\"medeil\":\"ogjwpindedvabbxb\"},\"id\":\"jywfcfxzirzzih\",\"name\":\"wypusuvjsl\",\"type\":\"zwci\"},{\"properties\":{\"annotation\":\"jsllfryvd\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":4696530717493681373,\"routeTargets\":[\"acfrgna\"]},{\"action\":\"Permit\",\"sequenceNumber\":250882845316904364,\"routeTargets\":[\"fbktyjmfczlf\",\"yq\",\"frbzgowo\"]},{\"action\":\"Permit\",\"sequenceNumber\":2209381639067991436,\"routeTargets\":[\"ajcxnyqgxhl\"]},{\"action\":\"Permit\",\"sequenceNumber\":6653227888268805782,\"routeTargets\":[\"i\",\"i\",\"jceagb\"]}],\"networkFabricId\":\"vl\",\"lastOperation\":{\"details\":\"ywzash\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"qipubyz\",\"tags\":{\"ke\":\"k\"},\"id\":\"bgvopemt\",\"name\":\"oqujlyegqavn\",\"type\":\"gflqqbtnyjp\"}],\"nextLink\":\"xdb\"}") .toObject(IpExtendedCommunityListResult.class); - Assertions.assertEquals("vcmjzkxiidisczsk", model.value().get(0).location()); - Assertions.assertEquals("oqiqazugamx", model.value().get(0).tags().get("krrcoiisbamnpp")); - Assertions.assertEquals("yixhafratqxmb", model.value().get(0).annotation()); + Assertions.assertEquals("urwwgilfjq", model.value().get(0).location()); + Assertions.assertEquals("dmkxwxdcvjwcy", model.value().get(0).tags().get("iakeciqc")); + Assertions.assertEquals("gcv", model.value().get(0).annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.value().get(0).ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(5949496467486823709L, + Assertions.assertEquals(5488860454942018645L, model.value().get(0).ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("znv", model.value().get(0).ipExtendedCommunityRules().get(0).routeTargets().get(0)); - Assertions.assertEquals("lhjym", model.nextLink()); + Assertions.assertEquals("olg", model.value().get(0).ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals("xdb", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchPropertiesTests.java index 377f6bdecef6c..2c3ad42d2e0ac 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchPropertiesTests.java @@ -15,28 +15,31 @@ public final class IpExtendedCommunityPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpExtendedCommunityPatchProperties model = BinaryData.fromString( - "{\"annotation\":\"hcvjdrqc\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":672608780884958099,\"routeTargets\":[\"ukvhd\"]},{\"action\":\"Deny\",\"sequenceNumber\":7983886572640006916,\"routeTargets\":[\"jbfqzdk\"]}]}") + "{\"annotation\":\"k\",\"ipExtendedCommunityRules\":[{\"action\":\"Deny\",\"sequenceNumber\":1061863645942943548,\"routeTargets\":[\"bvntnrgmqsorhce\"]},{\"action\":\"Permit\",\"sequenceNumber\":6618352425256942325,\"routeTargets\":[\"ykmxcpwzvm\",\"oksqdt\",\"wlwxlboncqbazqic\",\"chygtvxbyjane\"]},{\"action\":\"Deny\",\"sequenceNumber\":1441321160405457019,\"routeTargets\":[\"kxyqvgxiaodetv\",\"hkxdxuwsaifmc\",\"nosbz\"]}]}") .toObject(IpExtendedCommunityPatchProperties.class); - Assertions.assertEquals("hcvjdrqc", model.annotation()); + Assertions.assertEquals("k", model.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(672608780884958099L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("ukvhd", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals(1061863645942943548L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("bvntnrgmqsorhce", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpExtendedCommunityPatchProperties model = new IpExtendedCommunityPatchProperties().withAnnotation("hcvjdrqc") + IpExtendedCommunityPatchProperties model = new IpExtendedCommunityPatchProperties().withAnnotation("k") .withIpExtendedCommunityRules(Arrays.asList( new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(672608780884958099L) - .withRouteTargets(Arrays.asList("ukvhd")), + .withSequenceNumber(1061863645942943548L) + .withRouteTargets(Arrays.asList("bvntnrgmqsorhce")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(6618352425256942325L) + .withRouteTargets(Arrays.asList("ykmxcpwzvm", "oksqdt", "wlwxlboncqbazqic", "chygtvxbyjane")), new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(7983886572640006916L) - .withRouteTargets(Arrays.asList("jbfqzdk")))); + .withSequenceNumber(1441321160405457019L) + .withRouteTargets(Arrays.asList("kxyqvgxiaodetv", "hkxdxuwsaifmc", "nosbz")))); model = BinaryData.fromObject(model).toObject(IpExtendedCommunityPatchProperties.class); - Assertions.assertEquals("hcvjdrqc", model.annotation()); + Assertions.assertEquals("k", model.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(672608780884958099L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("ukvhd", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals(1061863645942943548L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("bvntnrgmqsorhce", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchTests.java index f9cdc4fa9eb5f..7866a297194cc 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPatchTests.java @@ -17,31 +17,38 @@ public final class IpExtendedCommunityPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpExtendedCommunityPatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"zmxieqvdsmaklix\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":330622041052177048,\"routeTargets\":[\"alybxawoijpo\",\"tblxpkkwjdjodqhy\",\"incnr\",\"mehllizhceu\"]}]},\"tags\":{\"adywrxwhydt\":\"odkadppyibngq\",\"emlowuowhl\":\"uvvadswzsnu\",\"mouvbl\":\"lnwy\",\"zkltrfowtdvrfmv\":\"mo\"}}") + "{\"properties\":{\"annotation\":\"f\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":1060606839998197850,\"routeTargets\":[\"mwcdbcky\",\"ikxkxhneg\"]},{\"action\":\"Deny\",\"sequenceNumber\":2785122180998227471,\"routeTargets\":[\"bhtmeplvuk\",\"obrl\",\"pgsn\",\"agnchjhgemuowaky\"]},{\"action\":\"Permit\",\"sequenceNumber\":5726912588759109718,\"routeTargets\":[\"ymxcgqtag\",\"rclsso\"]},{\"action\":\"Deny\",\"sequenceNumber\":124055688722357344,\"routeTargets\":[\"vtfycnlbvgjcodk\"]}]},\"tags\":{\"s\":\"iiy\"}}") .toObject(IpExtendedCommunityPatch.class); - Assertions.assertEquals("odkadppyibngq", model.tags().get("adywrxwhydt")); - Assertions.assertEquals("zmxieqvdsmaklix", model.annotation()); + Assertions.assertEquals("iiy", model.tags().get("s")); + Assertions.assertEquals("f", model.annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(330622041052177048L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("alybxawoijpo", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals(1060606839998197850L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("mwcdbcky", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpExtendedCommunityPatch model = new IpExtendedCommunityPatch() - .withTags(mapOf("adywrxwhydt", "odkadppyibngq", "emlowuowhl", "uvvadswzsnu", "mouvbl", "lnwy", - "zkltrfowtdvrfmv", "mo")) - .withAnnotation("zmxieqvdsmaklix") - .withIpExtendedCommunityRules( - Arrays.asList(new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(330622041052177048L) - .withRouteTargets(Arrays.asList("alybxawoijpo", "tblxpkkwjdjodqhy", "incnr", "mehllizhceu")))); + IpExtendedCommunityPatch model = new IpExtendedCommunityPatch().withTags(mapOf("s", "iiy")) + .withAnnotation("f") + .withIpExtendedCommunityRules(Arrays.asList( + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(1060606839998197850L) + .withRouteTargets(Arrays.asList("mwcdbcky", "ikxkxhneg")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(2785122180998227471L) + .withRouteTargets(Arrays.asList("bhtmeplvuk", "obrl", "pgsn", "agnchjhgemuowaky")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(5726912588759109718L) + .withRouteTargets(Arrays.asList("ymxcgqtag", "rclsso")), + new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(124055688722357344L) + .withRouteTargets(Arrays.asList("vtfycnlbvgjcodk")))); model = BinaryData.fromObject(model).toObject(IpExtendedCommunityPatch.class); - Assertions.assertEquals("odkadppyibngq", model.tags().get("adywrxwhydt")); - Assertions.assertEquals("zmxieqvdsmaklix", model.annotation()); + Assertions.assertEquals("iiy", model.tags().get("s")); + Assertions.assertEquals("f", model.annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(330622041052177048L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("alybxawoijpo", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals(1060606839998197850L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("mwcdbcky", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPropertiesTests.java index b07d9823ffe82..613b34efc500c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityPropertiesTests.java @@ -15,28 +15,28 @@ public final class IpExtendedCommunityPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpExtendedCommunityProperties model = BinaryData.fromString( - "{\"annotation\":\"qswbqerzwx\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":48829511246703614,\"routeTargets\":[\"gukvlbpkt\",\"dstyouam\",\"ewres\",\"moweg\"]},{\"action\":\"Permit\",\"sequenceNumber\":1168634176596881637,\"routeTargets\":[\"yxey\",\"uqi\",\"ijiitns\"]}],\"networkFabricId\":\"lz\",\"lastOperation\":{\"details\":\"ygr\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Failed\",\"administrativeState\":\"MAT\"}") + "{\"annotation\":\"cbhhez\",\"ipExtendedCommunityRules\":[{\"action\":\"Permit\",\"sequenceNumber\":5160665524020906164,\"routeTargets\":[\"qxutrpbrruyuua\",\"vlm\"]},{\"action\":\"Permit\",\"sequenceNumber\":9171918442354377344,\"routeTargets\":[\"lbmxlbnwtpcpah\"]}],\"networkFabricId\":\"z\",\"lastOperation\":{\"details\":\"hmtfho\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"UnderMaintenance\"}") .toObject(IpExtendedCommunityProperties.class); - Assertions.assertEquals("qswbqerzwx", model.annotation()); + Assertions.assertEquals("cbhhez", model.annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(48829511246703614L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("gukvlbpkt", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals(5160665524020906164L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("qxutrpbrruyuua", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpExtendedCommunityProperties model = new IpExtendedCommunityProperties().withAnnotation("qswbqerzwx") + IpExtendedCommunityProperties model = new IpExtendedCommunityProperties().withAnnotation("cbhhez") .withIpExtendedCommunityRules(Arrays.asList( new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(48829511246703614L) - .withRouteTargets(Arrays.asList("gukvlbpkt", "dstyouam", "ewres", "moweg")), + .withSequenceNumber(5160665524020906164L) + .withRouteTargets(Arrays.asList("qxutrpbrruyuua", "vlm")), new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(1168634176596881637L) - .withRouteTargets(Arrays.asList("yxey", "uqi", "ijiitns")))); + .withSequenceNumber(9171918442354377344L) + .withRouteTargets(Arrays.asList("lbmxlbnwtpcpah")))); model = BinaryData.fromObject(model).toObject(IpExtendedCommunityProperties.class); - Assertions.assertEquals("qswbqerzwx", model.annotation()); + Assertions.assertEquals("cbhhez", model.annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipExtendedCommunityRules().get(0).action()); - Assertions.assertEquals(48829511246703614L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); - Assertions.assertEquals("gukvlbpkt", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); + Assertions.assertEquals(5160665524020906164L, model.ipExtendedCommunityRules().get(0).sequenceNumber()); + Assertions.assertEquals("qxutrpbrruyuua", model.ipExtendedCommunityRules().get(0).routeTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityRuleTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityRuleTests.java index f1c92c537cafe..15884e3f8dd54 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityRuleTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpExtendedCommunityRuleTests.java @@ -14,21 +14,21 @@ public final class IpExtendedCommunityRuleTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpExtendedCommunityRule model = BinaryData.fromString( - "{\"action\":\"Permit\",\"sequenceNumber\":606765941095041442,\"routeTargets\":[\"ybfueqfrojsydgr\",\"ydkygywezskieca\"]}") + "{\"action\":\"Deny\",\"sequenceNumber\":4680478022700249819,\"routeTargets\":[\"noq\",\"xtdisnjevhd\",\"mydidwhepfw\"]}") .toObject(IpExtendedCommunityRule.class); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.action()); - Assertions.assertEquals(606765941095041442L, model.sequenceNumber()); - Assertions.assertEquals("ybfueqfrojsydgr", model.routeTargets().get(0)); + Assertions.assertEquals(CommunityActionTypes.DENY, model.action()); + Assertions.assertEquals(4680478022700249819L, model.sequenceNumber()); + Assertions.assertEquals("noq", model.routeTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpExtendedCommunityRule model = new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(606765941095041442L) - .withRouteTargets(Arrays.asList("ybfueqfrojsydgr", "ydkygywezskieca")); + IpExtendedCommunityRule model = new IpExtendedCommunityRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(4680478022700249819L) + .withRouteTargets(Arrays.asList("noq", "xtdisnjevhd", "mydidwhepfw")); model = BinaryData.fromObject(model).toObject(IpExtendedCommunityRule.class); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.action()); - Assertions.assertEquals(606765941095041442L, model.sequenceNumber()); - Assertions.assertEquals("ybfueqfrojsydgr", model.routeTargets().get(0)); + Assertions.assertEquals(CommunityActionTypes.DENY, model.action()); + Assertions.assertEquals(4680478022700249819L, model.sequenceNumber()); + Assertions.assertEquals("noq", model.routeTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixInnerTests.java index 340b8b9fcb0db..9d48979ef808e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixInnerTests.java @@ -18,44 +18,53 @@ public final class IpPrefixInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpPrefixInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"gqtagd\",\"networkFabricId\":\"lss\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":124055688722357344,\"networkPrefix\":\"evtf\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"bvgjcodkkgj\"},{\"action\":\"Deny\",\"sequenceNumber\":8379585167241352152,\"networkPrefix\":\"s\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"z\"}],\"lastOperation\":{\"details\":\"fqb\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"sorhcekx\",\"tags\":{\"oksqdt\":\"ykmxcpwzvm\",\"chygtvxbyjane\":\"wlwxlboncqbazqic\",\"od\":\"ubdpkxyqvgxi\",\"kxdxuwsaifmcwn\":\"tvo\"},\"id\":\"s\",\"name\":\"zlehgcvkbcknjolg\",\"type\":\"y\"}") + "{\"properties\":{\"annotation\":\"abmvmsxbaevwjc\",\"networkFabricId\":\"ot\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":8271457067491900060,\"networkPrefix\":\"vajmailfem\",\"condition\":\"Range\",\"subnetMaskLength\":\"kzwjiqullq\"},{\"action\":\"Deny\",\"sequenceNumber\":4454646096541417351,\"networkPrefix\":\"vr\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"erndbrnyeofltfnn\"},{\"action\":\"Deny\",\"sequenceNumber\":5649596369792219036,\"networkPrefix\":\"dj\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"fmu\"},{\"action\":\"Deny\",\"sequenceNumber\":1091451108549371592,\"networkPrefix\":\"ipfohykfkx\",\"condition\":\"Range\",\"subnetMaskLength\":\"r\"}],\"lastOperation\":{\"details\":\"u\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\"},\"location\":\"ewoi\",\"tags\":{\"c\":\"vzbjuyrsrzi\"},\"id\":\"ixgbdsuifrevk\",\"name\":\"apezkiswqjmdghs\",\"type\":\"parybjufpt\"}") .toObject(IpPrefixInner.class); - Assertions.assertEquals("sorhcekx", model.location()); - Assertions.assertEquals("ykmxcpwzvm", model.tags().get("oksqdt")); - Assertions.assertEquals("gqtagd", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(124055688722357344L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("evtf", model.ipPrefixRules().get(0).networkPrefix()); - Assertions.assertEquals(Condition.LESSER_THAN_OR_EQUAL_TO, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("bvgjcodkkgj", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("ewoi", model.location()); + Assertions.assertEquals("vzbjuyrsrzi", model.tags().get("c")); + Assertions.assertEquals("abmvmsxbaevwjc", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); + Assertions.assertEquals(8271457067491900060L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("vajmailfem", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(Condition.RANGE, model.ipPrefixRules().get(0).condition()); + Assertions.assertEquals("kzwjiqullq", model.ipPrefixRules().get(0).subnetMaskLength()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpPrefixInner model = new IpPrefixInner().withLocation("sorhcekx") - .withTags(mapOf("oksqdt", "ykmxcpwzvm", "chygtvxbyjane", "wlwxlboncqbazqic", "od", "ubdpkxyqvgxi", - "kxdxuwsaifmcwn", "tvo")) - .withAnnotation("gqtagd") + IpPrefixInner model = new IpPrefixInner().withLocation("ewoi") + .withTags(mapOf("c", "vzbjuyrsrzi")) + .withAnnotation("abmvmsxbaevwjc") .withIpPrefixRules(Arrays.asList( + new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(8271457067491900060L) + .withNetworkPrefix("vajmailfem") + .withCondition(Condition.RANGE) + .withSubnetMaskLength("kzwjiqullq"), new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(124055688722357344L) - .withNetworkPrefix("evtf") - .withCondition(Condition.LESSER_THAN_OR_EQUAL_TO) - .withSubnetMaskLength("bvgjcodkkgj"), + .withSequenceNumber(4454646096541417351L) + .withNetworkPrefix("vr") + .withCondition(Condition.GREATER_THAN_OR_EQUAL_TO) + .withSubnetMaskLength("erndbrnyeofltfnn"), new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(8379585167241352152L) - .withNetworkPrefix("s") + .withSequenceNumber(5649596369792219036L) + .withNetworkPrefix("dj") .withCondition(Condition.EQUAL_TO) - .withSubnetMaskLength("z"))); + .withSubnetMaskLength("fmu"), + new IpPrefixRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(1091451108549371592L) + .withNetworkPrefix("ipfohykfkx") + .withCondition(Condition.RANGE) + .withSubnetMaskLength("r"))); model = BinaryData.fromObject(model).toObject(IpPrefixInner.class); - Assertions.assertEquals("sorhcekx", model.location()); - Assertions.assertEquals("ykmxcpwzvm", model.tags().get("oksqdt")); - Assertions.assertEquals("gqtagd", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(124055688722357344L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("evtf", model.ipPrefixRules().get(0).networkPrefix()); - Assertions.assertEquals(Condition.LESSER_THAN_OR_EQUAL_TO, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("bvgjcodkkgj", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("ewoi", model.location()); + Assertions.assertEquals("vzbjuyrsrzi", model.tags().get("c")); + Assertions.assertEquals("abmvmsxbaevwjc", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); + Assertions.assertEquals(8271457067491900060L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("vajmailfem", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(Condition.RANGE, model.ipPrefixRules().get(0).condition()); + Assertions.assertEquals("kzwjiqullq", model.ipPrefixRules().get(0).subnetMaskLength()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchPropertiesTests.java index 538ac93eb5771..e6624fc5a0aa8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchPropertiesTests.java @@ -16,46 +16,36 @@ public final class IpPrefixPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpPrefixPatchProperties model = BinaryData.fromString( - "{\"annotation\":\"dei\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":1192063808706252824,\"networkPrefix\":\"cfxzirzzih\",\"condition\":\"Range\",\"subnetMaskLength\":\"usuv\"},{\"action\":\"Deny\",\"sequenceNumber\":6732303378803539091,\"networkPrefix\":\"zwci\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"llfryvdmvxadq\"},{\"action\":\"Deny\",\"sequenceNumber\":8838306472043801259,\"networkPrefix\":\"gna\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"gfbktyjmf\"},{\"action\":\"Deny\",\"sequenceNumber\":785803071405478131,\"networkPrefix\":\"syqkfrbzgowox\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"ajcxnyqgxhl\"}]}") + "{\"annotation\":\"zkivyhjrliizjix\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":2017442840978093464,\"networkPrefix\":\"kwabsolronqq\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"lqxsjxtelex\"},{\"action\":\"Permit\",\"sequenceNumber\":3518675659562178573,\"networkPrefix\":\"b\",\"condition\":\"Range\",\"subnetMaskLength\":\"lzqocark\"}]}") .toObject(IpPrefixPatchProperties.class); - Assertions.assertEquals("dei", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(1192063808706252824L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("cfxzirzzih", model.ipPrefixRules().get(0).networkPrefix()); - Assertions.assertEquals(Condition.RANGE, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("usuv", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("zkivyhjrliizjix", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.ipPrefixRules().get(0).action()); + Assertions.assertEquals(2017442840978093464L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("kwabsolronqq", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(Condition.EQUAL_TO, model.ipPrefixRules().get(0).condition()); + Assertions.assertEquals("lqxsjxtelex", model.ipPrefixRules().get(0).subnetMaskLength()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpPrefixPatchProperties model = new IpPrefixPatchProperties().withAnnotation("dei") + IpPrefixPatchProperties model = new IpPrefixPatchProperties().withAnnotation("zkivyhjrliizjix") .withIpPrefixRules(Arrays.asList( - new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(1192063808706252824L) - .withNetworkPrefix("cfxzirzzih") - .withCondition(Condition.RANGE) - .withSubnetMaskLength("usuv"), new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(6732303378803539091L) - .withNetworkPrefix("zwci") - .withCondition(Condition.LESSER_THAN_OR_EQUAL_TO) - .withSubnetMaskLength("llfryvdmvxadq"), - new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(8838306472043801259L) - .withNetworkPrefix("gna") + .withSequenceNumber(2017442840978093464L) + .withNetworkPrefix("kwabsolronqq") .withCondition(Condition.EQUAL_TO) - .withSubnetMaskLength("gfbktyjmf"), - new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(785803071405478131L) - .withNetworkPrefix("syqkfrbzgowox") - .withCondition(Condition.EQUAL_TO) - .withSubnetMaskLength("ajcxnyqgxhl"))); + .withSubnetMaskLength("lqxsjxtelex"), + new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(3518675659562178573L) + .withNetworkPrefix("b") + .withCondition(Condition.RANGE) + .withSubnetMaskLength("lzqocark"))); model = BinaryData.fromObject(model).toObject(IpPrefixPatchProperties.class); - Assertions.assertEquals("dei", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(1192063808706252824L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("cfxzirzzih", model.ipPrefixRules().get(0).networkPrefix()); - Assertions.assertEquals(Condition.RANGE, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("usuv", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("zkivyhjrliizjix", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.ipPrefixRules().get(0).action()); + Assertions.assertEquals(2017442840978093464L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("kwabsolronqq", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(Condition.EQUAL_TO, model.ipPrefixRules().get(0).condition()); + Assertions.assertEquals("lqxsjxtelex", model.ipPrefixRules().get(0).subnetMaskLength()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchTests.java index cafdc0a0d59b4..d240ffa3f7f95 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPatchTests.java @@ -18,42 +18,34 @@ public final class IpPrefixPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpPrefixPatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"hzzwvywrgyngy\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":926006283647968251,\"networkPrefix\":\"cakiqao\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"kclamgglvlmf\"},{\"action\":\"Permit\",\"sequenceNumber\":5081730758940077511,\"networkPrefix\":\"qey\",\"condition\":\"Range\",\"subnetMaskLength\":\"yg\"}]},\"tags\":{\"ejsxt\":\"fgqka\",\"eatlijjjrtvamcas\":\"gflwfgziiucijj\",\"gno\":\"knxkvccxetyvkunm\",\"jwpindedvabbxbh\":\"ikkgqo\"}}") + "{\"properties\":{\"annotation\":\"ibtyibuyvpirfqjp\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":7178657558999191056,\"networkPrefix\":\"sbede\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"k\"}]},\"tags\":{\"mnhjevdyzn\":\"xvucnul\",\"kmq\":\"ajsvk\"}}") .toObject(IpPrefixPatch.class); - Assertions.assertEquals("fgqka", model.tags().get("ejsxt")); - Assertions.assertEquals("hzzwvywrgyngy", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(926006283647968251L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("cakiqao", model.ipPrefixRules().get(0).networkPrefix()); - Assertions.assertEquals(Condition.EQUAL_TO, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("kclamgglvlmf", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("xvucnul", model.tags().get("mnhjevdyzn")); + Assertions.assertEquals("ibtyibuyvpirfqjp", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); + Assertions.assertEquals(7178657558999191056L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("sbede", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(Condition.GREATER_THAN_OR_EQUAL_TO, model.ipPrefixRules().get(0).condition()); + Assertions.assertEquals("k", model.ipPrefixRules().get(0).subnetMaskLength()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpPrefixPatch model = new IpPrefixPatch() - .withTags(mapOf("ejsxt", "fgqka", "eatlijjjrtvamcas", "gflwfgziiucijj", "gno", "knxkvccxetyvkunm", - "jwpindedvabbxbh", "ikkgqo")) - .withAnnotation("hzzwvywrgyngy") - .withIpPrefixRules(Arrays.asList( - new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(926006283647968251L) - .withNetworkPrefix("cakiqao") - .withCondition(Condition.EQUAL_TO) - .withSubnetMaskLength("kclamgglvlmf"), - new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(5081730758940077511L) - .withNetworkPrefix("qey") - .withCondition(Condition.RANGE) - .withSubnetMaskLength("yg"))); + IpPrefixPatch model = new IpPrefixPatch().withTags(mapOf("mnhjevdyzn", "xvucnul", "kmq", "ajsvk")) + .withAnnotation("ibtyibuyvpirfqjp") + .withIpPrefixRules(Arrays.asList(new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(7178657558999191056L) + .withNetworkPrefix("sbede") + .withCondition(Condition.GREATER_THAN_OR_EQUAL_TO) + .withSubnetMaskLength("k"))); model = BinaryData.fromObject(model).toObject(IpPrefixPatch.class); - Assertions.assertEquals("fgqka", model.tags().get("ejsxt")); - Assertions.assertEquals("hzzwvywrgyngy", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(926006283647968251L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("cakiqao", model.ipPrefixRules().get(0).networkPrefix()); - Assertions.assertEquals(Condition.EQUAL_TO, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("kclamgglvlmf", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("xvucnul", model.tags().get("mnhjevdyzn")); + Assertions.assertEquals("ibtyibuyvpirfqjp", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); + Assertions.assertEquals(7178657558999191056L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("sbede", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(Condition.GREATER_THAN_OR_EQUAL_TO, model.ipPrefixRules().get(0).condition()); + Assertions.assertEquals("k", model.ipPrefixRules().get(0).subnetMaskLength()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPropertiesTests.java index c3f9f4dda7df1..cccf5bec56b5c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixPropertiesTests.java @@ -16,46 +16,46 @@ public final class IpPrefixPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpPrefixProperties model = BinaryData.fromString( - "{\"annotation\":\"pvelszerqze\",\"networkFabricId\":\"o\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3527539741753718294,\"networkPrefix\":\"xwaljgl\",\"condition\":\"Range\",\"subnetMaskLength\":\"qwaafrqulhm\"},{\"action\":\"Permit\",\"sequenceNumber\":1237200805001740489,\"networkPrefix\":\"hdvafjrqpjiyrqjc\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"wmzwdfkbnrzorpdl\"},{\"action\":\"Permit\",\"sequenceNumber\":7502311595298203245,\"networkPrefix\":\"tqjfgxxsaet\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"vpyigdaqq\"},{\"action\":\"Deny\",\"sequenceNumber\":5236877755933058202,\"networkPrefix\":\"cduwjoedx\",\"condition\":\"Range\",\"subnetMaskLength\":\"aifpaurwwgil\"}],\"lastOperation\":{\"details\":\"qacdmkxwxdcvjwcy\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"UnderMaintenance\"}") + "{\"annotation\":\"czjnc\",\"networkFabricId\":\"iyqvldaswv\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3369917839311572660,\"networkPrefix\":\"qzlgcndhzxrrfcfs\",\"condition\":\"Range\",\"subnetMaskLength\":\"gsnxuw\"},{\"action\":\"Deny\",\"sequenceNumber\":860747801573155854,\"networkPrefix\":\"hefsb\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"zxomeikjclwz\"},{\"action\":\"Deny\",\"sequenceNumber\":5355520891451835218,\"networkPrefix\":\"wpfsuqtaaz\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"yxoyfp\"},{\"action\":\"Permit\",\"sequenceNumber\":2129339423545302965,\"networkPrefix\":\"qezxlhdj\",\"condition\":\"Range\",\"subnetMaskLength\":\"a\"}],\"lastOperation\":{\"details\":\"psozjiihj\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"RMA\"}") .toObject(IpPrefixProperties.class); - Assertions.assertEquals("pvelszerqze", model.annotation()); + Assertions.assertEquals("czjnc", model.annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(3527539741753718294L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("xwaljgl", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(3369917839311572660L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("qzlgcndhzxrrfcfs", model.ipPrefixRules().get(0).networkPrefix()); Assertions.assertEquals(Condition.RANGE, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("qwaafrqulhm", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("gsnxuw", model.ipPrefixRules().get(0).subnetMaskLength()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpPrefixProperties model = new IpPrefixProperties().withAnnotation("pvelszerqze") + IpPrefixProperties model = new IpPrefixProperties().withAnnotation("czjnc") .withIpPrefixRules(Arrays.asList( new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(3527539741753718294L) - .withNetworkPrefix("xwaljgl") + .withSequenceNumber(3369917839311572660L) + .withNetworkPrefix("qzlgcndhzxrrfcfs") .withCondition(Condition.RANGE) - .withSubnetMaskLength("qwaafrqulhm"), - new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(1237200805001740489L) - .withNetworkPrefix("hdvafjrqpjiyrqjc") - .withCondition(Condition.EQUAL_TO) - .withSubnetMaskLength("wmzwdfkbnrzorpdl"), - new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) - .withSequenceNumber(7502311595298203245L) - .withNetworkPrefix("tqjfgxxsaet") - .withCondition(Condition.GREATER_THAN_OR_EQUAL_TO) - .withSubnetMaskLength("vpyigdaqq"), + .withSubnetMaskLength("gsnxuw"), new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(5236877755933058202L) - .withNetworkPrefix("cduwjoedx") + .withSequenceNumber(860747801573155854L) + .withNetworkPrefix("hefsb") + .withCondition(Condition.LESSER_THAN_OR_EQUAL_TO) + .withSubnetMaskLength("zxomeikjclwz"), + new IpPrefixRule().withAction(CommunityActionTypes.DENY) + .withSequenceNumber(5355520891451835218L) + .withNetworkPrefix("wpfsuqtaaz") + .withCondition(Condition.GREATER_THAN_OR_EQUAL_TO) + .withSubnetMaskLength("yxoyfp"), + new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(2129339423545302965L) + .withNetworkPrefix("qezxlhdj") .withCondition(Condition.RANGE) - .withSubnetMaskLength("aifpaurwwgil"))); + .withSubnetMaskLength("a"))); model = BinaryData.fromObject(model).toObject(IpPrefixProperties.class); - Assertions.assertEquals("pvelszerqze", model.annotation()); + Assertions.assertEquals("czjnc", model.annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.ipPrefixRules().get(0).action()); - Assertions.assertEquals(3527539741753718294L, model.ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("xwaljgl", model.ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals(3369917839311572660L, model.ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("qzlgcndhzxrrfcfs", model.ipPrefixRules().get(0).networkPrefix()); Assertions.assertEquals(Condition.RANGE, model.ipPrefixRules().get(0).condition()); - Assertions.assertEquals("qwaafrqulhm", model.ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("gsnxuw", model.ipPrefixRules().get(0).subnetMaskLength()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixRuleTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixRuleTests.java index 74bbcb0becb76..4ec91b1f27a94 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixRuleTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixRuleTests.java @@ -14,27 +14,27 @@ public final class IpPrefixRuleTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpPrefixRule model = BinaryData.fromString( - "{\"action\":\"Deny\",\"sequenceNumber\":7455281713674658212,\"networkPrefix\":\"xrtuicds\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"m\"}") + "{\"action\":\"Permit\",\"sequenceNumber\":5772394441141773169,\"networkPrefix\":\"nxwdvwnjkg\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"xaurs\"}") .toObject(IpPrefixRule.class); - Assertions.assertEquals(CommunityActionTypes.DENY, model.action()); - Assertions.assertEquals(7455281713674658212L, model.sequenceNumber()); - Assertions.assertEquals("xrtuicds", model.networkPrefix()); - Assertions.assertEquals(Condition.LESSER_THAN_OR_EQUAL_TO, model.condition()); - Assertions.assertEquals("m", model.subnetMaskLength()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.action()); + Assertions.assertEquals(5772394441141773169L, model.sequenceNumber()); + Assertions.assertEquals("nxwdvwnjkg", model.networkPrefix()); + Assertions.assertEquals(Condition.EQUAL_TO, model.condition()); + Assertions.assertEquals("xaurs", model.subnetMaskLength()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IpPrefixRule model = new IpPrefixRule().withAction(CommunityActionTypes.DENY) - .withSequenceNumber(7455281713674658212L) - .withNetworkPrefix("xrtuicds") - .withCondition(Condition.LESSER_THAN_OR_EQUAL_TO) - .withSubnetMaskLength("m"); + IpPrefixRule model = new IpPrefixRule().withAction(CommunityActionTypes.PERMIT) + .withSequenceNumber(5772394441141773169L) + .withNetworkPrefix("nxwdvwnjkg") + .withCondition(Condition.EQUAL_TO) + .withSubnetMaskLength("xaurs"); model = BinaryData.fromObject(model).toObject(IpPrefixRule.class); - Assertions.assertEquals(CommunityActionTypes.DENY, model.action()); - Assertions.assertEquals(7455281713674658212L, model.sequenceNumber()); - Assertions.assertEquals("xrtuicds", model.networkPrefix()); - Assertions.assertEquals(Condition.LESSER_THAN_OR_EQUAL_TO, model.condition()); - Assertions.assertEquals("m", model.subnetMaskLength()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.action()); + Assertions.assertEquals(5772394441141773169L, model.sequenceNumber()); + Assertions.assertEquals("nxwdvwnjkg", model.networkPrefix()); + Assertions.assertEquals(Condition.EQUAL_TO, model.condition()); + Assertions.assertEquals("xaurs", model.subnetMaskLength()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateMockTests.java index e3ed389eb03a4..266f35b92f566 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesCreateMockTests.java @@ -27,7 +27,7 @@ public final class IpPrefixesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"iohdxyuk\",\"networkFabricId\":\"lfwykrpojenpsff\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":7399253583141122308,\"networkPrefix\":\"ajgblehxp\",\"condition\":\"Range\",\"subnetMaskLength\":\"vxfnzcevfbie\"},{\"action\":\"Permit\",\"sequenceNumber\":3938687823131203074,\"networkPrefix\":\"jdkzfkneckv\",\"condition\":\"Range\",\"subnetMaskLength\":\"szr\"},{\"action\":\"Permit\",\"sequenceNumber\":5134733880986488302,\"networkPrefix\":\"jhyrzzxqtc\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"hzcicitykzyi\"}],\"lastOperation\":{\"details\":\"ingnfunhtzgxsyi\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\"},\"location\":\"jztbw\",\"tags\":{\"hznh\":\"qzqw\"},\"id\":\"zdb\",\"name\":\"lkdsbekvprkwpvx\",\"type\":\"e\"}"; + = "{\"properties\":{\"annotation\":\"iohdxyuk\",\"networkFabricId\":\"lfwykrpojenpsff\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":7399253583141122308,\"networkPrefix\":\"ajgblehxp\",\"condition\":\"Range\",\"subnetMaskLength\":\"vxfnzcevfbie\"},{\"action\":\"Permit\",\"sequenceNumber\":3938687823131203074,\"networkPrefix\":\"jdkzfkneckv\",\"condition\":\"Range\",\"subnetMaskLength\":\"szr\"},{\"action\":\"Permit\",\"sequenceNumber\":5134733880986488302,\"networkPrefix\":\"jhyrzzxqtc\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"hzcicitykzyi\"}],\"lastOperation\":{\"details\":\"ingnfunhtzgxsyi\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\"},\"location\":\"jztbw\",\"tags\":{\"hznh\":\"qzqw\"},\"id\":\"zdb\",\"name\":\"lkdsbekvprkwpvx\",\"type\":\"e\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupWithResponseMockTests.java index 6b241a1a6123a..a3f89aba42aff 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesGetByResourceGroupWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class IpPrefixesGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"wzvdfeyaevzjqfx\",\"networkFabricId\":\"yjzu\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":1312800485302260834,\"networkPrefix\":\"vtjmdymdyps\",\"condition\":\"Range\",\"subnetMaskLength\":\"fyevhurklow\"},{\"action\":\"Permit\",\"sequenceNumber\":2362975858933710127,\"networkPrefix\":\"zclilyoixeeiznqi\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"hsmtxjcajhs\"}],\"lastOperation\":{\"details\":\"qtzrnubodg\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"location\":\"gugrjxx\",\"tags\":{\"vumwnbzslm\":\"o\",\"pxtipk\":\"fcttkprx\",\"amdvnc\":\"bebafiqxomevke\",\"tytoainign\":\"tnb\"},\"id\":\"hzqgbaqvqeyla\",\"name\":\"kobkrg\",\"type\":\"yfnbxw\"}"; + = "{\"properties\":{\"annotation\":\"wzvdfeyaevzjqfx\",\"networkFabricId\":\"yjzu\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":1312800485302260834,\"networkPrefix\":\"vtjmdymdyps\",\"condition\":\"Range\",\"subnetMaskLength\":\"fyevhurklow\"},{\"action\":\"Permit\",\"sequenceNumber\":2362975858933710127,\"networkPrefix\":\"zclilyoixeeiznqi\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"hsmtxjcajhs\"}],\"lastOperation\":{\"details\":\"qtzrnubodg\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"location\":\"gugrjxx\",\"tags\":{\"vumwnbzslm\":\"o\",\"pxtipk\":\"fcttkprx\",\"amdvnc\":\"bebafiqxomevke\",\"tytoainign\":\"tnb\"},\"id\":\"hzqgbaqvqeyla\",\"name\":\"kobkrg\",\"type\":\"yfnbxw\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupMockTests.java index 1e5a565155cf6..7ab70923ad160 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListByResourceGroupMockTests.java @@ -24,7 +24,7 @@ public final class IpPrefixesListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"zhxothfyifjufzlg\",\"networkFabricId\":\"smt\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3404549607837020735,\"networkPrefix\":\"zyycqsxy\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"ezpryc\"},{\"action\":\"Deny\",\"sequenceNumber\":7174890691377290019,\"networkPrefix\":\"yamochpwwykfyt\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"dckwqvckh\"},{\"action\":\"Deny\",\"sequenceNumber\":6846764562735599449,\"networkPrefix\":\"mcad\",\"condition\":\"Range\",\"subnetMaskLength\":\"uvmj\"}],\"lastOperation\":{\"details\":\"az\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"ffkg\",\"tags\":{\"jmwaapzrkhp\":\"dl\",\"qeoajnaotav\":\"yhz\"},\"id\":\"m\",\"name\":\"fqtdgdfecjuecyrw\",\"type\":\"oohmcwxbaczypslf\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"zhxothfyifjufzlg\",\"networkFabricId\":\"smt\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3404549607837020735,\"networkPrefix\":\"zyycqsxy\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"ezpryc\"},{\"action\":\"Deny\",\"sequenceNumber\":7174890691377290019,\"networkPrefix\":\"yamochpwwykfyt\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"dckwqvckh\"},{\"action\":\"Deny\",\"sequenceNumber\":6846764562735599449,\"networkPrefix\":\"mcad\",\"condition\":\"Range\",\"subnetMaskLength\":\"uvmj\"}],\"lastOperation\":{\"details\":\"az\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"ffkg\",\"tags\":{\"jmwaapzrkhp\":\"dl\",\"qeoajnaotav\":\"yhz\"},\"id\":\"m\",\"name\":\"fqtdgdfecjuecyrw\",\"type\":\"oohmcwxbaczypslf\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListMockTests.java index 83ae15093ec82..b897cdeb3b5df 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListMockTests.java @@ -24,7 +24,7 @@ public final class IpPrefixesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"fwonbtgpeizu\",\"networkFabricId\":\"oeo\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":4137358365857370833,\"networkPrefix\":\"wgfhdfom\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"cf\"},{\"action\":\"Deny\",\"sequenceNumber\":4334556995770779106,\"networkPrefix\":\"jg\",\"condition\":\"Range\",\"subnetMaskLength\":\"gmeqhtngrx\"}],\"lastOperation\":{\"details\":\"osewfbllegezvwu\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\"},\"location\":\"jacmazilqgvm\",\"tags\":{\"ykmdklwbqkmtw\":\"oqpyb\",\"c\":\"aqqqtmpgr\",\"oebo\":\"ltwedllp\"},\"id\":\"hyiohcj\",\"name\":\"gduoggx\",\"type\":\"zmy\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"fwonbtgpeizu\",\"networkFabricId\":\"oeo\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":4137358365857370833,\"networkPrefix\":\"wgfhdfom\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"cf\"},{\"action\":\"Deny\",\"sequenceNumber\":4334556995770779106,\"networkPrefix\":\"jg\",\"condition\":\"Range\",\"subnetMaskLength\":\"gmeqhtngrx\"}],\"lastOperation\":{\"details\":\"osewfbllegezvwu\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\"},\"location\":\"jacmazilqgvm\",\"tags\":{\"ykmdklwbqkmtw\":\"oqpyb\",\"c\":\"aqqqtmpgr\",\"oebo\":\"ltwedllp\"},\"id\":\"hyiohcj\",\"name\":\"gduoggx\",\"type\":\"zmy\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListResultTests.java index b165c008a6679..4582bbea9e102 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IpPrefixesListResultTests.java @@ -14,16 +14,16 @@ public final class IpPrefixesListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IpPrefixesListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"vxisimjcea\",\"networkFabricId\":\"jqvlsumywz\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":2662781090324647591,\"networkPrefix\":\"onoyjf\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"b\"},{\"action\":\"Deny\",\"sequenceNumber\":293197962792845943,\"networkPrefix\":\"lkfk\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"vop\"}],\"lastOperation\":{\"details\":\"uoqujlyeg\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"qqbtny\",\"tags\":{\"baevwjcnkottl\":\"lxdbfvabmvms\"},\"id\":\"uhvajmailfemjjza\",\"name\":\"zwjiqullq\",\"type\":\"bdmvrscmqerndbr\"}],\"nextLink\":\"eof\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"bc\",\"networkFabricId\":\"dtsnxawqytllhdyz\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":6236884397166666313,\"networkPrefix\":\"exn\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"kywymxgaabj\"},{\"action\":\"Deny\",\"sequenceNumber\":4736497487397122578,\"networkPrefix\":\"ohfaog\",\"condition\":\"GreaterThanOrEqualTo\",\"subnetMaskLength\":\"wrsiwdyjqurykc\"}],\"lastOperation\":{\"details\":\"ueekcsue\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Enabled\"},\"location\":\"cbgydlqi\",\"tags\":{\"ilkfbnrqqxv\":\"mhmpty\",\"swbnfddepldwqjns\":\"tpbnfnqtxjtoma\",\"whsbrcary\":\"zygleexahvm\",\"ptdmkrrbhmpful\":\"sjjzyvoaqajuveh\"},\"id\":\"be\",\"name\":\"gybpmfb\",\"type\":\"ununm\"},{\"properties\":{\"annotation\":\"krvfyifkdschl\",\"networkFabricId\":\"fict\",\"ipPrefixRules\":[{\"action\":\"Permit\",\"sequenceNumber\":3206174134277499471,\"networkPrefix\":\"gcwn\",\"condition\":\"Range\",\"subnetMaskLength\":\"gfyrtogmhmjpjsc\"},{\"action\":\"Permit\",\"sequenceNumber\":5998485205199829502,\"networkPrefix\":\"qwtygevgwmseharx\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"n\"}],\"lastOperation\":{\"details\":\"mbpjptnvwjh\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Disabled\"},\"location\":\"btpakftngatw\",\"tags\":{\"mfjhpycvjqdvdwkq\":\"yutrymd\",\"n\":\"ldrlefgnaavua\",\"uhspfefyihduy\":\"etaoutnpdc\",\"hmtybkcgsuthhll\":\"uyld\"},\"id\":\"mwynefxexlfciatx\",\"name\":\"jrr\",\"type\":\"kmdskjhhxd\"},{\"properties\":{\"annotation\":\"jfoxcxscvslxl\",\"networkFabricId\":\"a\",\"ipPrefixRules\":[{\"action\":\"Deny\",\"sequenceNumber\":2916749874152622813,\"networkPrefix\":\"kmyjmkxett\",\"condition\":\"LesserThanOrEqualTo\",\"subnetMaskLength\":\"jfkqidn\"},{\"action\":\"Permit\",\"sequenceNumber\":25897802216368196,\"networkPrefix\":\"xjhqxcsqhtkb\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"rngl\"},{\"action\":\"Deny\",\"sequenceNumber\":7683793166621740223,\"networkPrefix\":\"ips\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"lqkznxhhllxricct\"},{\"action\":\"Deny\",\"sequenceNumber\":2013385033802741553,\"networkPrefix\":\"qqoajxeiyglesrw\",\"condition\":\"EqualTo\",\"subnetMaskLength\":\"hdctrceqn\"}],\"lastOperation\":{\"details\":\"upobehdmljz\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\"},\"location\":\"pbibn\",\"tags\":{\"fexleqirccjcly\":\"hep\",\"vczuodacpune\":\"cgxvrpj\",\"oy\":\"tepdjxqes\",\"aewse\":\"uiylpc\"},\"id\":\"vesk\",\"name\":\"xegqphr\",\"type\":\"fn\"}],\"nextLink\":\"ctmjtsghpbcbc\"}") .toObject(IpPrefixesListResult.class); - Assertions.assertEquals("qqbtny", model.value().get(0).location()); - Assertions.assertEquals("lxdbfvabmvms", model.value().get(0).tags().get("baevwjcnkottl")); - Assertions.assertEquals("vxisimjcea", model.value().get(0).annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, model.value().get(0).ipPrefixRules().get(0).action()); - Assertions.assertEquals(2662781090324647591L, model.value().get(0).ipPrefixRules().get(0).sequenceNumber()); - Assertions.assertEquals("onoyjf", model.value().get(0).ipPrefixRules().get(0).networkPrefix()); + Assertions.assertEquals("cbgydlqi", model.value().get(0).location()); + Assertions.assertEquals("mhmpty", model.value().get(0).tags().get("ilkfbnrqqxv")); + Assertions.assertEquals("bc", model.value().get(0).annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, model.value().get(0).ipPrefixRules().get(0).action()); + Assertions.assertEquals(6236884397166666313L, model.value().get(0).ipPrefixRules().get(0).sequenceNumber()); + Assertions.assertEquals("exn", model.value().get(0).ipPrefixRules().get(0).networkPrefix()); Assertions.assertEquals(Condition.EQUAL_TO, model.value().get(0).ipPrefixRules().get(0).condition()); - Assertions.assertEquals("b", model.value().get(0).ipPrefixRules().get(0).subnetMaskLength()); - Assertions.assertEquals("eof", model.nextLink()); + Assertions.assertEquals("kywymxgaabj", model.value().get(0).ipPrefixRules().get(0).subnetMaskLength()); + Assertions.assertEquals("ctmjtsghpbcbc", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPatchPropertiesTests.java index 072f4c93cb3c5..c3785c1a41d1f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPatchPropertiesTests.java @@ -13,20 +13,19 @@ public final class IsolationDomainPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - IsolationDomainPatchProperties model = BinaryData.fromString( - "{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"ptb\",\"ponhblqi\",\"cnuqfpzjz\",\"bpcwtwtrchkcmru\"]}") - .toObject(IsolationDomainPatchProperties.class); - Assertions.assertEquals(Encapsulation.NONE, model.encapsulation()); - Assertions.assertEquals("ptb", model.neighborGroupIds().get(0)); + IsolationDomainPatchProperties model + = BinaryData.fromString("{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"emxkahapesnbyo\"]}") + .toObject(IsolationDomainPatchProperties.class); + Assertions.assertEquals(Encapsulation.GRE, model.encapsulation()); + Assertions.assertEquals("emxkahapesnbyo", model.neighborGroupIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IsolationDomainPatchProperties model - = new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("ptb", "ponhblqi", "cnuqfpzjz", "bpcwtwtrchkcmru")); + IsolationDomainPatchProperties model = new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("emxkahapesnbyo")); model = BinaryData.fromObject(model).toObject(IsolationDomainPatchProperties.class); - Assertions.assertEquals(Encapsulation.NONE, model.encapsulation()); - Assertions.assertEquals("ptb", model.neighborGroupIds().get(0)); + Assertions.assertEquals(Encapsulation.GRE, model.encapsulation()); + Assertions.assertEquals("emxkahapesnbyo", model.neighborGroupIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPropertiesTests.java index 7c3fba4c8df4f..0b8cff0e72be0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/IsolationDomainPropertiesTests.java @@ -13,19 +13,19 @@ public final class IsolationDomainPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - IsolationDomainProperties model = BinaryData.fromString( - "{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"gykzovstvymdqa\",\"mqm\",\"rnzgubqkfnox\",\"voyjdgfkrq\"]}") + IsolationDomainProperties model = BinaryData + .fromString("{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"fnxr\",\"ncmlzvvrme\",\"fhqsa\",\"jqzr\"]}") .toObject(IsolationDomainProperties.class); - Assertions.assertEquals(Encapsulation.NONE, model.encapsulation()); - Assertions.assertEquals("gykzovstvymdqa", model.neighborGroupIds().get(0)); + Assertions.assertEquals(Encapsulation.GRE, model.encapsulation()); + Assertions.assertEquals("fnxr", model.neighborGroupIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - IsolationDomainProperties model = new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("gykzovstvymdqa", "mqm", "rnzgubqkfnox", "voyjdgfkrq")); + IsolationDomainProperties model = new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("fnxr", "ncmlzvvrme", "fhqsa", "jqzr")); model = BinaryData.fromObject(model).toObject(IsolationDomainProperties.class); - Assertions.assertEquals(Encapsulation.NONE, model.encapsulation()); - Assertions.assertEquals("gykzovstvymdqa", model.neighborGroupIds().get(0)); + Assertions.assertEquals(Encapsulation.GRE, model.encapsulation()); + Assertions.assertEquals("fnxr", model.neighborGroupIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainInnerTests.java index 0d24e28222a4a..8223dc02887e7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainInnerTests.java @@ -18,41 +18,43 @@ public final class L2IsolationDomainInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L2IsolationDomainInner model = BinaryData.fromString( - "{\"properties\":{\"networkFabricId\":\"tfnnxrk\",\"vlanId\":330841837,\"mtu\":846889023,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"fmu\",\"lastOperation\":{\"details\":\"ri\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"xbbcbrw\"},\"identity\":{\"principalId\":\"tgnjizbeewoiymrv\",\"tenantId\":\"juyrsrziuctixg\",\"type\":\"None\",\"userAssignedIdentities\":{\"syparybjufp\":{\"principalId\":\"frevkaapezkiswqj\",\"clientId\":\"g\"}}},\"location\":\"jczjnciuiyqv\",\"tags\":{\"ppisqqzlgcndhzx\":\"sw\",\"srhkhgsnxuwwkpph\":\"rfc\"},\"id\":\"fsbzxlbzxo\",\"name\":\"eikjclwza\",\"type\":\"nmwpf\"}") + "{\"properties\":{\"networkFabricId\":\"zarpzeqacdldt\",\"vlanId\":1615507010,\"mtu\":2081028827,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"cpczshnuqnd\",\"lastOperation\":{\"details\":\"upfkhuytuszxhmtv\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\",\"annotation\":\"kvzwydw\"},\"identity\":{\"principalId\":\"aokgkskjivbsshaj\",\"tenantId\":\"u\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"onofninbdbzsxcw\":{\"principalId\":\"pgeumilh\",\"clientId\":\"itrdexy\"},\"fogdrtbfcm\":{\"principalId\":\"rsmpcbbprtuga\",\"clientId\":\"zbcyksiv\"},\"xkecifhocj\":{\"principalId\":\"ftsjcwj\",\"clientId\":\"sgmbawvif\"}}},\"location\":\"kl\",\"tags\":{\"xxvir\":\"rvtxvcmufunlc\",\"rquv\":\"eyngjg\"},\"id\":\"ygg\",\"name\":\"pmcrdcuelj\",\"type\":\"iahxmfqryarvs\"}") .toObject(L2IsolationDomainInner.class); - Assertions.assertEquals("jczjnciuiyqv", model.location()); - Assertions.assertEquals("sw", model.tags().get("ppisqqzlgcndhzx")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); - Assertions.assertEquals("tfnnxrk", model.networkFabricId()); - Assertions.assertEquals(330841837, model.vlanId()); - Assertions.assertEquals(846889023, model.mtu()); - Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("fmu", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("xbbcbrw", model.annotation()); + Assertions.assertEquals("kl", model.location()); + Assertions.assertEquals("rvtxvcmufunlc", model.tags().get("xxvir")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("zarpzeqacdldt", model.networkFabricId()); + Assertions.assertEquals(1615507010, model.vlanId()); + Assertions.assertEquals(2081028827, model.mtu()); + Assertions.assertEquals(ExtendedVlan.DISABLED, model.extendedVlan()); + Assertions.assertEquals("cpczshnuqnd", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("kvzwydw", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L2IsolationDomainInner model = new L2IsolationDomainInner().withLocation("jczjnciuiyqv") - .withTags(mapOf("ppisqqzlgcndhzx", "sw", "srhkhgsnxuwwkpph", "rfc")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE) - .withUserAssignedIdentities(mapOf("syparybjufp", new UserAssignedIdentity()))) - .withNetworkFabricId("tfnnxrk") - .withVlanId(330841837) - .withMtu(846889023) - .withExtendedVlan(ExtendedVlan.ENABLED) - .withNetworkToNetworkInterconnectId("fmu") - .withAnnotation("xbbcbrw"); + L2IsolationDomainInner model = new L2IsolationDomainInner().withLocation("kl") + .withTags(mapOf("xxvir", "rvtxvcmufunlc", "rquv", "eyngjg")) + .withIdentity( + new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("onofninbdbzsxcw", new UserAssignedIdentity(), "fogdrtbfcm", + new UserAssignedIdentity(), "xkecifhocj", new UserAssignedIdentity()))) + .withNetworkFabricId("zarpzeqacdldt") + .withVlanId(1615507010) + .withMtu(2081028827) + .withExtendedVlan(ExtendedVlan.DISABLED) + .withNetworkToNetworkInterconnectId("cpczshnuqnd") + .withAnnotation("kvzwydw"); model = BinaryData.fromObject(model).toObject(L2IsolationDomainInner.class); - Assertions.assertEquals("jczjnciuiyqv", model.location()); - Assertions.assertEquals("sw", model.tags().get("ppisqqzlgcndhzx")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); - Assertions.assertEquals("tfnnxrk", model.networkFabricId()); - Assertions.assertEquals(330841837, model.vlanId()); - Assertions.assertEquals(846889023, model.mtu()); - Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("fmu", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("xbbcbrw", model.annotation()); + Assertions.assertEquals("kl", model.location()); + Assertions.assertEquals("rvtxvcmufunlc", model.tags().get("xxvir")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("zarpzeqacdldt", model.networkFabricId()); + Assertions.assertEquals(1615507010, model.vlanId()); + Assertions.assertEquals(2081028827, model.mtu()); + Assertions.assertEquals(ExtendedVlan.DISABLED, model.extendedVlan()); + Assertions.assertEquals("cpczshnuqnd", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("kvzwydw", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchPropertiesTests.java index c53c8329ed773..74491d9ca01a8 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchPropertiesTests.java @@ -13,24 +13,24 @@ public final class L2IsolationDomainPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L2IsolationDomainPatchProperties model = BinaryData.fromString( - "{\"mtu\":1378278521,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"crraueekcsu\",\"annotation\":\"ogd\"}") + "{\"mtu\":1219847323,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"z\",\"annotation\":\"qreblui\"}") .toObject(L2IsolationDomainPatchProperties.class); - Assertions.assertEquals("ogd", model.annotation()); - Assertions.assertEquals(1378278521, model.mtu()); - Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("crraueekcsu", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("qreblui", model.annotation()); + Assertions.assertEquals(1219847323, model.mtu()); + Assertions.assertEquals(ExtendedVlan.DISABLED, model.extendedVlan()); + Assertions.assertEquals("z", model.networkToNetworkInterconnectId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L2IsolationDomainPatchProperties model = new L2IsolationDomainPatchProperties().withAnnotation("ogd") - .withMtu(1378278521) - .withExtendedVlan(ExtendedVlan.ENABLED) - .withNetworkToNetworkInterconnectId("crraueekcsu"); + L2IsolationDomainPatchProperties model = new L2IsolationDomainPatchProperties().withAnnotation("qreblui") + .withMtu(1219847323) + .withExtendedVlan(ExtendedVlan.DISABLED) + .withNetworkToNetworkInterconnectId("z"); model = BinaryData.fromObject(model).toObject(L2IsolationDomainPatchProperties.class); - Assertions.assertEquals("ogd", model.annotation()); - Assertions.assertEquals(1378278521, model.mtu()); - Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("crraueekcsu", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("qreblui", model.annotation()); + Assertions.assertEquals(1219847323, model.mtu()); + Assertions.assertEquals(ExtendedVlan.DISABLED, model.extendedVlan()); + Assertions.assertEquals("z", model.networkToNetworkInterconnectId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchTests.java index 12b8e605d2ec0..7cd9832cf187e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPatchTests.java @@ -18,35 +18,34 @@ public final class L2IsolationDomainPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L2IsolationDomainPatch model = BinaryData.fromString( - "{\"properties\":{\"mtu\":1778225754,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"ajsvk\",\"annotation\":\"mqozzkivy\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"qlmgnlqxsjxt\":{\"principalId\":\"jixlqfhefkwabs\",\"clientId\":\"ron\"},\"nndtsnxa\":{\"principalId\":\"exhvuqbozoolz\",\"clientId\":\"carkuzlb\"}}},\"tags\":{\"yzm\":\"tllh\",\"nxakckyw\":\"ckze\",\"zvkiwrsiwdy\":\"mxgaabjkdtfohfao\"}}") + "{\"properties\":{\"mtu\":1468932349,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"vq\",\"annotation\":\"tmbqdabzfivfok\"},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"lrz\":{\"principalId\":\"agjfwyyrlhgenuze\",\"clientId\":\"vkvebaqsz\"}}},\"tags\":{\"nxtminklog\":\"mdqgmihzpimcqr\",\"nsqktc\":\"svtzarhzv\",\"pkybtgl\":\"bjwzzos\",\"qjcemqbmf\":\"kzpgaj\"}}") .toObject(L2IsolationDomainPatch.class); - Assertions.assertEquals("tllh", model.tags().get("yzm")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals(1778225754, model.mtu()); + Assertions.assertEquals("mdqgmihzpimcqr", model.tags().get("nxtminklog")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals(1468932349, model.mtu()); Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("ajsvk", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("mqozzkivy", model.annotation()); + Assertions.assertEquals("vq", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("tmbqdabzfivfok", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { L2IsolationDomainPatch model = new L2IsolationDomainPatch() - .withTags(mapOf("yzm", "tllh", "nxakckyw", "ckze", "zvkiwrsiwdy", "mxgaabjkdtfohfao")) - .withIdentity( - new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities( - mapOf("qlmgnlqxsjxt", new UserAssignedIdentity(), "nndtsnxa", new UserAssignedIdentity()))) - .withMtu(1778225754) + .withTags(mapOf("nxtminklog", "mdqgmihzpimcqr", "nsqktc", "svtzarhzv", "pkybtgl", "bjwzzos", "qjcemqbmf", + "kzpgaj")) + .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("lrz", new UserAssignedIdentity()))) + .withMtu(1468932349) .withExtendedVlan(ExtendedVlan.ENABLED) - .withNetworkToNetworkInterconnectId("ajsvk") - .withAnnotation("mqozzkivy"); + .withNetworkToNetworkInterconnectId("vq") + .withAnnotation("tmbqdabzfivfok"); model = BinaryData.fromObject(model).toObject(L2IsolationDomainPatch.class); - Assertions.assertEquals("tllh", model.tags().get("yzm")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals(1778225754, model.mtu()); + Assertions.assertEquals("mdqgmihzpimcqr", model.tags().get("nxtminklog")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals(1468932349, model.mtu()); Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("ajsvk", model.networkToNetworkInterconnectId()); - Assertions.assertEquals("mqozzkivy", model.annotation()); + Assertions.assertEquals("vq", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("tmbqdabzfivfok", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPropertiesTests.java index 8d204f6e5ca13..6c0f1b4181a9c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainPropertiesTests.java @@ -13,30 +13,30 @@ public final class L2IsolationDomainPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L2IsolationDomainProperties model = BinaryData.fromString( - "{\"networkFabricId\":\"uqtaazyqbxyxoyf\",\"vlanId\":634077919,\"mtu\":495775469,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"zxlhdjzqdcadwv\",\"lastOperation\":{\"details\":\"zjiihjr\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Updating\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"pnx\"}") + "{\"networkFabricId\":\"zqbglcjkays\",\"vlanId\":1856331055,\"mtu\":1994794374,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"btl\",\"lastOperation\":{\"details\":\"gblioskkfmkm\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\",\"annotation\":\"kkqvjcteoedl\"}") .toObject(L2IsolationDomainProperties.class); - Assertions.assertEquals("pnx", model.annotation()); - Assertions.assertEquals("uqtaazyqbxyxoyf", model.networkFabricId()); - Assertions.assertEquals(634077919, model.vlanId()); - Assertions.assertEquals(495775469, model.mtu()); + Assertions.assertEquals("kkqvjcteoedl", model.annotation()); + Assertions.assertEquals("zqbglcjkays", model.networkFabricId()); + Assertions.assertEquals(1856331055, model.vlanId()); + Assertions.assertEquals(1994794374, model.mtu()); Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("zxlhdjzqdcadwv", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("btl", model.networkToNetworkInterconnectId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L2IsolationDomainProperties model = new L2IsolationDomainProperties().withAnnotation("pnx") - .withNetworkFabricId("uqtaazyqbxyxoyf") - .withVlanId(634077919) - .withMtu(495775469) + L2IsolationDomainProperties model = new L2IsolationDomainProperties().withAnnotation("kkqvjcteoedl") + .withNetworkFabricId("zqbglcjkays") + .withVlanId(1856331055) + .withMtu(1994794374) .withExtendedVlan(ExtendedVlan.ENABLED) - .withNetworkToNetworkInterconnectId("zxlhdjzqdcadwv"); + .withNetworkToNetworkInterconnectId("btl"); model = BinaryData.fromObject(model).toObject(L2IsolationDomainProperties.class); - Assertions.assertEquals("pnx", model.annotation()); - Assertions.assertEquals("uqtaazyqbxyxoyf", model.networkFabricId()); - Assertions.assertEquals(634077919, model.vlanId()); - Assertions.assertEquals(495775469, model.mtu()); + Assertions.assertEquals("kkqvjcteoedl", model.annotation()); + Assertions.assertEquals("zqbglcjkays", model.networkFabricId()); + Assertions.assertEquals(1856331055, model.vlanId()); + Assertions.assertEquals(1994794374, model.mtu()); Assertions.assertEquals(ExtendedVlan.ENABLED, model.extendedVlan()); - Assertions.assertEquals("zxlhdjzqdcadwv", model.networkToNetworkInterconnectId()); + Assertions.assertEquals("btl", model.networkToNetworkInterconnectId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateMockTests.java index 0f777ac16dcea..91749f882298c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsCreateMockTests.java @@ -27,7 +27,7 @@ public final class L2IsolationDomainsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"networkFabricId\":\"vqyi\",\"vlanId\":1378450823,\"mtu\":1120818770,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"vmxnavxzpyaptex\",\"lastOperation\":{\"details\":\"qhewhcchexczrmyn\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"wolfmfazxwcaic\"},\"identity\":{\"principalId\":\"ttzfswohddlii\",\"tenantId\":\"osqpli\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"crzbtlrbzqt\":{\"principalId\":\"nb\",\"clientId\":\"vuukydiks\"},\"hyujqxyfbkaz\":{\"principalId\":\"gajfa\",\"clientId\":\"tohdlpcixpxxnyhi\"}}},\"location\":\"ayabrdnovuduww\",\"tags\":{\"kmci\":\"gcn\"},\"id\":\"hwwhyejhwbdf\",\"name\":\"f\",\"type\":\"zwkmrjfsqbc\"}"; + = "{\"properties\":{\"networkFabricId\":\"frrjp\",\"vlanId\":1598760863,\"mtu\":300786264,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"vcpgqiis\",\"lastOperation\":{\"details\":\"g\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\",\"annotation\":\"kkcxc\"},\"identity\":{\"principalId\":\"ronxmtrhwwd\",\"tenantId\":\"cqutyszhzlvkm\",\"type\":\"None\",\"userAssignedIdentities\":{\"kg\":{\"principalId\":\"bzarmepbmogtfp\",\"clientId\":\"kxsyohfrlyy\"},\"dgnuoewfgt\":{\"principalId\":\"chuzhngwtbhjg\",\"clientId\":\"ioe\"},\"gkrppmvnoqt\":{\"principalId\":\"mfixtyavv\",\"clientId\":\"jqdjkonbgegwx\"}}},\"location\":\"ciqaw\",\"tags\":{\"scotidi\":\"kvaqspb\",\"jkfmrjn\":\"xmt\",\"yjmbydr\":\"rjsqtirhabhhpcvs\",\"wruogmthfqcy\":\"xvnmtjmuxrdmu\"},\"id\":\"cxlllk\",\"name\":\"jgjlwfssgiebq\",\"type\":\"uscm\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,32 +36,34 @@ public void testCreate() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - L2IsolationDomain response = manager.l2IsolationDomains() - .define("oxohgkdnhb") - .withRegion("ugwhkw") - .withExistingResourceGroup("fijpjiudnustb") - .withNetworkFabricId("uepuv") - .withVlanId(239779991) - .withTags(mapOf("crkm", "qnxpo", "egsbuqdpzhq", "ajy", "xrexbargbmemopyp", "czzutxtid", "nnowpvxuuvhwsr", - "uomowucj")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("bzjyzajdpbnbpzxn", new UserAssignedIdentity(), "xi", - new UserAssignedIdentity(), "mipfudzntb", new UserAssignedIdentity()))) - .withMtu(1735632778) - .withExtendedVlan(ExtendedVlan.ENABLED) - .withNetworkToNetworkInterconnectId("vfrhyxlw") - .withAnnotation("mkyouwmjxhmkch") - .create(); + L2IsolationDomain response + = manager.l2IsolationDomains() + .define("fkjd") + .withRegion("hwbdfcfyzw") + .withExistingResourceGroup("j") + .withNetworkFabricId("lqtqjabwtk") + .withVlanId(1101700630) + .withTags(mapOf("eqow", "jfsqbcfqaqo", "iicfsbjhhad", "odispasx")) + .withIdentity( + new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("liikkosqpl", new UserAssignedIdentity(), "hgajfayftohdlpc", + new UserAssignedIdentity(), "ujq", new UserAssignedIdentity(), "ivhwwhy", + new UserAssignedIdentity()))) + .withMtu(390361189) + .withExtendedVlan(ExtendedVlan.DISABLED) + .withNetworkToNetworkInterconnectId("ir") + .withAnnotation("ewhc") + .create(); - Assertions.assertEquals("ayabrdnovuduww", response.location()); - Assertions.assertEquals("gcn", response.tags().get("kmci")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("vqyi", response.networkFabricId()); - Assertions.assertEquals(1378450823, response.vlanId()); - Assertions.assertEquals(1120818770, response.mtu()); - Assertions.assertEquals(ExtendedVlan.DISABLED, response.extendedVlan()); - Assertions.assertEquals("vmxnavxzpyaptex", response.networkToNetworkInterconnectId()); - Assertions.assertEquals("wolfmfazxwcaic", response.annotation()); + Assertions.assertEquals("ciqaw", response.location()); + Assertions.assertEquals("kvaqspb", response.tags().get("scotidi")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("frrjp", response.networkFabricId()); + Assertions.assertEquals(1598760863, response.vlanId()); + Assertions.assertEquals(300786264, response.mtu()); + Assertions.assertEquals(ExtendedVlan.ENABLED, response.extendedVlan()); + Assertions.assertEquals("vcpgqiis", response.networkToNetworkInterconnectId()); + Assertions.assertEquals("kkcxc", response.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupWithResponseMockTests.java index c7df6699a77ad..5104aca370cc2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsGetByResourceGroupWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class L2IsolationDomainsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"networkFabricId\":\"pgrmwdwlraeplpf\",\"vlanId\":1919071191,\"mtu\":1182594900,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"aba\",\"lastOperation\":{\"details\":\"sizao\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"dxsjsox\"},\"identity\":{\"principalId\":\"uungdv\",\"tenantId\":\"drcpqu\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"mitmtkcqixgqxs\":{\"principalId\":\"ttvo\",\"clientId\":\"rpeli\"},\"umecqyia\":{\"principalId\":\"ev\",\"clientId\":\"uvupdsafqaghw\"},\"mtbpnhjo\":{\"principalId\":\"mvvkodkqffhu\",\"clientId\":\"xqtgzvzcfmwfogjr\"}}},\"location\":\"vfz\",\"tags\":{\"apyq\":\"rmp\",\"lmw\":\"esginpixhulf\",\"kwrvtflotjizvi\":\"vj\"},\"id\":\"wixlvnwznfxap\",\"name\":\"lsl\",\"type\":\"bdtrwkpely\"}"; + = "{\"properties\":{\"networkFabricId\":\"pgrmwdwlraeplpf\",\"vlanId\":1919071191,\"mtu\":1182594900,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"aba\",\"lastOperation\":{\"details\":\"sizao\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"dxsjsox\"},\"identity\":{\"principalId\":\"uungdv\",\"tenantId\":\"drcpqu\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"mitmtkcqixgqxs\":{\"principalId\":\"ttvo\",\"clientId\":\"rpeli\"},\"umecqyia\":{\"principalId\":\"ev\",\"clientId\":\"uvupdsafqaghw\"},\"mtbpnhjo\":{\"principalId\":\"mvvkodkqffhu\",\"clientId\":\"xqtgzvzcfmwfogjr\"}}},\"location\":\"vfz\",\"tags\":{\"apyq\":\"rmp\",\"lmw\":\"esginpixhulf\",\"kwrvtflotjizvi\":\"vj\"},\"id\":\"wixlvnwznfxap\",\"name\":\"lsl\",\"type\":\"bdtrwkpely\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListMockTests.java index e8038f39526ac..67f90a488c3f2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListMockTests.java @@ -24,7 +24,7 @@ public final class L2IsolationDomainsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkFabricId\":\"qruskmbqyfecns\",\"vlanId\":338404464,\"mtu\":969808172,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"gmkc\",\"lastOperation\":{\"details\":\"zibhwybwmeb\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"x\"},\"identity\":{\"principalId\":\"p\",\"tenantId\":\"ksixhornvydx\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"hbwhr\":{\"principalId\":\"eayjd\",\"clientId\":\"tiqwixsdxxflwfv\"},\"ciwxlggrtpay\":{\"principalId\":\"qetvbqhysz\",\"clientId\":\"zjz\"},\"qznvkhjtrashnf\":{\"principalId\":\"l\",\"clientId\":\"shbkdptcm\"},\"af\":{\"principalId\":\"iykloeqxccpqbo\",\"clientId\":\"ehzipy\"}}},\"location\":\"uvoqqseoinxko\",\"tags\":{\"dczzkz\":\"nlgnwwjikgp\",\"hhiofcnyzqznld\":\"bpj\",\"gs\":\"ngqwmllegucem\"},\"id\":\"ljwwpzqhphl\",\"name\":\"jmi\",\"type\":\"qvn\"}]}"; + = "{\"value\":[{\"properties\":{\"networkFabricId\":\"qruskmbqyfecns\",\"vlanId\":338404464,\"mtu\":969808172,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"gmkc\",\"lastOperation\":{\"details\":\"zibhwybwmeb\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"x\"},\"identity\":{\"principalId\":\"p\",\"tenantId\":\"ksixhornvydx\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"hbwhr\":{\"principalId\":\"eayjd\",\"clientId\":\"tiqwixsdxxflwfv\"},\"ciwxlggrtpay\":{\"principalId\":\"qetvbqhysz\",\"clientId\":\"zjz\"},\"qznvkhjtrashnf\":{\"principalId\":\"l\",\"clientId\":\"shbkdptcm\"},\"af\":{\"principalId\":\"iykloeqxccpqbo\",\"clientId\":\"ehzipy\"}}},\"location\":\"uvoqqseoinxko\",\"tags\":{\"dczzkz\":\"nlgnwwjikgp\",\"hhiofcnyzqznld\":\"bpj\",\"gs\":\"ngqwmllegucem\"},\"id\":\"ljwwpzqhphl\",\"name\":\"jmi\",\"type\":\"qvn\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListResultTests.java index 54d43dec0818d..ced85ac533476 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L2IsolationDomainsListResultTests.java @@ -14,17 +14,17 @@ public final class L2IsolationDomainsListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L2IsolationDomainsListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"networkFabricId\":\"gl\",\"vlanId\":587916896,\"mtu\":774422918,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"ywhsbrcarycs\",\"lastOperation\":{\"details\":\"yvoaqajuvehzp\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\",\"annotation\":\"mpfu\"},\"identity\":{\"principalId\":\"efgybpmfbfununmp\",\"tenantId\":\"rvfyifkdsch\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"fp\":{\"principalId\":\"ctnkjjwgcwnph\",\"clientId\":\"gfyrtogmhmjpjsc\"}}},\"location\":\"wtyg\",\"tags\":{\"x\":\"wmseharxifvqn\",\"sidqpxlbtpakft\":\"mbpjptnvwjh\",\"rymdwmf\":\"gatwmykyu\"},\"id\":\"hpycvjqdvdwkq\",\"name\":\"ldrlefgnaavua\",\"type\":\"n\"},{\"properties\":{\"networkFabricId\":\"etaoutnpdc\",\"vlanId\":1340286391,\"mtu\":2065842575,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"fyihduyeuyldp\",\"lastOperation\":{\"details\":\"ybkcgsuthhllnmwy\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"ciatxtjrrl\"},\"identity\":{\"principalId\":\"skjh\",\"tenantId\":\"dl\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ttcslojfkqi\":{\"principalId\":\"cxscvslxlh\",\"clientId\":\"vkrmukmyjmkx\"},\"l\":{\"principalId\":\"qtoqxjhqxcsq\",\"clientId\":\"kbtn\"},\"muqqoajxei\":{\"principalId\":\"gldmbiipsnaww\",\"clientId\":\"kznxhhllxricctk\"}}},\"location\":\"lesrwva\",\"tags\":{\"dmljzacvumepjp\":\"dctrceqnkbrupobe\",\"hep\":\"ibnzp\",\"cgxvrpj\":\"fexleqirccjcly\"},\"id\":\"vczuodacpune\",\"name\":\"tepdjxqes\",\"type\":\"oy\"}],\"nextLink\":\"iylpck\"}") + "{\"value\":[{\"properties\":{\"networkFabricId\":\"icziuswswjrkb\",\"vlanId\":1460116665,\"mtu\":1858823351,\"extendedVlan\":\"Enabled\",\"networkToNetworkInterconnectId\":\"q\",\"lastOperation\":{\"details\":\"scyrfwbivqv\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"RMA\",\"annotation\":\"bhli\"},\"identity\":{\"principalId\":\"qecroodl\",\"tenantId\":\"cdrdaasaxxo\",\"type\":\"None\",\"userAssignedIdentities\":{\"lnk\":{\"principalId\":\"wiyjvzuko\",\"clientId\":\"nawnvz\"},\"uyvymcnu\":{\"principalId\":\"wsxvjab\",\"clientId\":\"qa\"}}},\"location\":\"doabhj\",\"tags\":{\"pvksmit\":\"qweuip\",\"fhyrfrakk\":\"sqxtltclkrdpq\"},\"id\":\"d\",\"name\":\"rcwfcmfcnrjajq\",\"type\":\"atxjtiel\"},{\"properties\":{\"networkFabricId\":\"zqgxx\",\"vlanId\":1616070936,\"mtu\":685427163,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"pqagynoiprn\",\"lastOperation\":{\"details\":\"lin\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Updating\",\"administrativeState\":\"RMA\",\"annotation\":\"q\"},\"identity\":{\"principalId\":\"mqimiymqru\",\"tenantId\":\"u\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"fkg\":{\"principalId\":\"tasvvoqs\",\"clientId\":\"kfla\"},\"ztiochluti\":{\"principalId\":\"yao\",\"clientId\":\"zowpuohdkcprgukx\"},\"c\":{\"principalId\":\"qrudjizcbfzmcr\",\"clientId\":\"fhi\"}}},\"location\":\"fbcpaqktkrumzu\",\"tags\":{\"uxqggvqrnhyhl\":\"yzbfvxovqkx\",\"rkijpeuqlsdxeqz\":\"cjsqggjhffbxr\",\"en\":\"vxwmwwmjs\",\"ecleqioulndhzyo\":\"wwa\"},\"id\":\"ojhtollhs\",\"name\":\"idmytzln\",\"type\":\"lxpnovyoanf\"},{\"properties\":{\"networkFabricId\":\"cswqa\",\"vlanId\":747180369,\"mtu\":1890267073,\"extendedVlan\":\"Disabled\",\"networkToNetworkInterconnectId\":\"gvjrktpgaeuky\",\"lastOperation\":{\"details\":\"hpmwhqnucsk\"},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"MAT\",\"annotation\":\"dlpbninjgaz\"},\"identity\":{\"principalId\":\"bzfcpuoeedwj\",\"tenantId\":\"iklhsyekrdrenx\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"hubt\":{\"principalId\":\"ehqbeivdlhydwbdb\",\"clientId\":\"rlpunytjlkesmmpa\"}}},\"location\":\"deani\",\"tags\":{\"tedousnktjtgrava\":\"lbvgwzsf\",\"xxw\":\"ogfkbebauzlqb\",\"njzudr\":\"f\",\"eboywhczzqrhm\":\"pzkg\"},\"id\":\"gqbedygi\",\"name\":\"rzwnyk\",\"type\":\"id\"}],\"nextLink\":\"hlr\"}") .toObject(L2IsolationDomainsListResult.class); - Assertions.assertEquals("wtyg", model.value().get(0).location()); - Assertions.assertEquals("wmseharxifvqn", model.value().get(0).tags().get("x")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.value().get(0).identity().type()); - Assertions.assertEquals("gl", model.value().get(0).networkFabricId()); - Assertions.assertEquals(587916896, model.value().get(0).vlanId()); - Assertions.assertEquals(774422918, model.value().get(0).mtu()); - Assertions.assertEquals(ExtendedVlan.DISABLED, model.value().get(0).extendedVlan()); - Assertions.assertEquals("ywhsbrcarycs", model.value().get(0).networkToNetworkInterconnectId()); - Assertions.assertEquals("mpfu", model.value().get(0).annotation()); - Assertions.assertEquals("iylpck", model.nextLink()); + Assertions.assertEquals("doabhj", model.value().get(0).location()); + Assertions.assertEquals("qweuip", model.value().get(0).tags().get("pvksmit")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.value().get(0).identity().type()); + Assertions.assertEquals("icziuswswjrkb", model.value().get(0).networkFabricId()); + Assertions.assertEquals(1460116665, model.value().get(0).vlanId()); + Assertions.assertEquals(1858823351, model.value().get(0).mtu()); + Assertions.assertEquals(ExtendedVlan.ENABLED, model.value().get(0).extendedVlan()); + Assertions.assertEquals("q", model.value().get(0).networkToNetworkInterconnectId()); + Assertions.assertEquals("bhli", model.value().get(0).annotation()); + Assertions.assertEquals("hlr", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyPatchTests.java index f8c865e8c2a21..7f171bca1f246 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyPatchTests.java @@ -11,19 +11,19 @@ public final class L3ExportRoutePolicyPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - L3ExportRoutePolicyPatch model - = BinaryData.fromString("{\"exportIpv4RoutePolicyId\":\"eukyaw\",\"exportIpv6RoutePolicyId\":\"pmwhqnuc\"}") - .toObject(L3ExportRoutePolicyPatch.class); - Assertions.assertEquals("eukyaw", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("pmwhqnuc", model.exportIpv6RoutePolicyId()); + L3ExportRoutePolicyPatch model = BinaryData + .fromString("{\"exportIpv4RoutePolicyId\":\"admskx\",\"exportIpv6RoutePolicyId\":\"pdgzigjsugswhg\"}") + .toObject(L3ExportRoutePolicyPatch.class); + Assertions.assertEquals("admskx", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("pdgzigjsugswhg", model.exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3ExportRoutePolicyPatch model = new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("eukyaw") - .withExportIpv6RoutePolicyId("pmwhqnuc"); + L3ExportRoutePolicyPatch model = new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("admskx") + .withExportIpv6RoutePolicyId("pdgzigjsugswhg"); model = BinaryData.fromObject(model).toObject(L3ExportRoutePolicyPatch.class); - Assertions.assertEquals("eukyaw", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("pmwhqnuc", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("admskx", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("pdgzigjsugswhg", model.exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyTests.java index bd710c9c1c14a..083842b0c9828 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3ExportRoutePolicyTests.java @@ -12,19 +12,18 @@ public final class L3ExportRoutePolicyTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3ExportRoutePolicy model = BinaryData - .fromString( - "{\"exportIpv4RoutePolicyId\":\"lwkzpgajsqjcem\",\"exportIpv6RoutePolicyId\":\"mfuvqarwzxuqr\"}") + .fromString("{\"exportIpv4RoutePolicyId\":\"ustbvtqigdx\",\"exportIpv6RoutePolicyId\":\"sgeafgfosehx\"}") .toObject(L3ExportRoutePolicy.class); - Assertions.assertEquals("lwkzpgajsqjcem", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("mfuvqarwzxuqr", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("ustbvtqigdx", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("sgeafgfosehx", model.exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3ExportRoutePolicy model = new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("lwkzpgajsqjcem") - .withExportIpv6RoutePolicyId("mfuvqarwzxuqr"); + L3ExportRoutePolicy model = new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("ustbvtqigdx") + .withExportIpv6RoutePolicyId("sgeafgfosehx"); model = BinaryData.fromObject(model).toObject(L3ExportRoutePolicy.class); - Assertions.assertEquals("lwkzpgajsqjcem", model.exportIpv4RoutePolicyId()); - Assertions.assertEquals("mfuvqarwzxuqr", model.exportIpv6RoutePolicyId()); + Assertions.assertEquals("ustbvtqigdx", model.exportIpv4RoutePolicyId()); + Assertions.assertEquals("sgeafgfosehx", model.exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainInnerTests.java index a5e3f5a1c44e1..52b291dc3fdd2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainInnerTests.java @@ -29,83 +29,79 @@ public final class L3IsolationDomainInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3IsolationDomainInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"wsedvesk\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"gfnzh\"},{\"prefix\":\"tmjtsghp\"}],\"ipv6Routes\":[{\"prefix\":\"cp\"},{\"prefix\":\"arpzeqacdldtzm\"},{\"prefix\":\"ypefcpczshnuqnda\"},{\"prefix\":\"zupfkhuytuszxhm\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"egw\",\"exportIpv6RoutePolicyId\":\"ukvzwydwttha\"}},\"networkFabricId\":\"kgkskjivbsshaj\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"peexpgeumilhwuit\",\"exportIpv6RoutePolicyId\":\"exyionofninbd\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"cw\",\"qrs\",\"pcbbprtugav\"]},\"v4routePrefixLimit\":{\"hardLimit\":45512614,\"threshold\":439270672},\"v6routePrefixLimit\":{\"hardLimit\":357896673,\"threshold\":284686585},\"lastOperation\":{\"details\":\"dr\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"LocalRib\",\"All\"]},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"xsgm\",\"tenantId\":\"wvif\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"funlcpxxvi\":{\"principalId\":\"if\",\"clientId\":\"cjxwkloozrvtxvcm\"}}},\"location\":\"eyngjg\",\"tags\":{\"gglpmcrdcuelj\":\"uvp\"},\"id\":\"iahxmfqryarvs\",\"name\":\"zqbglcjkays\",\"type\":\"thzodubtlmjtgbl\"}") + "{\"properties\":{\"annotation\":\"wctofldseacdhz\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"rwjiyew\"},{\"prefix\":\"fj\"}],\"ipv6Routes\":[{\"prefix\":\"qrxetfgcwvr\"},{\"prefix\":\"mdqntycnaw\"},{\"prefix\":\"hvmaxgnuyeamcmhu\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"cehokw\",\"exportIpv6RoutePolicyId\":\"qtwloes\"}},\"networkFabricId\":\"rg\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"nyrukoil\",\"exportIpv6RoutePolicyId\":\"iduw\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"pjlh\",\"yxpzruzythqk\",\"whbgxvellvul\",\"xdm\"]},\"v4routePrefixLimit\":{\"hardLimit\":857086606,\"threshold\":1665668801},\"v6routePrefixLimit\":{\"hardLimit\":352876563,\"threshold\":1377447657},\"lastOperation\":{\"details\":\"ymffhmjpddnyx\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\"]},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"rb\",\"tenantId\":\"vnmdyfoeboj\",\"type\":\"None\",\"userAssignedIdentities\":{\"cwm\":{\"principalId\":\"laohoqkp\",\"clientId\":\"nqjilaywk\"},\"bbjwhlw\":{\"principalId\":\"yrilmhxdqaolf\",\"clientId\":\"nkkbjpjvlywltmfw\"}}},\"location\":\"fnqzocr\",\"tags\":{\"ncaqttiekoifu\":\"czeuntgx\",\"yri\":\"nyttzgix\",\"lqtxnrflkndrn\":\"lgmgbe\"},\"id\":\"pgfjo\",\"name\":\"hdaqotwfhipxwg\",\"type\":\"abvcipowzaf\"}") .toObject(L3IsolationDomainInner.class); - Assertions.assertEquals("eyngjg", model.location()); - Assertions.assertEquals("uvp", model.tags().get("gglpmcrdcuelj")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("wsedvesk", model.annotation()); + Assertions.assertEquals("fnqzocr", model.location()); + Assertions.assertEquals("czeuntgx", model.tags().get("ncaqttiekoifu")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); + Assertions.assertEquals("wctofldseacdhz", model.annotation()); Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.redistributeStaticRoutes()); - Assertions.assertEquals("gfnzh", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("cp", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("egw", + Assertions.assertEquals("rwjiyew", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("qrxetfgcwvr", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("cehokw", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("ukvzwydwttha", + Assertions.assertEquals("qtwloes", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("kgkskjivbsshaj", model.networkFabricId()); - Assertions.assertEquals("peexpgeumilhwuit", + Assertions.assertEquals("rg", model.networkFabricId()); + Assertions.assertEquals("nyrukoil", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("exyionofninbd", - model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(45512614, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(439270672, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(357896673, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(284686585, model.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("iduw", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(857086606, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1665668801, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(352876563, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(1377447657, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3IsolationDomainInner model = new L3IsolationDomainInner().withLocation("eyngjg") - .withTags(mapOf("gglpmcrdcuelj", "uvp")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("funlcpxxvi", new UserAssignedIdentity()))) - .withAnnotation("wsedvesk") + L3IsolationDomainInner model = new L3IsolationDomainInner().withLocation("fnqzocr") + .withTags(mapOf("ncaqttiekoifu", "czeuntgx", "yri", "nyttzgix", "lqtxnrflkndrn", "lgmgbe")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE) + .withUserAssignedIdentities( + mapOf("cwm", new UserAssignedIdentity(), "bbjwhlw", new UserAssignedIdentity()))) + .withAnnotation("wctofldseacdhz") .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.FALSE) .withRedistributeStaticRoutes(RedistributeStaticRoutes.TRUE) .withAggregateRouteConfiguration(new AggregateRouteConfiguration() - .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("gfnzh"), - new AggregateRoute().withPrefix("tmjtsghp"))) - .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("cp"), - new AggregateRoute().withPrefix("arpzeqacdldtzm"), - new AggregateRoute().withPrefix("ypefcpczshnuqnda"), - new AggregateRoute().withPrefix("zupfkhuytuszxhm")))) - .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy() - .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("egw") - .withExportIpv6RoutePolicyId("ukvzwydwttha"))) - .withNetworkFabricId("kgkskjivbsshaj") - .withStaticRouteRoutePolicy(new StaticRouteRoutePolicy() - .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("peexpgeumilhwuit") - .withExportIpv6RoutePolicyId("exyionofninbd"))) + .withIpv4Routes( + Arrays.asList(new AggregateRoute().withPrefix("rwjiyew"), new AggregateRoute().withPrefix("fj"))) + .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("qrxetfgcwvr"), + new AggregateRoute().withPrefix("mdqntycnaw"), + new AggregateRoute().withPrefix("hvmaxgnuyeamcmhu")))) + .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy().withExportRoutePolicy( + new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("cehokw").withExportIpv6RoutePolicyId("qtwloes"))) + .withNetworkFabricId("rg") + .withStaticRouteRoutePolicy(new StaticRouteRoutePolicy().withExportRoutePolicy( + new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("nyrukoil").withExportIpv6RoutePolicyId("iduw"))) .withUniqueRdConfiguration(new L3UniqueRouteDistinguisherProperties()) - .withV4routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(45512614).withThreshold(439270672)) - .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(357896673).withThreshold(284686585)) - .withExportPolicyConfiguration(new BmpExportPolicyProperties().withExportPolicies( - Arrays.asList(BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.ALL))); + .withV4routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(857086606).withThreshold(1665668801)) + .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(352876563).withThreshold(1377447657)) + .withExportPolicyConfiguration( + new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY))); model = BinaryData.fromObject(model).toObject(L3IsolationDomainInner.class); - Assertions.assertEquals("eyngjg", model.location()); - Assertions.assertEquals("uvp", model.tags().get("gglpmcrdcuelj")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("wsedvesk", model.annotation()); + Assertions.assertEquals("fnqzocr", model.location()); + Assertions.assertEquals("czeuntgx", model.tags().get("ncaqttiekoifu")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); + Assertions.assertEquals("wctofldseacdhz", model.annotation()); Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.redistributeStaticRoutes()); - Assertions.assertEquals("gfnzh", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("cp", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("egw", + Assertions.assertEquals("rwjiyew", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("qrxetfgcwvr", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("cehokw", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("ukvzwydwttha", + Assertions.assertEquals("qtwloes", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("kgkskjivbsshaj", model.networkFabricId()); - Assertions.assertEquals("peexpgeumilhwuit", + Assertions.assertEquals("rg", model.networkFabricId()); + Assertions.assertEquals("nyrukoil", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("exyionofninbd", - model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(45512614, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(439270672, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(357896673, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(284686585, model.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("iduw", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(857086606, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1665668801, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(352876563, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(1377447657, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchPropertiesTests.java index 255a6cfe83504..4fdd56e980036 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchPropertiesTests.java @@ -23,66 +23,65 @@ public final class L3IsolationDomainPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3IsolationDomainPatchProperties model = BinaryData.fromString( - "{\"annotation\":\"u\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"vvoqsbpkf\"},{\"prefix\":\"anfkgxsyaowuzow\"},{\"prefix\":\"uohdkcprgukxr\"},{\"prefix\":\"tiochlutixmqr\"}],\"ipv6Routes\":[{\"prefix\":\"izcbfzmcrunfhiuc\"},{\"prefix\":\"mfbcpaqktkrum\"},{\"prefix\":\"u\"},{\"prefix\":\"dkyzbfvxov\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"uxqggvqrnhyhl\",\"exportIpv6RoutePolicyId\":\"j\"}},\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"jhffbxrqrkij\",\"exportIpv6RoutePolicyId\":\"uqlsdx\"}},\"v4routePrefixLimit\":{\"hardLimit\":1926210807,\"threshold\":219641959},\"v6routePrefixLimit\":{\"hardLimit\":1260182845,\"threshold\":1828893529},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Pre-Policy\"]}}") + "{\"annotation\":\"d\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"l\"}],\"ipv6Routes\":[{\"prefix\":\"simsfeypofqpmb\"},{\"prefix\":\"yqgs\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ttjxophgerhsmvgo\",\"exportIpv6RoutePolicyId\":\"wzm\"}},\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ixysf\",\"exportIpv6RoutePolicyId\":\"msqywwwmhkruwae\"}},\"v4routePrefixLimit\":{\"hardLimit\":2066882789,\"threshold\":1004658675},\"v6routePrefixLimit\":{\"hardLimit\":1974633160,\"threshold\":872097997},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"All\",\"Pre-Policy\"]}}") .toObject(L3IsolationDomainPatchProperties.class); - Assertions.assertEquals("u", model.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, model.redistributeConnectedSubnets()); - Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.redistributeStaticRoutes()); - Assertions.assertEquals("vvoqsbpkf", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("izcbfzmcrunfhiuc", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("uxqggvqrnhyhl", + Assertions.assertEquals("d", model.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); + Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.redistributeStaticRoutes()); + Assertions.assertEquals("l", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("simsfeypofqpmb", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ttjxophgerhsmvgo", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("j", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("jhffbxrqrkij", - model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("uqlsdx", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(1926210807, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(219641959, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(1260182845, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1828893529, model.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("wzm", + model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("ixysf", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("msqywwwmhkruwae", + model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(2066882789, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1004658675, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(1974633160, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(872097997, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicyConfiguration().exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3IsolationDomainPatchProperties model = new L3IsolationDomainPatchProperties().withAnnotation("u") - .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.TRUE) - .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE) + L3IsolationDomainPatchProperties model = new L3IsolationDomainPatchProperties().withAnnotation("d") + .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.FALSE) + .withRedistributeStaticRoutes(RedistributeStaticRoutes.TRUE) .withAggregateRouteConfiguration(new AggregateRoutePatchConfiguration() - .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("vvoqsbpkf"), - new AggregateRoute().withPrefix("anfkgxsyaowuzow"), - new AggregateRoute().withPrefix("uohdkcprgukxr"), new AggregateRoute().withPrefix("tiochlutixmqr"))) - .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("izcbfzmcrunfhiuc"), - new AggregateRoute().withPrefix("mfbcpaqktkrum"), new AggregateRoute().withPrefix("u"), - new AggregateRoute().withPrefix("dkyzbfvxov")))) + .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("l"))) + .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("simsfeypofqpmb"), + new AggregateRoute().withPrefix("yqgs")))) .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicyPatch() - .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("uxqggvqrnhyhl") - .withExportIpv6RoutePolicyId("j"))) + .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("ttjxophgerhsmvgo") + .withExportIpv6RoutePolicyId("wzm"))) .withStaticRouteRoutePolicy(new StaticRouteRoutePolicyPatch() - .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("jhffbxrqrkij") - .withExportIpv6RoutePolicyId("uqlsdx"))) + .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("ixysf") + .withExportIpv6RoutePolicyId("msqywwwmhkruwae"))) .withV4routePrefixLimit( - new RoutePrefixLimitPatchProperties().withHardLimit(1926210807).withThreshold(219641959)) + new RoutePrefixLimitPatchProperties().withHardLimit(2066882789).withThreshold(1004658675)) .withV6routePrefixLimit( - new RoutePrefixLimitPatchProperties().withHardLimit(1260182845).withThreshold(1828893529)) - .withExportPolicyConfiguration(new BmpExportPolicyPatchProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.PRE_POLICY))); + new RoutePrefixLimitPatchProperties().withHardLimit(1974633160).withThreshold(872097997)) + .withExportPolicyConfiguration(new BmpExportPolicyPatchProperties().withExportPolicies( + Arrays.asList(BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.ALL, BmpExportPolicy.PRE_POLICY))); model = BinaryData.fromObject(model).toObject(L3IsolationDomainPatchProperties.class); - Assertions.assertEquals("u", model.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, model.redistributeConnectedSubnets()); - Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.redistributeStaticRoutes()); - Assertions.assertEquals("vvoqsbpkf", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("izcbfzmcrunfhiuc", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("uxqggvqrnhyhl", + Assertions.assertEquals("d", model.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); + Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.redistributeStaticRoutes()); + Assertions.assertEquals("l", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("simsfeypofqpmb", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ttjxophgerhsmvgo", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("j", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("jhffbxrqrkij", - model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("uqlsdx", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(1926210807, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(219641959, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(1260182845, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1828893529, model.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("wzm", + model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("ixysf", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("msqywwwmhkruwae", + model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(2066882789, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1004658675, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(1974633160, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(872097997, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicyConfiguration().exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchTests.java index 42bd3822492da..a52cb424e1b05 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPatchTests.java @@ -28,80 +28,74 @@ public final class L3IsolationDomainPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3IsolationDomainPatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"bavly\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"rkeb\"},{\"prefix\":\"mhpdu\"},{\"prefix\":\"dig\"}],\"ipv6Routes\":[{\"prefix\":\"lekscbctnanqi\"},{\"prefix\":\"wbzxpdcldpkawn\"},{\"prefix\":\"nlaimouxwksqmudm\"},{\"prefix\":\"coibicziuswswjrk\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"hbtqqvyfscyrfwb\",\"exportIpv6RoutePolicyId\":\"qvogfuyz\"}},\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"limbyqecroodlik\",\"exportIpv6RoutePolicyId\":\"rdaasaxxo\"}},\"v4routePrefixLimit\":{\"hardLimit\":1865082101,\"threshold\":11688973},\"v6routePrefixLimit\":{\"hardLimit\":182713593,\"threshold\":1018773486},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Pre-Policy\",\"Post-Policy\",\"Pre-Policy\"]}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"vym\":{\"principalId\":\"n\",\"clientId\":\"ywsxvjabjqqaxu\"},\"nsqxtltc\":{\"principalId\":\"udndoabhjxw\",\"clientId\":\"weuipmpvksmi\"},\"rcwfcmfcnrjajq\":{\"principalId\":\"rdpqgfhy\",\"clientId\":\"rakkld\"}}},\"tags\":{\"bbmtlpqagynoip\":\"xjtielnzqgxxg\",\"calincryqxz\":\"n\",\"mqimiymqru\":\"aqzi\"}}") + "{\"properties\":{\"annotation\":\"owgw\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"kzwaqxofq\"},{\"prefix\":\"vchiqbpl\"}],\"ipv6Routes\":[{\"prefix\":\"dusztekxby\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"fepxyihpqadag\",\"exportIpv6RoutePolicyId\":\"rdi\"}},\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"y\",\"exportIpv6RoutePolicyId\":\"owxwyovcxjsgbip\"}},\"v4routePrefixLimit\":{\"hardLimit\":1208173457,\"threshold\":1492181515},\"v6routePrefixLimit\":{\"hardLimit\":94382196,\"threshold\":993677532},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Post-Policy\",\"Pre-Policy\"]}},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"bhwlkaaggkrehbfr\":{\"principalId\":\"ib\",\"clientId\":\"yjdusspysze\"}}},\"tags\":{\"qtaadusrexxfavsq\":\"bffljfiimreoag\"}}") .toObject(L3IsolationDomainPatch.class); - Assertions.assertEquals("xjtielnzqgxxg", model.tags().get("bbmtlpqagynoip")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("bavly", model.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, model.redistributeConnectedSubnets()); + Assertions.assertEquals("bffljfiimreoag", model.tags().get("qtaadusrexxfavsq")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("owgw", model.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.redistributeStaticRoutes()); - Assertions.assertEquals("rkeb", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("lekscbctnanqi", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("hbtqqvyfscyrfwb", + Assertions.assertEquals("kzwaqxofq", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("dusztekxby", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fepxyihpqadag", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qvogfuyz", + Assertions.assertEquals("rdi", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("limbyqecroodlik", - model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("rdaasaxxo", + Assertions.assertEquals("y", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("owxwyovcxjsgbip", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(1865082101, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(11688973, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(182713593, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1018773486, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(1208173457, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1492181515, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(94382196, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(993677532, model.v6routePrefixLimit().threshold()); Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicyConfiguration().exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3IsolationDomainPatch model = new L3IsolationDomainPatch() - .withTags(mapOf("bbmtlpqagynoip", "xjtielnzqgxxg", "calincryqxz", "n", "mqimiymqru", "aqzi")) - .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("vym", new UserAssignedIdentity(), "nsqxtltc", - new UserAssignedIdentity(), "rcwfcmfcnrjajq", new UserAssignedIdentity()))) - .withAnnotation("bavly") - .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.TRUE) - .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE) - .withAggregateRouteConfiguration(new AggregateRoutePatchConfiguration() - .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("rkeb"), - new AggregateRoute().withPrefix("mhpdu"), new AggregateRoute().withPrefix("dig"))) - .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("lekscbctnanqi"), - new AggregateRoute().withPrefix("wbzxpdcldpkawn"), - new AggregateRoute().withPrefix("nlaimouxwksqmudm"), - new AggregateRoute().withPrefix("coibicziuswswjrk")))) - .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicyPatch() - .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("hbtqqvyfscyrfwb") - .withExportIpv6RoutePolicyId("qvogfuyz"))) - .withStaticRouteRoutePolicy(new StaticRouteRoutePolicyPatch() - .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("limbyqecroodlik") - .withExportIpv6RoutePolicyId("rdaasaxxo"))) - .withV4routePrefixLimit( - new RoutePrefixLimitPatchProperties().withHardLimit(1865082101).withThreshold(11688973)) - .withV6routePrefixLimit( - new RoutePrefixLimitPatchProperties().withHardLimit(182713593).withThreshold(1018773486)) - .withExportPolicyConfiguration( - new BmpExportPolicyPatchProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.ALL, - BmpExportPolicy.PRE_POLICY, BmpExportPolicy.POST_POLICY, BmpExportPolicy.PRE_POLICY))); + L3IsolationDomainPatch model + = new L3IsolationDomainPatch().withTags(mapOf("qtaadusrexxfavsq", "bffljfiimreoag")) + .withIdentity( + new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("bhwlkaaggkrehbfr", new UserAssignedIdentity()))) + .withAnnotation("owgw") + .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.FALSE) + .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE) + .withAggregateRouteConfiguration(new AggregateRoutePatchConfiguration() + .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("kzwaqxofq"), + new AggregateRoute().withPrefix("vchiqbpl"))) + .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("dusztekxby")))) + .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicyPatch() + .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("fepxyihpqadag") + .withExportIpv6RoutePolicyId("rdi"))) + .withStaticRouteRoutePolicy(new StaticRouteRoutePolicyPatch() + .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("y") + .withExportIpv6RoutePolicyId("owxwyovcxjsgbip"))) + .withV4routePrefixLimit( + new RoutePrefixLimitPatchProperties().withHardLimit(1208173457).withThreshold(1492181515)) + .withV6routePrefixLimit( + new RoutePrefixLimitPatchProperties().withHardLimit(94382196).withThreshold(993677532)) + .withExportPolicyConfiguration(new BmpExportPolicyPatchProperties().withExportPolicies( + Arrays.asList(BmpExportPolicy.ALL, BmpExportPolicy.POST_POLICY, BmpExportPolicy.PRE_POLICY))); model = BinaryData.fromObject(model).toObject(L3IsolationDomainPatch.class); - Assertions.assertEquals("xjtielnzqgxxg", model.tags().get("bbmtlpqagynoip")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("bavly", model.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, model.redistributeConnectedSubnets()); + Assertions.assertEquals("bffljfiimreoag", model.tags().get("qtaadusrexxfavsq")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("owgw", model.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.redistributeStaticRoutes()); - Assertions.assertEquals("rkeb", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("lekscbctnanqi", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("hbtqqvyfscyrfwb", + Assertions.assertEquals("kzwaqxofq", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("dusztekxby", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fepxyihpqadag", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qvogfuyz", + Assertions.assertEquals("rdi", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("limbyqecroodlik", - model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("rdaasaxxo", + Assertions.assertEquals("y", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("owxwyovcxjsgbip", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(1865082101, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(11688973, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(182713593, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1018773486, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(1208173457, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1492181515, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(94382196, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(993677532, model.v6routePrefixLimit().threshold()); Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicyConfiguration().exportPolicies().get(0)); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPropertiesTests.java index 09d5d12a34509..e3f2a4d5973d7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainPropertiesTests.java @@ -24,69 +24,71 @@ public final class L3IsolationDomainPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3IsolationDomainProperties model = BinaryData.fromString( - "{\"annotation\":\"skkfmk\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"bkkqvjcte\"},{\"prefix\":\"edlrslskkzpxvj\"},{\"prefix\":\"zdpv\"},{\"prefix\":\"cojhpcnabx\"}],\"ipv6Routes\":[{\"prefix\":\"nggy\"},{\"prefix\":\"e\"},{\"prefix\":\"vzilmhiv\"},{\"prefix\":\"kwwwnckn\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"jlskzptjxulweu\",\"exportIpv6RoutePolicyId\":\"rthxqlehmcg\"}},\"networkFabricId\":\"jei\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"oka\",\"exportIpv6RoutePolicyId\":\"fejvqn\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"q\"]},\"v4routePrefixLimit\":{\"hardLimit\":2120944830,\"threshold\":1689217282},\"v6routePrefixLimit\":{\"hardLimit\":955211490,\"threshold\":1634987972},\"lastOperation\":{\"details\":\"thhzagjfw\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"Pre-Policy\",\"Post-Policy\",\"All\"]},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\"}") + "{\"annotation\":\"uumljcirvpefyc\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"nsxzajlns\"},{\"prefix\":\"hwjuyxxbxqvmvua\"},{\"prefix\":\"tuadxkxeqb\"},{\"prefix\":\"pntghyks\"}],\"ipv6Routes\":[{\"prefix\":\"drnxsluvlzla\"},{\"prefix\":\"ltxkpb\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"dqqjwkrhwzdano\",\"exportIpv6RoutePolicyId\":\"sgglmv\"}},\"networkFabricId\":\"katuztjctib\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"aehxsmzygdf\",\"exportIpv6RoutePolicyId\":\"kwseivmakxhyso\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"x\"]},\"v4routePrefixLimit\":{\"hardLimit\":714779991,\"threshold\":1717896236},\"v6routePrefixLimit\":{\"hardLimit\":979321734,\"threshold\":1408414090},\"lastOperation\":{\"details\":\"dchmaiubavlz\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Post-Policy\",\"Pre-Policy\",\"All\"]},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"UnderMaintenance\"}") .toObject(L3IsolationDomainProperties.class); - Assertions.assertEquals("skkfmk", model.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); - Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.redistributeStaticRoutes()); - Assertions.assertEquals("bkkqvjcte", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nggy", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jlskzptjxulweu", + Assertions.assertEquals("uumljcirvpefyc", model.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, model.redistributeConnectedSubnets()); + Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.redistributeStaticRoutes()); + Assertions.assertEquals("nsxzajlns", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("drnxsluvlzla", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("dqqjwkrhwzdano", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("rthxqlehmcg", + Assertions.assertEquals("sgglmv", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("jei", model.networkFabricId()); - Assertions.assertEquals("oka", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("fejvqn", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(2120944830, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(1689217282, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(955211490, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1634987972, model.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("katuztjctib", model.networkFabricId()); + Assertions.assertEquals("aehxsmzygdf", + model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("kwseivmakxhyso", + model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(714779991, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1717896236, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(979321734, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(1408414090, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicyConfiguration().exportPolicies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3IsolationDomainProperties model = new L3IsolationDomainProperties().withAnnotation("skkfmk") - .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.FALSE) - .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE) + L3IsolationDomainProperties model = new L3IsolationDomainProperties().withAnnotation("uumljcirvpefyc") + .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.TRUE) + .withRedistributeStaticRoutes(RedistributeStaticRoutes.TRUE) .withAggregateRouteConfiguration(new AggregateRouteConfiguration() - .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("bkkqvjcte"), - new AggregateRoute().withPrefix("edlrslskkzpxvj"), new AggregateRoute().withPrefix("zdpv"), - new AggregateRoute().withPrefix("cojhpcnabx"))) - .withIpv6Routes( - Arrays.asList(new AggregateRoute().withPrefix("nggy"), new AggregateRoute().withPrefix("e"), - new AggregateRoute().withPrefix("vzilmhiv"), new AggregateRoute().withPrefix("kwwwnckn")))) + .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("nsxzajlns"), + new AggregateRoute().withPrefix("hwjuyxxbxqvmvua"), new AggregateRoute().withPrefix("tuadxkxeqb"), + new AggregateRoute().withPrefix("pntghyks"))) + .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("drnxsluvlzla"), + new AggregateRoute().withPrefix("ltxkpb")))) .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy() - .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("jlskzptjxulweu") - .withExportIpv6RoutePolicyId("rthxqlehmcg"))) - .withNetworkFabricId("jei") - .withStaticRouteRoutePolicy(new StaticRouteRoutePolicy().withExportRoutePolicy( - new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("oka").withExportIpv6RoutePolicyId("fejvqn"))) + .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("dqqjwkrhwzdano") + .withExportIpv6RoutePolicyId("sgglmv"))) + .withNetworkFabricId("katuztjctib") + .withStaticRouteRoutePolicy(new StaticRouteRoutePolicy() + .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("aehxsmzygdf") + .withExportIpv6RoutePolicyId("kwseivmakxhyso"))) .withUniqueRdConfiguration(new L3UniqueRouteDistinguisherProperties()) - .withV4routePrefixLimit( - new RoutePrefixLimitProperties().withHardLimit(2120944830).withThreshold(1689217282)) - .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(955211490).withThreshold(1634987972)) - .withExportPolicyConfiguration( - new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.LOCAL_RIB, - BmpExportPolicy.PRE_POLICY, BmpExportPolicy.POST_POLICY, BmpExportPolicy.ALL))); + .withV4routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(714779991).withThreshold(1717896236)) + .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(979321734).withThreshold(1408414090)) + .withExportPolicyConfiguration(new BmpExportPolicyProperties().withExportPolicies(Arrays.asList( + BmpExportPolicy.ALL, BmpExportPolicy.POST_POLICY, BmpExportPolicy.PRE_POLICY, BmpExportPolicy.ALL))); model = BinaryData.fromObject(model).toObject(L3IsolationDomainProperties.class); - Assertions.assertEquals("skkfmk", model.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.redistributeConnectedSubnets()); - Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.redistributeStaticRoutes()); - Assertions.assertEquals("bkkqvjcte", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nggy", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jlskzptjxulweu", + Assertions.assertEquals("uumljcirvpefyc", model.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, model.redistributeConnectedSubnets()); + Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.redistributeStaticRoutes()); + Assertions.assertEquals("nsxzajlns", model.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("drnxsluvlzla", model.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("dqqjwkrhwzdano", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("rthxqlehmcg", + Assertions.assertEquals("sgglmv", model.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("jei", model.networkFabricId()); - Assertions.assertEquals("oka", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("fejvqn", model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(2120944830, model.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(1689217282, model.v4routePrefixLimit().threshold()); - Assertions.assertEquals(955211490, model.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1634987972, model.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.exportPolicyConfiguration().exportPolicies().get(0)); + Assertions.assertEquals("katuztjctib", model.networkFabricId()); + Assertions.assertEquals("aehxsmzygdf", + model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("kwseivmakxhyso", + model.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(714779991, model.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1717896236, model.v4routePrefixLimit().threshold()); + Assertions.assertEquals(979321734, model.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(1408414090, model.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.ALL, model.exportPolicyConfiguration().exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateMockTests.java index b65d959909841..538a089cb8f2e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsCreateMockTests.java @@ -38,7 +38,7 @@ public final class L3IsolationDomainsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"zcjmsrorjby\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"bysxtjivw\"}],\"ipv6Routes\":[{\"prefix\":\"gicyctak\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"holsmahbj\",\"exportIpv6RoutePolicyId\":\"vskqxgb\"}},\"networkFabricId\":\"gozr\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"aurlysseocppgsfj\",\"exportIpv6RoutePolicyId\":\"gmogmcjn\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"bwyp\"]},\"v4routePrefixLimit\":{\"hardLimit\":542664884,\"threshold\":1654178759},\"v6routePrefixLimit\":{\"hardLimit\":130607440,\"threshold\":1142591124},\"lastOperation\":{\"details\":\"zflwlko\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"identity\":{\"principalId\":\"wpmrlgjjqsxfptv\",\"tenantId\":\"vrejkvc\",\"type\":\"None\",\"userAssignedIdentities\":{\"vgotbjnxozi\":{\"principalId\":\"d\",\"clientId\":\"hhwtgcgefayc\"},\"vms\":{\"principalId\":\"xnpov\",\"clientId\":\"xl\"},\"eahgsibldxyaqdaa\":{\"principalId\":\"isupnxthuozdvo\",\"clientId\":\"uyhhrdikdb\"}}},\"location\":\"zaxzfhhh\",\"tags\":{\"kf\":\"kgnrya\",\"dhkdwyehqn\":\"xauihnb\",\"fgjynmin\":\"u\",\"p\":\"vdkqigppdqsqs\"},\"id\":\"eaxthuhuruouqy\",\"name\":\"tapstkdbnqjpcuz\",\"type\":\"xoymfkumbysgsqz\"}"; + = "{\"properties\":{\"annotation\":\"kqdqiybqtl\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"iznnnadn\"}],\"ipv6Routes\":[{\"prefix\":\"bpxlserqgxnhfc\"},{\"prefix\":\"c\"},{\"prefix\":\"u\"},{\"prefix\":\"xybn\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"pmeglolpotclmbk\",\"exportIpv6RoutePolicyId\":\"jryt\"}},\"networkFabricId\":\"m\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"j\",\"exportIpv6RoutePolicyId\":\"nnt\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"ovvivlrxy\",\"rafet\",\"wyt\",\"vpiilgy\"]},\"v4routePrefixLimit\":{\"hardLimit\":48049368,\"threshold\":302236166},\"v6routePrefixLimit\":{\"hardLimit\":211039355,\"threshold\":992759101},\"lastOperation\":{\"details\":\"nhhvp\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\"]},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"egwezgfqo\",\"tenantId\":\"tcp\",\"type\":\"None\",\"userAssignedIdentities\":{\"kkajmnvbigmn\":{\"principalId\":\"y\",\"clientId\":\"zbasjckaki\"}}},\"location\":\"qdyco\",\"tags\":{\"klqr\":\"kxx\",\"daypx\":\"bcgsa\"},\"id\":\"qedft\",\"name\":\"igmj\",\"type\":\"kt\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -48,58 +48,57 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); L3IsolationDomain response = manager.l3IsolationDomains() - .define("behv") - .withRegion("jxxcruleimswxoig") - .withExistingResourceGroup("lbbhtleiwfi") - .withNetworkFabricId("jbcbrtiqpj") - .withTags(mapOf("ijpmeptn", "mjmpgzetuvfp", "eeolmobaqo", "snpafksprrvjw")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .define("uqfffglftl") + .withRegion("tjpuadpqu") + .withExistingResourceGroup("hardxnk") + .withNetworkFabricId("uxs") + .withTags(mapOf("giurhgqlvl", "svz", "kpobjufksddxk", "jzscrjtnq", "lsrguecbthauivg", "iwxlylxfpvoylf")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) .withUserAssignedIdentities( - mapOf("oxe", new UserAssignedIdentity(), "mqjhg", new UserAssignedIdentity(), "gvudym", - new UserAssignedIdentity(), "slqbaf", new UserAssignedIdentity()))) - .withAnnotation("ghltndsazg") + mapOf("nrvwjxmwalh", new UserAssignedIdentity(), "hod", new UserAssignedIdentity(), "km", + new UserAssignedIdentity(), "qvpjydwmaq", new UserAssignedIdentity()))) + .withAnnotation("kierxuvpr") .withRedistributeConnectedSubnets(RedistributeConnectedSubnets.FALSE) - .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE) + .withRedistributeStaticRoutes(RedistributeStaticRoutes.TRUE) .withAggregateRouteConfiguration(new AggregateRouteConfiguration() - .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("agnbhzteninafyag"), - new AggregateRoute().withPrefix("ocvetzkcolbclspq"))) - .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("icurufngpbvdl"), - new AggregateRoute().withPrefix("p"), new AggregateRoute().withPrefix("dkiywwenvxu")))) + .withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("uveljfa"), + new AggregateRoute().withPrefix("in"), new AggregateRoute().withPrefix("fziztgddahymvk"))) + .withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("dhmigkwao"), + new AggregateRoute().withPrefix("xgienylsijqyg")))) .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy() - .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("ranbtqejfqgh") - .withExportIpv6RoutePolicyId("drvxbcyeh"))) + .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("daehxvvi") + .withExportIpv6RoutePolicyId("safgkysym"))) .withStaticRouteRoutePolicy(new StaticRouteRoutePolicy() - .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("mhdqlui") - .withExportIpv6RoutePolicyId("qxqjzmosmlh"))) + .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("bpegcetezaapws") + .withExportIpv6RoutePolicyId("bttzsqey"))) .withUniqueRdConfiguration(new L3UniqueRouteDistinguisherProperties()) - .withV4routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(1371951338).withThreshold(207824970)) - .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(1106854405).withThreshold(61554079)) - .withExportPolicyConfiguration(new BmpExportPolicyProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.ALL, BmpExportPolicy.ALL))) + .withV4routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(1386576890).withThreshold(266934579)) + .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(907490573).withThreshold(1125716793)) + .withExportPolicyConfiguration( + new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, + BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.PRE_POLICY))) .create(); - Assertions.assertEquals("zaxzfhhh", response.location()); - Assertions.assertEquals("kgnrya", response.tags().get("kf")); + Assertions.assertEquals("qdyco", response.location()); + Assertions.assertEquals("kxx", response.tags().get("klqr")); Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); - Assertions.assertEquals("zcjmsrorjby", response.annotation()); + Assertions.assertEquals("kqdqiybqtl", response.annotation()); Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, response.redistributeConnectedSubnets()); - Assertions.assertEquals(RedistributeStaticRoutes.FALSE, response.redistributeStaticRoutes()); - Assertions.assertEquals("bysxtjivw", response.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("gicyctak", response.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("holsmahbj", + Assertions.assertEquals(RedistributeStaticRoutes.TRUE, response.redistributeStaticRoutes()); + Assertions.assertEquals("iznnnadn", response.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("bpxlserqgxnhfc", response.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("pmeglolpotclmbk", response.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("vskqxgb", + Assertions.assertEquals("jryt", response.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("gozr", response.networkFabricId()); - Assertions.assertEquals("aurlysseocppgsfj", - response.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("gmogmcjn", - response.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(542664884, response.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(1654178759, response.v4routePrefixLimit().threshold()); - Assertions.assertEquals(130607440, response.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1142591124, response.v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, + Assertions.assertEquals("m", response.networkFabricId()); + Assertions.assertEquals("j", response.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("nnt", response.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals(48049368, response.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(302236166, response.v4routePrefixLimit().threshold()); + Assertions.assertEquals(211039355, response.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(992759101, response.v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, response.exportPolicyConfiguration().exportPolicies().get(0)); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupWithResponseMockTests.java index 8e90ac8e2f11f..4a3128e96cdfb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsGetByResourceGroupWithResponseMockTests.java @@ -25,7 +25,7 @@ public final class L3IsolationDomainsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"dow\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"pbieehp\"}],\"ipv6Routes\":[{\"prefix\":\"i\"},{\"prefix\":\"rrjprygjgyovc\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"isma\",\"exportIpv6RoutePolicyId\":\"ktcoykr\"}},\"networkFabricId\":\"kkcxc\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"onxmtrhww\",\"exportIpv6RoutePolicyId\":\"ncqu\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"hzlvkmirnvdbza\",\"mepbmogtfpksk\",\"syoh\",\"rlyynkgnychu\"]},\"v4routePrefixLimit\":{\"hardLimit\":1604188770,\"threshold\":1589362548},\"v6routePrefixLimit\":{\"hardLimit\":803613526,\"threshold\":414573941},\"lastOperation\":{\"details\":\"oeodgnu\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"yavvexjqd\",\"tenantId\":\"o\",\"type\":\"None\",\"userAssignedIdentities\":{\"awhkdkvaqspbds\":{\"principalId\":\"wxj\",\"clientId\":\"rppmvnoqtwqci\"},\"h\":{\"principalId\":\"tidikxmtmj\",\"clientId\":\"mrjngrjsqtirhab\"},\"thfqcyycx\":{\"principalId\":\"vsdyjmbydrgxvnmt\",\"clientId\":\"uxrdmudwruog\"}}},\"location\":\"lkfjgjlwfssg\",\"tags\":{\"lamd\":\"qvuscmcegyiwzou\",\"o\":\"ffvxnis\",\"zzcdrgtu\":\"wfdtjpsjwlpcxl\"},\"id\":\"oouocafaxvhjrpb\",\"name\":\"rolge\",\"type\":\"sgn\"}"; + = "{\"properties\":{\"annotation\":\"amdgff\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"wfdtjpsjwlpcxl\"},{\"prefix\":\"zzcdrgtu\"},{\"prefix\":\"oouocafaxvhjrpb\"}],\"ipv6Routes\":[{\"prefix\":\"lgels\"},{\"prefix\":\"nenjtxuuwdmrqa\"},{\"prefix\":\"lbyjahbzbtl\"},{\"prefix\":\"acbwmvphmjyzice\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"zcgwnibnd\",\"exportIpv6RoutePolicyId\":\"gjibrxxi\"}},\"networkFabricId\":\"ocrwuhumgwspugn\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"wadudokoxqbozezx\",\"exportIpv6RoutePolicyId\":\"inrguk\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"vq\"]},\"v4routePrefixLimit\":{\"hardLimit\":1806414494,\"threshold\":231602354},\"v6routePrefixLimit\":{\"hardLimit\":1292470542,\"threshold\":545120090},\"lastOperation\":{\"details\":\"njkcolo\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"LocalRib\",\"Pre-Policy\",\"All\"]},\"configurationState\":\"CommitStageFailed\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"zq\",\"tenantId\":\"kujz\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"dbdnmguifq\":{\"principalId\":\"xkzhvfojcvnhpebu\",\"clientId\":\"wkysgqacbeauv\"},\"mokfdybv\":{\"principalId\":\"oxzxbljpzauug\",\"clientId\":\"rfumitjaii\"},\"tvxkxg\":{\"principalId\":\"bgmjrvrsqrjco\",\"clientId\":\"wrylc\"},\"tevfeugcwt\":{\"principalId\":\"pvvqwvv\",\"clientId\":\"oqaaqjblwqw\"}}},\"location\":\"txoswvfrymqqfksq\",\"tags\":{\"xygwvtkrqiyuqds\":\"dleohysdgkb\",\"pf\":\"jqztrpjme\",\"xkloabc\":\"taaq\",\"v\":\"xqa\"},\"id\":\"krepqasviy\",\"name\":\"bvolivianklqclft\",\"type\":\"neouxpdnlbp\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,30 +35,30 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); L3IsolationDomain response = manager.l3IsolationDomains() - .getByResourceGroupWithResponse("qaqoveqowqodisp", "sxwiicfsbjhha", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("e", "yiwzou", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("lkfjgjlwfssg", response.location()); - Assertions.assertEquals("qvuscmcegyiwzou", response.tags().get("lamd")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); - Assertions.assertEquals("dow", response.annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, response.redistributeConnectedSubnets()); + Assertions.assertEquals("txoswvfrymqqfksq", response.location()); + Assertions.assertEquals("dleohysdgkb", response.tags().get("xygwvtkrqiyuqds")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type()); + Assertions.assertEquals("amdgff", response.annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, response.redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.FALSE, response.redistributeStaticRoutes()); - Assertions.assertEquals("pbieehp", response.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("i", response.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("isma", + Assertions.assertEquals("wfdtjpsjwlpcxl", response.aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("lgels", response.aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("zcgwnibnd", response.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("ktcoykr", + Assertions.assertEquals("gjibrxxi", response.connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("kkcxc", response.networkFabricId()); - Assertions.assertEquals("onxmtrhww", + Assertions.assertEquals("ocrwuhumgwspugn", response.networkFabricId()); + Assertions.assertEquals("wadudokoxqbozezx", response.staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("ncqu", + Assertions.assertEquals("inrguk", response.staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(1604188770, response.v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(1589362548, response.v4routePrefixLimit().threshold()); - Assertions.assertEquals(803613526, response.v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(414573941, response.v6routePrefixLimit().threshold()); + Assertions.assertEquals(1806414494, response.v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(231602354, response.v4routePrefixLimit().threshold()); + Assertions.assertEquals(1292470542, response.v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(545120090, response.v6routePrefixLimit().threshold()); Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, response.exportPolicyConfiguration().exportPolicies().get(0)); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupMockTests.java index a884dffe7026b..f0c1e2ef8ee66 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListByResourceGroupMockTests.java @@ -26,7 +26,7 @@ public final class L3IsolationDomainsListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"yjahbzbtlmacbwm\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"celrlazcgwnibnd\"}],\"ipv6Routes\":[{\"prefix\":\"jibrxxiaocrwuhu\"},{\"prefix\":\"gwspugnvhtgwad\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"oxqbozezxzwinr\",\"exportIpv6RoutePolicyId\":\"kqobovqlltql\"}},\"networkFabricId\":\"ufkr\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"jkcol\",\"exportIpv6RoutePolicyId\":\"qlyputawdmd\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"zq\",\"vkujzofyl\"]},\"v4routePrefixLimit\":{\"hardLimit\":968417237,\"threshold\":1432122734},\"v6routePrefixLimit\":{\"hardLimit\":1623267285,\"threshold\":426196765},\"lastOperation\":{\"details\":\"peb\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Pre-Policy\",\"All\",\"All\"]},\"configurationState\":\"Accepted\",\"provisioningState\":\"Failed\",\"administrativeState\":\"MAT\"},\"identity\":{\"principalId\":\"ldbdnmgui\",\"tenantId\":\"jtoxzxbljpzauugd\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"bgmjrvrsqrjco\":{\"principalId\":\"itj\",\"clientId\":\"ismokfdybvy\"},\"xoqaaqjblwqw\":{\"principalId\":\"wrylc\",\"clientId\":\"vxkxgffpvvqwvv\"}}},\"location\":\"evfeugcwt\",\"tags\":{\"swvfrymqqfks\":\"x\",\"dgkbaxygwvtkr\":\"fcxdleohy\",\"sjjqzt\":\"iyuq\",\"meipfotaaqy\":\"p\"},\"id\":\"k\",\"name\":\"oabcoxqaavjkre\",\"type\":\"q\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"hn\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"gurwxfspxghw\"}],\"ipv6Routes\":[{\"prefix\":\"uofegrzfsf\"},{\"prefix\":\"lookwnz\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"vhu\",\"exportIpv6RoutePolicyId\":\"lodcqsylkk\"}},\"networkFabricId\":\"vmmmweljca\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"mcmnsmn\",\"exportIpv6RoutePolicyId\":\"tx\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"bibwodayipgs\",\"kioec\",\"byoxpvbv\",\"chfuxuqpdde\"]},\"v4routePrefixLimit\":{\"hardLimit\":871367325,\"threshold\":883789070},\"v6routePrefixLimit\":{\"hardLimit\":532916531,\"threshold\":611543174},\"lastOperation\":{\"details\":\"zapzibm\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Post-Policy\",\"All\",\"LocalRib\"]},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"kj\",\"tenantId\":\"pktbnmhxtmzzpa\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"nwichjkwctlsoh\":{\"principalId\":\"sbk\",\"clientId\":\"ouytsajjgvu\"},\"meyaoy\":{\"principalId\":\"gpv\",\"clientId\":\"btegiw\"},\"e\":{\"principalId\":\"fgvxau\",\"clientId\":\"nabgrsnfzmth\"}}},\"location\":\"flazfotrp\",\"tags\":{\"eybduk\":\"amdorgljekhdsfgj\",\"oexkon\":\"glniwvxmysceji\"},\"id\":\"iacdloehsmvvxkc\",\"name\":\"edhaftniffajniwb\",\"type\":\"zyjuyxylb\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,33 +36,34 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.l3IsolationDomains().listByResourceGroup("njtxuuwdmrqah", com.azure.core.util.Context.NONE); + = manager.l3IsolationDomains().listByResourceGroup("bc", com.azure.core.util.Context.NONE); - Assertions.assertEquals("evfeugcwt", response.iterator().next().location()); - Assertions.assertEquals("x", response.iterator().next().tags().get("swvfrymqqfks")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals("yjahbzbtlmacbwm", response.iterator().next().annotation()); - Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, + Assertions.assertEquals("flazfotrp", response.iterator().next().location()); + Assertions.assertEquals("amdorgljekhdsfgj", response.iterator().next().tags().get("eybduk")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, + response.iterator().next().identity().type()); + Assertions.assertEquals("hn", response.iterator().next().annotation()); + Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, response.iterator().next().redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.TRUE, response.iterator().next().redistributeStaticRoutes()); - Assertions.assertEquals("celrlazcgwnibnd", + Assertions.assertEquals("gurwxfspxghw", response.iterator().next().aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jibrxxiaocrwuhu", + Assertions.assertEquals("uofegrzfsf", response.iterator().next().aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("oxqbozezxzwinr", + Assertions.assertEquals("vhu", response.iterator().next().connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("kqobovqlltql", + Assertions.assertEquals("lodcqsylkk", response.iterator().next().connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("ufkr", response.iterator().next().networkFabricId()); - Assertions.assertEquals("jkcol", + Assertions.assertEquals("vmmmweljca", response.iterator().next().networkFabricId()); + Assertions.assertEquals("mcmnsmn", response.iterator().next().staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qlyputawdmd", + Assertions.assertEquals("tx", response.iterator().next().staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(968417237, response.iterator().next().v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(1432122734, response.iterator().next().v4routePrefixLimit().threshold()); - Assertions.assertEquals(1623267285, response.iterator().next().v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(426196765, response.iterator().next().v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, + Assertions.assertEquals(871367325, response.iterator().next().v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(883789070, response.iterator().next().v4routePrefixLimit().threshold()); + Assertions.assertEquals(532916531, response.iterator().next().v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(611543174, response.iterator().next().v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.ALL, response.iterator().next().exportPolicyConfiguration().exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListMockTests.java index 539aaed95e863..8ec9171656ff4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListMockTests.java @@ -26,7 +26,7 @@ public final class L3IsolationDomainsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"viysbvoliviankl\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"ouxpdnlbp\"},{\"prefix\":\"bc\"}],\"ipv6Routes\":[{\"prefix\":\"nroaqzekggurwxf\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"hwfiyuofegrzfs\",\"exportIpv6RoutePolicyId\":\"lookwnz\"}},\"networkFabricId\":\"tjbvhui\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"cqsylkkq\",\"exportIpv6RoutePolicyId\":\"mmweljc\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"ymcmnsm\",\"jitxughl\"]},\"v4routePrefixLimit\":{\"hardLimit\":2096389103,\"threshold\":1989013161},\"v6routePrefixLimit\":{\"hardLimit\":1392573672,\"threshold\":881560479},\"lastOperation\":{\"details\":\"kioec\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"All\"]},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"xuqpddebokzdshh\",\"tenantId\":\"ixnzapzibms\",\"type\":\"None\",\"userAssignedIdentities\":{\"tsrvsbkn\":{\"principalId\":\"zvfywspajakj\",\"clientId\":\"pktbnmhxtmzzpa\"},\"j\":{\"principalId\":\"uytsaj\",\"clientId\":\"vusnwic\"},\"eyaoyzjfgvxau\":{\"principalId\":\"ctlsohrtgpvvcb\",\"clientId\":\"giwc\"}}},\"location\":\"nabgrsnfzmth\",\"tags\":{\"p\":\"uflazfot\"},\"id\":\"umamdorgl\",\"name\":\"ekh\",\"type\":\"sfgjbeybdukbgl\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"g\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"o\"},{\"prefix\":\"i\"}],\"ipv6Routes\":[{\"prefix\":\"nykjxq\"},{\"prefix\":\"speqgedpi\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"jzturdiverkwmaf\",\"exportIpv6RoutePolicyId\":\"oqakvutedetxokqu\"}},\"networkFabricId\":\"jdwcwj\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"kcehxahnqjbavdbl\",\"exportIpv6RoutePolicyId\":\"fbbvi\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"pafufwr\"]},\"v4routePrefixLimit\":{\"hardLimit\":1043213630,\"threshold\":1117461158},\"v6routePrefixLimit\":{\"hardLimit\":1535223766,\"threshold\":1719675830},\"lastOperation\":{\"details\":\"avmdcctemvaajyi\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Pre-Policy\",\"LocalRib\"]},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"qubryhvbvjyfdw\",\"tenantId\":\"pjozgryocgwkph\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ksjwiswz\":{\"principalId\":\"bbcimx\",\"clientId\":\"fo\"},\"fizbehvqaghltn\":{\"principalId\":\"bbh\",\"clientId\":\"ei\"},\"agaocv\":{\"principalId\":\"azgnyfhqyliag\",\"clientId\":\"hzteninaf\"},\"xzicurufngp\":{\"principalId\":\"zkc\",\"clientId\":\"bclspq\"}}},\"location\":\"dlkpzdkiywwenvx\",\"tags\":{\"tqejfqghg\":\"ixran\",\"jbcbrtiqpj\":\"drvxbcyeh\",\"luicrqxqjzm\":\"akamhd\",\"tnjpkpmdlttmfhde\":\"smlhcppfgtnsxdjh\"},\"id\":\"liaaiqyxlro\",\"name\":\"xpebsxcnhq\",\"type\":\"cbtyor\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,31 +37,32 @@ public void testList() throws Exception { PagedIterable response = manager.l3IsolationDomains().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("nabgrsnfzmth", response.iterator().next().location()); - Assertions.assertEquals("uflazfot", response.iterator().next().tags().get("p")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.iterator().next().identity().type()); - Assertions.assertEquals("viysbvoliviankl", response.iterator().next().annotation()); + Assertions.assertEquals("dlkpzdkiywwenvx", response.iterator().next().location()); + Assertions.assertEquals("ixran", response.iterator().next().tags().get("tqejfqghg")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, + response.iterator().next().identity().type()); + Assertions.assertEquals("g", response.iterator().next().annotation()); Assertions.assertEquals(RedistributeConnectedSubnets.TRUE, response.iterator().next().redistributeConnectedSubnets()); Assertions.assertEquals(RedistributeStaticRoutes.TRUE, response.iterator().next().redistributeStaticRoutes()); - Assertions.assertEquals("ouxpdnlbp", + Assertions.assertEquals("o", response.iterator().next().aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nroaqzekggurwxf", + Assertions.assertEquals("nykjxq", response.iterator().next().aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("hwfiyuofegrzfs", + Assertions.assertEquals("jzturdiverkwmaf", response.iterator().next().connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("lookwnz", + Assertions.assertEquals("oqakvutedetxokqu", response.iterator().next().connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("tjbvhui", response.iterator().next().networkFabricId()); - Assertions.assertEquals("cqsylkkq", + Assertions.assertEquals("jdwcwj", response.iterator().next().networkFabricId()); + Assertions.assertEquals("kcehxahnqjbavdbl", response.iterator().next().staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("mmweljc", + Assertions.assertEquals("fbbvi", response.iterator().next().staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(2096389103, response.iterator().next().v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(1989013161, response.iterator().next().v4routePrefixLimit().threshold()); - Assertions.assertEquals(1392573672, response.iterator().next().v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(881560479, response.iterator().next().v6routePrefixLimit().threshold()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals(1043213630, response.iterator().next().v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1117461158, response.iterator().next().v4routePrefixLimit().threshold()); + Assertions.assertEquals(1535223766, response.iterator().next().v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(1719675830, response.iterator().next().v6routePrefixLimit().threshold()); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, response.iterator().next().exportPolicyConfiguration().exportPolicies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListResultTests.java index 4c025b1565528..8e42234280bbe 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3IsolationDomainsListResultTests.java @@ -16,33 +16,33 @@ public final class L3IsolationDomainsListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3IsolationDomainsListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"syekrdrenxol\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"iv\"},{\"prefix\":\"lhydwbdbfgrlpu\"}],\"ipv6Routes\":[{\"prefix\":\"jlkesmmpath\"},{\"prefix\":\"btahdeanii\"},{\"prefix\":\"llbvgwzsfftedous\"},{\"prefix\":\"ktjtgra\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"gfkbebauzlqbtxx\",\"exportIpv6RoutePolicyId\":\"f\"}},\"networkFabricId\":\"njzudr\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"gmeboywhczz\",\"exportIpv6RoutePolicyId\":\"hmngqb\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"isrz\"]},\"v4routePrefixLimit\":{\"hardLimit\":1585605889,\"threshold\":504390179},\"v6routePrefixLimit\":{\"hardLimit\":546507122,\"threshold\":1141293702},\"lastOperation\":{\"details\":\"pwctofl\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Post-Policy\",\"All\"]},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"identity\":{\"principalId\":\"drwjiy\",\"tenantId\":\"hfjsrwqrxetf\",\"type\":\"None\",\"userAssignedIdentities\":{\"cnawth\":{\"principalId\":\"r\",\"clientId\":\"qnt\"},\"eamc\":{\"principalId\":\"ax\",\"clientId\":\"u\"},\"pqtwloesqrggvrb\":{\"principalId\":\"udf\",\"clientId\":\"cehokw\"}}},\"location\":\"rukoi\",\"tags\":{\"leipjl\":\"iduw\",\"kkwhbgxvellvulnx\":\"wyxpzruzyth\"},\"id\":\"mnitmujd\",\"name\":\"vm\",\"type\":\"lyymffhmjpddny\"},{\"properties\":{\"annotation\":\"zuvrzmzqmz\",\"redistributeConnectedSubnets\":\"True\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"mdyfoebojtj\"},{\"prefix\":\"pglaoh\"},{\"prefix\":\"qk\"}],\"ipv6Routes\":[{\"prefix\":\"nqjilaywk\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"qsyrilmhxdqao\",\"exportIpv6RoutePolicyId\":\"ylnkkbjpjvlywltm\"}},\"networkFabricId\":\"wob\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"lwyjfnqzocrdz\",\"exportIpv6RoutePolicyId\":\"zeunt\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"ca\",\"ttie\",\"oifuvnyttzgixgy\",\"ihlgm\"]},\"v4routePrefixLimit\":{\"hardLimit\":772601164,\"threshold\":1712593947},\"v6routePrefixLimit\":{\"hardLimit\":1073702887,\"threshold\":929511267},\"lastOperation\":{\"details\":\"ndrndpgf\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"LocalRib\",\"Post-Policy\",\"LocalRib\"]},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"},\"identity\":{\"principalId\":\"gsabvcipowzafc\",\"tenantId\":\"umljcirvpef\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"qvmvuaytuadxkxe\":{\"principalId\":\"ititjnsxza\",\"clientId\":\"nsjhwjuyxxb\"},\"u\":{\"principalId\":\"wp\",\"clientId\":\"ghyksarcdrnxs\"}}},\"location\":\"zladltxkpbq\",\"tags\":{\"isgglmvokat\":\"dqqjwkrhwzdano\",\"xsmzygdf\":\"ztjctibpvbkae\",\"eivmak\":\"akw\"},\"id\":\"hysowljuxlkbect\",\"name\":\"tfjmskdchmaiub\",\"type\":\"vlzw\"},{\"properties\":{\"annotation\":\"gmfalkzazmgoked\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"rokzrthqetwpq\"},{\"prefix\":\"tvaoznqn\"},{\"prefix\":\"xiezeagmceit\"},{\"prefix\":\"ugedh\"}],\"ipv6Routes\":[{\"prefix\":\"stlzm\"},{\"prefix\":\"lsyj\"},{\"prefix\":\"eolctaebf\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"edjc\",\"exportIpv6RoutePolicyId\":\"tb\"}},\"networkFabricId\":\"tqi\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"vsgeafgf\",\"exportIpv6RoutePolicyId\":\"ehxlzsxezppk\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"es\",\"yfjlpzeqto\"]},\"v4routePrefixLimit\":{\"hardLimit\":1166008227,\"threshold\":822312468},\"v6routePrefixLimit\":{\"hardLimit\":1803184216,\"threshold\":951853917},\"lastOperation\":{\"details\":\"quevham\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]},\"configurationState\":\"Failed\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"UnderMaintenance\"},\"identity\":{\"principalId\":\"kzwaqxofq\",\"tenantId\":\"chiqbplvfid\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"hrdicxdwyjfo\":{\"principalId\":\"kxbyjg\",\"clientId\":\"fepxyihpqadag\"},\"gbipcukdveks\":{\"principalId\":\"wyov\",\"clientId\":\"j\"},\"yszekbhwlka\":{\"principalId\":\"hoduchvlscrd\",\"clientId\":\"bfdyjduss\"}}},\"location\":\"gkrehbf\",\"tags\":{\"jfiimreoa\":\"ybff\",\"sqwudohzilfmnli\":\"sqtaadusrexxfa\",\"ypofqpmbhyqgs\":\"psimsf\"},\"id\":\"rmmttjxop\",\"name\":\"gerhsmvg\",\"type\":\"htwzmqilr\"},{\"properties\":{\"annotation\":\"ysfn\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"True\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"mhkruwaedrympm\"},{\"prefix\":\"q\"},{\"prefix\":\"in\"},{\"prefix\":\"zduewihapfjii\"}],\"ipv6Routes\":[{\"prefix\":\"diqfliejhpclbi\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"bwceivbvzip\",\"exportIpv6RoutePolicyId\":\"xgoooxzprad\"}},\"networkFabricId\":\"s\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"pdgzigjsugswhg\",\"exportIpv6RoutePolicyId\":\"odkwwnbafocto\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"quvwsxbgn\",\"kerv\",\"choadhrsxqv\",\"vspabdsrgfajgl\"]},\"v4routePrefixLimit\":{\"hardLimit\":1989046577,\"threshold\":551027911},\"v6routePrefixLimit\":{\"hardLimit\":1181273635,\"threshold\":1397650583},\"lastOperation\":{\"details\":\"tcetjdv\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]},\"configurationState\":\"Accepted\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"MAT\"},\"identity\":{\"principalId\":\"dxvqzxoe\",\"tenantId\":\"gjxb\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"ttkgsux\":{\"principalId\":\"aupwtzvpaklo\",\"clientId\":\"xbzrpejplssanb\"}}},\"location\":\"rswgkpjhboyikeb\",\"tags\":{\"wlokhueoijyzcq\":\"ksl\",\"fejyvdwtfxptpqa\":\"pzqzufgs\",\"mxsnxocuul\":\"amkncfgy\",\"wwdjuxdbdl\":\"ojkpoyh\"},\"id\":\"zgdyrcvuqbs\",\"name\":\"zlrqhbjnqogdx\",\"type\":\"bsfp\"}],\"nextLink\":\"x\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"gnvk\",\"redistributeConnectedSubnets\":\"False\",\"redistributeStaticRoutes\":\"False\",\"aggregateRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"dhrsxqvzvsp\"},{\"prefix\":\"bdsrgfajglzrsu\"},{\"prefix\":\"klrxhjnltce\"},{\"prefix\":\"jdvqy\"}],\"ipv6Routes\":[{\"prefix\":\"q\"}]},\"connectedSubnetRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ruwdxvqzxoebwgj\",\"exportIpv6RoutePolicyId\":\"ibanb\"}},\"networkFabricId\":\"upwtz\",\"staticRouteRoutePolicy\":{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"lozkxbzrp\",\"exportIpv6RoutePolicyId\":\"plssanbtttk\"}},\"uniqueRdConfiguration\":{\"uniqueRds\":[\"unrswgkpjhboyik\",\"bhuhk\",\"lgw\",\"okhu\"]},\"v4routePrefixLimit\":{\"hardLimit\":370190669,\"threshold\":1584456457},\"v6routePrefixLimit\":{\"hardLimit\":1192978132,\"threshold\":866767231},\"lastOperation\":{\"details\":\"ufgsyfejyvdw\"},\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Pre-Policy\",\"Post-Policy\"]},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"gybm\",\"tenantId\":\"nxocuul\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"zgdyrcvuqbs\":{\"principalId\":\"oy\",\"clientId\":\"wwdjuxdbdl\"}}},\"location\":\"lr\",\"tags\":{\"tjlflecomi\":\"jnqogdxwbsfpyx\",\"xxdhilzzdzzqjm\":\"xojjl\",\"vribqlotokht\":\"ezay\"},\"id\":\"wtaznkcqw\",\"name\":\"xwjyofgwhnk\",\"type\":\"tlwljssmcts\"}],\"nextLink\":\"dkpwolgisub\"}") .toObject(L3IsolationDomainsListResult.class); - Assertions.assertEquals("rukoi", model.value().get(0).location()); - Assertions.assertEquals("iduw", model.value().get(0).tags().get("leipjl")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.value().get(0).identity().type()); - Assertions.assertEquals("syekrdrenxol", model.value().get(0).annotation()); + Assertions.assertEquals("lr", model.value().get(0).location()); + Assertions.assertEquals("jnqogdxwbsfpyx", model.value().get(0).tags().get("tjlflecomi")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.value().get(0).identity().type()); + Assertions.assertEquals("gnvk", model.value().get(0).annotation()); Assertions.assertEquals(RedistributeConnectedSubnets.FALSE, model.value().get(0).redistributeConnectedSubnets()); - Assertions.assertEquals(RedistributeStaticRoutes.TRUE, model.value().get(0).redistributeStaticRoutes()); - Assertions.assertEquals("iv", model.value().get(0).aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jlkesmmpath", - model.value().get(0).aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("gfkbebauzlqbtxx", + Assertions.assertEquals(RedistributeStaticRoutes.FALSE, model.value().get(0).redistributeStaticRoutes()); + Assertions.assertEquals("dhrsxqvzvsp", + model.value().get(0).aggregateRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("q", model.value().get(0).aggregateRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ruwdxvqzxoebwgj", model.value().get(0).connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("f", + Assertions.assertEquals("ibanb", model.value().get(0).connectedSubnetRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("njzudr", model.value().get(0).networkFabricId()); - Assertions.assertEquals("gmeboywhczz", + Assertions.assertEquals("upwtz", model.value().get(0).networkFabricId()); + Assertions.assertEquals("lozkxbzrp", model.value().get(0).staticRouteRoutePolicy().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hmngqb", + Assertions.assertEquals("plssanbtttk", model.value().get(0).staticRouteRoutePolicy().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals(1585605889, model.value().get(0).v4routePrefixLimit().hardLimit()); - Assertions.assertEquals(504390179, model.value().get(0).v4routePrefixLimit().threshold()); - Assertions.assertEquals(546507122, model.value().get(0).v6routePrefixLimit().hardLimit()); - Assertions.assertEquals(1141293702, model.value().get(0).v6routePrefixLimit().threshold()); + Assertions.assertEquals(370190669, model.value().get(0).v4routePrefixLimit().hardLimit()); + Assertions.assertEquals(1584456457, model.value().get(0).v4routePrefixLimit().threshold()); + Assertions.assertEquals(1192978132, model.value().get(0).v6routePrefixLimit().hardLimit()); + Assertions.assertEquals(866767231, model.value().get(0).v6routePrefixLimit().threshold()); Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.value().get(0).exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals("x", model.nextLink()); + Assertions.assertEquals("dkpwolgisub", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPatchPropertiesTests.java index 5edaf659953f4..7c5ef9a863372 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPatchPropertiesTests.java @@ -14,32 +14,32 @@ public final class L3OptionBPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3OptionBPatchProperties model = BinaryData.fromString( - "{\"importRouteTargets\":[\"ncwmhjob\",\"rf\",\"ri\",\"dc\"],\"exportRouteTargets\":[\"f\",\"cvbzwgwhgkgsoa\",\"oorssatfy\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"fdmxuqb\",\"qna\"],\"importIpv6RouteTargets\":[\"uxvzfqayopbtsi\",\"hg\",\"bhxmndztgsqjayq\",\"arxneibpgbr\"],\"exportIpv4RouteTargets\":[\"dqknh\",\"nmotpuwnnoh\"],\"exportIpv6RouteTargets\":[\"ngocfrjuypwyi\",\"laynosugkf\",\"axttpfsmwgs\",\"hqucum\"]}}") + "{\"importRouteTargets\":[\"etxdqcmyctajqzj\",\"alec\",\"bibiwks\",\"egyxsbfpzvoik\"],\"exportRouteTargets\":[\"wczfzwushlcx\",\"blalh\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"fkissaidqzsaa\"],\"importIpv6RouteTargets\":[\"sgptotxjq\",\"ia\"],\"exportIpv4RouteTargets\":[\"lrtbfij\",\"z\",\"aoijolb\"],\"exportIpv6RouteTargets\":[\"ktwieope\",\"e\",\"xq\",\"wrswyiljp\"]}}") .toObject(L3OptionBPatchProperties.class); - Assertions.assertEquals("ncwmhjob", model.importRouteTargets().get(0)); - Assertions.assertEquals("f", model.exportRouteTargets().get(0)); - Assertions.assertEquals("fdmxuqb", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("uxvzfqayopbtsi", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("dqknh", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("ngocfrjuypwyi", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("etxdqcmyctajqzj", model.importRouteTargets().get(0)); + Assertions.assertEquals("wczfzwushlcx", model.exportRouteTargets().get(0)); + Assertions.assertEquals("fkissaidqzsaa", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("sgptotxjq", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("lrtbfij", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("ktwieope", model.routeTargets().exportIpv6RouteTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - L3OptionBPatchProperties model - = new L3OptionBPatchProperties().withImportRouteTargets(Arrays.asList("ncwmhjob", "rf", "ri", "dc")) - .withExportRouteTargets(Arrays.asList("f", "cvbzwgwhgkgsoa", "oorssatfy")) - .withRouteTargets(new RouteTargetPatchInformation() - .withImportIpv4RouteTargets(Arrays.asList("fdmxuqb", "qna")) - .withImportIpv6RouteTargets(Arrays.asList("uxvzfqayopbtsi", "hg", "bhxmndztgsqjayq", "arxneibpgbr")) - .withExportIpv4RouteTargets(Arrays.asList("dqknh", "nmotpuwnnoh")) - .withExportIpv6RouteTargets(Arrays.asList("ngocfrjuypwyi", "laynosugkf", "axttpfsmwgs", "hqucum"))); + L3OptionBPatchProperties model = new L3OptionBPatchProperties() + .withImportRouteTargets(Arrays.asList("etxdqcmyctajqzj", "alec", "bibiwks", "egyxsbfpzvoik")) + .withExportRouteTargets(Arrays.asList("wczfzwushlcx", "blalh")) + .withRouteTargets( + new RouteTargetPatchInformation().withImportIpv4RouteTargets(Arrays.asList("fkissaidqzsaa")) + .withImportIpv6RouteTargets(Arrays.asList("sgptotxjq", "ia")) + .withExportIpv4RouteTargets(Arrays.asList("lrtbfij", "z", "aoijolb")) + .withExportIpv6RouteTargets(Arrays.asList("ktwieope", "e", "xq", "wrswyiljp"))); model = BinaryData.fromObject(model).toObject(L3OptionBPatchProperties.class); - Assertions.assertEquals("ncwmhjob", model.importRouteTargets().get(0)); - Assertions.assertEquals("f", model.exportRouteTargets().get(0)); - Assertions.assertEquals("fdmxuqb", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("uxvzfqayopbtsi", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("dqknh", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("ngocfrjuypwyi", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("etxdqcmyctajqzj", model.importRouteTargets().get(0)); + Assertions.assertEquals("wczfzwushlcx", model.exportRouteTargets().get(0)); + Assertions.assertEquals("fkissaidqzsaa", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("sgptotxjq", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("lrtbfij", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("ktwieope", model.routeTargets().exportIpv6RouteTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPropertiesTests.java index 485e28c548069..03d267e336531 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3OptionBPropertiesTests.java @@ -14,33 +14,31 @@ public final class L3OptionBPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { L3OptionBProperties model = BinaryData.fromString( - "{\"importRouteTargets\":[\"gzhogsmgbvmtd\",\"rqbebjnfveglab\",\"vkbiw\",\"nhtfgfi\"],\"exportRouteTargets\":[\"yhizpaczmu\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"kznhokhoitwhrj\",\"dmmazdnc\",\"idb\",\"pglhzqp\"],\"importIpv6RouteTargets\":[\"awkikcdgfh\",\"ssdpjeyoqxded\",\"cfiwhagxsurejq\"],\"exportIpv4RouteTargets\":[\"zzbgullcxiqqz\",\"koxdupnamgl\",\"ouigdmfivjqte\",\"dqqigdydkghpc\"],\"exportIpv6RouteTargets\":[\"qirvtk\",\"yhhmvfxl\",\"pjajodmkrrwe\"]}}") + "{\"importRouteTargets\":[\"mlree\",\"rfwss\",\"vlcwlisolntfxxc\",\"qmipfj\"],\"exportRouteTargets\":[\"ygizmshxx\",\"aizabu\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"skjto\"],\"importIpv6RouteTargets\":[\"zjsjzn\"],\"exportIpv4RouteTargets\":[\"qqmqipaydhfn\"],\"exportIpv6RouteTargets\":[\"xmtf\"]}}") .toObject(L3OptionBProperties.class); - Assertions.assertEquals("gzhogsmgbvmtd", model.importRouteTargets().get(0)); - Assertions.assertEquals("yhizpaczmu", model.exportRouteTargets().get(0)); - Assertions.assertEquals("kznhokhoitwhrj", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("awkikcdgfh", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("zzbgullcxiqqz", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("qirvtk", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("mlree", model.importRouteTargets().get(0)); + Assertions.assertEquals("ygizmshxx", model.exportRouteTargets().get(0)); + Assertions.assertEquals("skjto", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("zjsjzn", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("qqmqipaydhfn", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("xmtf", model.routeTargets().exportIpv6RouteTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { L3OptionBProperties model = new L3OptionBProperties() - .withImportRouteTargets(Arrays.asList("gzhogsmgbvmtd", "rqbebjnfveglab", "vkbiw", "nhtfgfi")) - .withExportRouteTargets(Arrays.asList("yhizpaczmu")) - .withRouteTargets(new RouteTargetInformation() - .withImportIpv4RouteTargets(Arrays.asList("kznhokhoitwhrj", "dmmazdnc", "idb", "pglhzqp")) - .withImportIpv6RouteTargets(Arrays.asList("awkikcdgfh", "ssdpjeyoqxded", "cfiwhagxsurejq")) - .withExportIpv4RouteTargets( - Arrays.asList("zzbgullcxiqqz", "koxdupnamgl", "ouigdmfivjqte", "dqqigdydkghpc")) - .withExportIpv6RouteTargets(Arrays.asList("qirvtk", "yhhmvfxl", "pjajodmkrrwe"))); + .withImportRouteTargets(Arrays.asList("mlree", "rfwss", "vlcwlisolntfxxc", "qmipfj")) + .withExportRouteTargets(Arrays.asList("ygizmshxx", "aizabu")) + .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("skjto")) + .withImportIpv6RouteTargets(Arrays.asList("zjsjzn")) + .withExportIpv4RouteTargets(Arrays.asList("qqmqipaydhfn")) + .withExportIpv6RouteTargets(Arrays.asList("xmtf"))); model = BinaryData.fromObject(model).toObject(L3OptionBProperties.class); - Assertions.assertEquals("gzhogsmgbvmtd", model.importRouteTargets().get(0)); - Assertions.assertEquals("yhizpaczmu", model.exportRouteTargets().get(0)); - Assertions.assertEquals("kznhokhoitwhrj", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("awkikcdgfh", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("zzbgullcxiqqz", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("qirvtk", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("mlree", model.importRouteTargets().get(0)); + Assertions.assertEquals("ygizmshxx", model.exportRouteTargets().get(0)); + Assertions.assertEquals("skjto", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("zjsjzn", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("qqmqipaydhfn", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("xmtf", model.routeTargets().exportIpv6RouteTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3UniqueRouteDistinguisherPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3UniqueRouteDistinguisherPropertiesTests.java index 2cabcd415e786..c9cd40b7269ce 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3UniqueRouteDistinguisherPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/L3UniqueRouteDistinguisherPropertiesTests.java @@ -10,7 +10,7 @@ public final class L3UniqueRouteDistinguisherPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - L3UniqueRouteDistinguisherProperties model = BinaryData.fromString("{\"uniqueRds\":[\"dmbvxekraok\"]}") + L3UniqueRouteDistinguisherProperties model = BinaryData.fromString("{\"uniqueRds\":[\"yrplix\",\"aj\"]}") .toObject(L3UniqueRouteDistinguisherProperties.class); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationPatchTests.java index e99b7d540a0b9..d27d970eb7309 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationPatchTests.java @@ -12,19 +12,18 @@ public final class Layer2ConfigurationPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - Layer2ConfigurationPatch model - = BinaryData.fromString("{\"mtu\":1181259528,\"interfaces\":[\"raq\",\"il\",\"pqcaigazwfwlrfd\",\"w\"]}") - .toObject(Layer2ConfigurationPatch.class); - Assertions.assertEquals(1181259528, model.mtu()); - Assertions.assertEquals("raq", model.interfaces().get(0)); + Layer2ConfigurationPatch model = BinaryData.fromString("{\"mtu\":1696191639,\"interfaces\":[\"pyixlv\"]}") + .toObject(Layer2ConfigurationPatch.class); + Assertions.assertEquals(1696191639, model.mtu()); + Assertions.assertEquals("pyixlv", model.interfaces().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - Layer2ConfigurationPatch model = new Layer2ConfigurationPatch().withMtu(1181259528) - .withInterfaces(Arrays.asList("raq", "il", "pqcaigazwfwlrfd", "w")); + Layer2ConfigurationPatch model + = new Layer2ConfigurationPatch().withMtu(1696191639).withInterfaces(Arrays.asList("pyixlv")); model = BinaryData.fromObject(model).toObject(Layer2ConfigurationPatch.class); - Assertions.assertEquals(1181259528, model.mtu()); - Assertions.assertEquals("raq", model.interfaces().get(0)); + Assertions.assertEquals(1696191639, model.mtu()); + Assertions.assertEquals("pyixlv", model.interfaces().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationTests.java index f21114c47d149..29ca9198b3e15 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer2ConfigurationTests.java @@ -12,20 +12,19 @@ public final class Layer2ConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - Layer2Configuration model = BinaryData - .fromString( - "{\"mtu\":1668427039,\"interfaces\":[\"wevsfgdrmnszdosm\",\"sqsvzvmxtc\",\"ghndae\",\"hgsulwvgs\"]}") - .toObject(Layer2Configuration.class); - Assertions.assertEquals(1668427039, model.mtu()); - Assertions.assertEquals("wevsfgdrmnszdosm", model.interfaces().get(0)); + Layer2Configuration model + = BinaryData.fromString("{\"mtu\":2114305274,\"interfaces\":[\"rvtipquks\",\"iknsgo\"]}") + .toObject(Layer2Configuration.class); + Assertions.assertEquals(2114305274, model.mtu()); + Assertions.assertEquals("rvtipquks", model.interfaces().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - Layer2Configuration model = new Layer2Configuration().withMtu(1668427039) - .withInterfaces(Arrays.asList("wevsfgdrmnszdosm", "sqsvzvmxtc", "ghndae", "hgsulwvgs")); + Layer2Configuration model + = new Layer2Configuration().withMtu(2114305274).withInterfaces(Arrays.asList("rvtipquks", "iknsgo")); model = BinaryData.fromObject(model).toObject(Layer2Configuration.class); - Assertions.assertEquals(1668427039, model.mtu()); - Assertions.assertEquals("wevsfgdrmnszdosm", model.interfaces().get(0)); + Assertions.assertEquals(2114305274, model.mtu()); + Assertions.assertEquals("rvtipquks", model.interfaces().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPatchPropertiesTests.java index 49e11134f6b1d..27f61f4224ab1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPatchPropertiesTests.java @@ -12,24 +12,24 @@ public final class Layer3IpPrefixPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { Layer3IpPrefixPatchProperties model = BinaryData.fromString( - "{\"primaryIpv4Prefix\":\"mi\",\"primaryIpv6Prefix\":\"ewzlscgsmepnqv\",\"secondaryIpv4Prefix\":\"voh\",\"secondaryIpv6Prefix\":\"thhx\"}") + "{\"primaryIpv4Prefix\":\"mxynofxlttx\",\"primaryIpv6Prefix\":\"xtdnzujs\",\"secondaryIpv4Prefix\":\"rkrpskcjhmmofb\",\"secondaryIpv6Prefix\":\"vdqtkykpaxn\"}") .toObject(Layer3IpPrefixPatchProperties.class); - Assertions.assertEquals("mi", model.primaryIpv4Prefix()); - Assertions.assertEquals("ewzlscgsmepnqv", model.primaryIpv6Prefix()); - Assertions.assertEquals("voh", model.secondaryIpv4Prefix()); - Assertions.assertEquals("thhx", model.secondaryIpv6Prefix()); + Assertions.assertEquals("mxynofxlttx", model.primaryIpv4Prefix()); + Assertions.assertEquals("xtdnzujs", model.primaryIpv6Prefix()); + Assertions.assertEquals("rkrpskcjhmmofb", model.secondaryIpv4Prefix()); + Assertions.assertEquals("vdqtkykpaxn", model.secondaryIpv6Prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - Layer3IpPrefixPatchProperties model = new Layer3IpPrefixPatchProperties().withPrimaryIpv4Prefix("mi") - .withPrimaryIpv6Prefix("ewzlscgsmepnqv") - .withSecondaryIpv4Prefix("voh") - .withSecondaryIpv6Prefix("thhx"); + Layer3IpPrefixPatchProperties model = new Layer3IpPrefixPatchProperties().withPrimaryIpv4Prefix("mxynofxlttx") + .withPrimaryIpv6Prefix("xtdnzujs") + .withSecondaryIpv4Prefix("rkrpskcjhmmofb") + .withSecondaryIpv6Prefix("vdqtkykpaxn"); model = BinaryData.fromObject(model).toObject(Layer3IpPrefixPatchProperties.class); - Assertions.assertEquals("mi", model.primaryIpv4Prefix()); - Assertions.assertEquals("ewzlscgsmepnqv", model.primaryIpv6Prefix()); - Assertions.assertEquals("voh", model.secondaryIpv4Prefix()); - Assertions.assertEquals("thhx", model.secondaryIpv6Prefix()); + Assertions.assertEquals("mxynofxlttx", model.primaryIpv4Prefix()); + Assertions.assertEquals("xtdnzujs", model.primaryIpv6Prefix()); + Assertions.assertEquals("rkrpskcjhmmofb", model.secondaryIpv4Prefix()); + Assertions.assertEquals("vdqtkykpaxn", model.secondaryIpv6Prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPropertiesTests.java index 993dc46eefad3..7281e068e390a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/Layer3IpPrefixPropertiesTests.java @@ -12,24 +12,24 @@ public final class Layer3IpPrefixPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { Layer3IpPrefixProperties model = BinaryData.fromString( - "{\"primaryIpv4Prefix\":\"rxgunnqgy\",\"primaryIpv6Prefix\":\"qtny\",\"secondaryIpv4Prefix\":\"uevqmvyumgmm\",\"secondaryIpv6Prefix\":\"bsnznwgsqufm\"}") + "{\"primaryIpv4Prefix\":\"avkmvyxzerejrkpz\",\"primaryIpv6Prefix\":\"yetjxryo\",\"secondaryIpv4Prefix\":\"ae\",\"secondaryIpv6Prefix\":\"whlbecgihzbpem\"}") .toObject(Layer3IpPrefixProperties.class); - Assertions.assertEquals("rxgunnqgy", model.primaryIpv4Prefix()); - Assertions.assertEquals("qtny", model.primaryIpv6Prefix()); - Assertions.assertEquals("uevqmvyumgmm", model.secondaryIpv4Prefix()); - Assertions.assertEquals("bsnznwgsqufm", model.secondaryIpv6Prefix()); + Assertions.assertEquals("avkmvyxzerejrkpz", model.primaryIpv4Prefix()); + Assertions.assertEquals("yetjxryo", model.primaryIpv6Prefix()); + Assertions.assertEquals("ae", model.secondaryIpv4Prefix()); + Assertions.assertEquals("whlbecgihzbpem", model.secondaryIpv6Prefix()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - Layer3IpPrefixProperties model = new Layer3IpPrefixProperties().withPrimaryIpv4Prefix("rxgunnqgy") - .withPrimaryIpv6Prefix("qtny") - .withSecondaryIpv4Prefix("uevqmvyumgmm") - .withSecondaryIpv6Prefix("bsnznwgsqufm"); + Layer3IpPrefixProperties model = new Layer3IpPrefixProperties().withPrimaryIpv4Prefix("avkmvyxzerejrkpz") + .withPrimaryIpv6Prefix("yetjxryo") + .withSecondaryIpv4Prefix("ae") + .withSecondaryIpv6Prefix("whlbecgihzbpem"); model = BinaryData.fromObject(model).toObject(Layer3IpPrefixProperties.class); - Assertions.assertEquals("rxgunnqgy", model.primaryIpv4Prefix()); - Assertions.assertEquals("qtny", model.primaryIpv6Prefix()); - Assertions.assertEquals("uevqmvyumgmm", model.secondaryIpv4Prefix()); - Assertions.assertEquals("bsnznwgsqufm", model.secondaryIpv6Prefix()); + Assertions.assertEquals("avkmvyxzerejrkpz", model.primaryIpv4Prefix()); + Assertions.assertEquals("yetjxryo", model.primaryIpv6Prefix()); + Assertions.assertEquals("ae", model.secondaryIpv4Prefix()); + Assertions.assertEquals("whlbecgihzbpem", model.secondaryIpv6Prefix()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedResourceGroupConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedResourceGroupConfigurationTests.java index 752280923d856..44fb2704e1fcb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedResourceGroupConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedResourceGroupConfigurationTests.java @@ -12,18 +12,18 @@ public final class ManagedResourceGroupConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ManagedResourceGroupConfiguration model - = BinaryData.fromString("{\"name\":\"cvsvk\",\"location\":\"bjolpyoklkv\"}") + = BinaryData.fromString("{\"name\":\"rletndqlmf\",\"location\":\"gnbbuypwovvvsfle\"}") .toObject(ManagedResourceGroupConfiguration.class); - Assertions.assertEquals("cvsvk", model.name()); - Assertions.assertEquals("bjolpyoklkv", model.location()); + Assertions.assertEquals("rletndqlmf", model.name()); + Assertions.assertEquals("gnbbuypwovvvsfle", model.location()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ManagedResourceGroupConfiguration model - = new ManagedResourceGroupConfiguration().withName("cvsvk").withLocation("bjolpyoklkv"); + = new ManagedResourceGroupConfiguration().withName("rletndqlmf").withLocation("gnbbuypwovvvsfle"); model = BinaryData.fromObject(model).toObject(ManagedResourceGroupConfiguration.class); - Assertions.assertEquals("cvsvk", model.name()); - Assertions.assertEquals("bjolpyoklkv", model.location()); + Assertions.assertEquals("rletndqlmf", model.name()); + Assertions.assertEquals("gnbbuypwovvvsfle", model.location()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityPatchTests.java index 4821c868cb918..dc4d1fe42cf1c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityPatchTests.java @@ -16,7 +16,7 @@ public final class ManagedServiceIdentityPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ManagedServiceIdentityPatch model = BinaryData.fromString( - "{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"tpbnfnqtxjtoma\":{\"principalId\":\"gydlqidywm\",\"clientId\":\"ptyrilkfbnrqqxv\"},\"f\":{\"principalId\":\"wbnfddepl\",\"clientId\":\"qjn\"}}}") + "{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"waokbavlytta\":{\"principalId\":\"fgtdmbvx\",\"clientId\":\"raokqkbudb\"},\"toleksc\":{\"principalId\":\"nwfrkebsmhpd\",\"clientId\":\"dig\"},\"n\":{\"principalId\":\"tnanqimwb\",\"clientId\":\"pdcldpka\"},\"fco\":{\"principalId\":\"laimouxwk\",\"clientId\":\"mud\"}}}") .toObject(ManagedServiceIdentityPatch.class); Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.type()); } @@ -25,8 +25,8 @@ public void testDeserialize() throws Exception { public void testSerialize() throws Exception { ManagedServiceIdentityPatch model = new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities( - mapOf("tpbnfnqtxjtoma", new UserAssignedIdentity(), "f", new UserAssignedIdentity())); + .withUserAssignedIdentities(mapOf("waokbavlytta", new UserAssignedIdentity(), "toleksc", + new UserAssignedIdentity(), "n", new UserAssignedIdentity(), "fco", new UserAssignedIdentity())); model = BinaryData.fromObject(model).toObject(ManagedServiceIdentityPatch.class); Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.type()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityTests.java index a039a45212214..753e3b6cbc3b5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagedServiceIdentityTests.java @@ -16,18 +16,17 @@ public final class ManagedServiceIdentityTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ManagedServiceIdentity model = BinaryData.fromString( - "{\"principalId\":\"v\",\"tenantId\":\"jkgv\",\"type\":\"None\",\"userAssignedIdentities\":{\"uyvpirf\":{\"principalId\":\"ursqf\",\"clientId\":\"btyi\"},\"bedenrexkx\":{\"principalId\":\"pnqn\",\"clientId\":\"w\"}}}") + "{\"principalId\":\"lskkzpxvj\",\"tenantId\":\"dpvocojhpcn\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"dajlskzpt\":{\"principalId\":\"snggytexvzilmhiv\",\"clientId\":\"wwwncknr\"}}}") .toObject(ManagedServiceIdentity.class); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.type()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.type()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ManagedServiceIdentity model = new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE) - .withUserAssignedIdentities( - mapOf("uyvpirf", new UserAssignedIdentity(), "bedenrexkx", new UserAssignedIdentity())); + ManagedServiceIdentity model = new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities(mapOf("dajlskzpt", new UserAssignedIdentity())); model = BinaryData.fromObject(model).toObject(ManagedServiceIdentity.class); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.type()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.type()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkConfigurationPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkConfigurationPropertiesTests.java index 520b4d38ed394..ef2598c75bfed 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkConfigurationPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkConfigurationPropertiesTests.java @@ -19,161 +19,168 @@ public final class ManagementNetworkConfigurationPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ManagementNetworkConfigurationProperties model = BinaryData.fromString( - "{\"infrastructureVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"qxfvgyx\",\"administrativeState\":\"MAT\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"xlttxoq\",\"tdnzujsjirkrpskc\"],\"exportRouteTargets\":[\"mofbnivd\",\"tkykpaxnlsfgnys\",\"accptbzetxy\",\"xxicee\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"yuveoxmpz\",\"wahdrdvhaztkxbi\",\"zfgxmbry\"],\"importIpv6RouteTargets\":[\"ibio\",\"iqsykqfdqwdrt\"],\"exportIpv4RouteTargets\":[\"daglmrcok\",\"zertkounz\",\"iywhubymfpop\",\"k\"],\"exportIpv6RouteTargets\":[\"qnnfywt\"]}},\"optionAProperties\":{\"mtu\":34530368,\"vlanId\":1699220060,\"peerASN\":2104144988313178735,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":585292498,\"multiplier\":1633231640},\"primaryIpv4Prefix\":\"gf\",\"primaryIpv6Prefix\":\"ulojhhylx\",\"secondaryIpv4Prefix\":\"vfiyymot\",\"secondaryIpv6Prefix\":\"bybwjmtftcvelnir\"}},\"workloadVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"kqnstpaqpibjgbvs\",\"administrativeState\":\"UnderMaintenance\",\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"ttxbms\",\"nn\"],\"exportRouteTargets\":[\"bqcamalec\",\"cxs\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"dxmsynbkdnn\",\"ufxuzmsvzyqrbr\"],\"importIpv6RouteTargets\":[\"jtlxfikjkxara\"],\"exportIpv4RouteTargets\":[\"uasnjeglhtrxb\",\"zpcjcnwjzbqblxr\",\"w\",\"dsvoqiza\"],\"exportIpv6RouteTargets\":[\"dsorgfhjxsawo\"]}},\"optionAProperties\":{\"mtu\":1065368345,\"vlanId\":376869022,\"peerASN\":7722575456704087590,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":335998728,\"multiplier\":2095425122},\"primaryIpv4Prefix\":\"q\",\"primaryIpv6Prefix\":\"ybmrnotoc\",\"secondaryIpv4Prefix\":\"zdaiovrb\",\"secondaryIpv6Prefix\":\"pqphk\"}}}") + "{\"infrastructureVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"hrjqfyaytvslyek\",\"administrativeState\":\"UnderMaintenance\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"lcjiwgsxfaio\",\"wd\"],\"exportRouteTargets\":[\"jgnfgrzxbar\",\"bpaefzqsymjw\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"ytesm\",\"u\"],\"importIpv6RouteTargets\":[\"fodqhuauzmzi\",\"rtrfzh\"],\"exportIpv4RouteTargets\":[\"vhjudxdyyrudmahs\"],\"exportIpv6RouteTargets\":[\"dkxbq\",\"sgfenffdxb\"]}},\"optionAProperties\":{\"mtu\":1851126067,\"vlanId\":849040512,\"peerASN\":8993118167714426120,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":567306618,\"multiplier\":726309602},\"primaryIpv4Prefix\":\"xndmuvar\",\"primaryIpv6Prefix\":\"mzjotprrmuh\",\"secondaryIpv4Prefix\":\"htuzlxiwyopgar\",\"secondaryIpv6Prefix\":\"ctwrapcz\"}},\"workloadVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"jqyvzesipi\",\"administrativeState\":\"Enabled\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"waadc\"],\"exportRouteTargets\":[\"za\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"tsewkaupwhlz\",\"ckremgjlmsvdorsi\",\"xxhyrkqakofa\",\"freprfvm\"],\"importIpv6RouteTargets\":[\"wteyrqshixbcejo\"],\"exportIpv4RouteTargets\":[\"blfs\",\"rrwcsp\"],\"exportIpv6RouteTargets\":[\"cvvfxrdytzf\"]}},\"optionAProperties\":{\"mtu\":610121119,\"vlanId\":1499035633,\"peerASN\":2830022439938803890,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1530594040,\"multiplier\":1772619710},\"primaryIpv4Prefix\":\"qemcdi\",\"primaryIpv6Prefix\":\"sklbonxxupjxvtrk\",\"secondaryIpv4Prefix\":\"genj\",\"secondaryIpv6Prefix\":\"npjwkosnyxigfou\"}}}") .toObject(ManagementNetworkConfigurationProperties.class); - Assertions.assertEquals("qxfvgyx", model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals("hrjqfyaytvslyek", + model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); Assertions.assertEquals(PeeringOption.OPTIONB, model.infrastructureVpnConfiguration().peeringOption()); - Assertions.assertEquals("xlttxoq", + Assertions.assertEquals("lcjiwgsxfaio", model.infrastructureVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("mofbnivd", + Assertions.assertEquals("jgnfgrzxbar", model.infrastructureVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("yuveoxmpz", + Assertions.assertEquals("ytesm", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("ibio", + Assertions.assertEquals("fodqhuauzmzi", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("daglmrcok", + Assertions.assertEquals("vhjudxdyyrudmahs", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("qnnfywt", + Assertions.assertEquals("dkxbq", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("gf", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("ulojhhylx", + Assertions.assertEquals("xndmuvar", + model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("mzjotprrmuh", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("vfiyymot", + Assertions.assertEquals("htuzlxiwyopgar", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("bybwjmtftcvelnir", + Assertions.assertEquals("ctwrapcz", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(34530368, model.infrastructureVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(1699220060, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(2104144988313178735L, + Assertions.assertEquals(1851126067, model.infrastructureVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(849040512, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(8993118167714426120L, model.infrastructureVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(585292498, + Assertions.assertEquals(567306618, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1633231640, + Assertions.assertEquals(726309602, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("kqnstpaqpibjgbvs", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.workloadVpnConfiguration().peeringOption()); - Assertions.assertEquals("ttxbms", + Assertions.assertEquals("jqyvzesipi", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.workloadVpnConfiguration().peeringOption()); + Assertions.assertEquals("waadc", model.workloadVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("bqcamalec", - model.workloadVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("dxmsynbkdnn", + Assertions.assertEquals("za", model.workloadVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("tsewkaupwhlz", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("jtlxfikjkxara", + Assertions.assertEquals("wteyrqshixbcejo", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("uasnjeglhtrxb", + Assertions.assertEquals("blfs", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("dsorgfhjxsawo", + Assertions.assertEquals("cvvfxrdytzf", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("q", model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("ybmrnotoc", model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("zdaiovrb", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("pqphk", model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1065368345, model.workloadVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(376869022, model.workloadVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(7722575456704087590L, model.workloadVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(335998728, + Assertions.assertEquals("qemcdi", model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("sklbonxxupjxvtrk", + model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("genj", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("npjwkosnyxigfou", + model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(610121119, model.workloadVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(1499035633, model.workloadVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(2830022439938803890L, model.workloadVpnConfiguration().optionAProperties().peerASN()); + Assertions.assertEquals(1530594040, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(2095425122, + Assertions.assertEquals(1772619710, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ManagementNetworkConfigurationProperties model = new ManagementNetworkConfigurationProperties() - .withInfrastructureVpnConfiguration( - new VpnConfigurationProperties().withNetworkToNetworkInterconnectId("qxfvgyx") - .withPeeringOption(PeeringOption.OPTIONB) - .withOptionBProperties(new VpnOptionBProperties() - .withImportRouteTargets(Arrays.asList("xlttxoq", "tdnzujsjirkrpskc")) - .withExportRouteTargets(Arrays.asList("mofbnivd", "tkykpaxnlsfgnys", "accptbzetxy", "xxicee")) - .withRouteTargets(new RouteTargetInformation() - .withImportIpv4RouteTargets(Arrays.asList("yuveoxmpz", "wahdrdvhaztkxbi", "zfgxmbry")) - .withImportIpv6RouteTargets(Arrays.asList("ibio", "iqsykqfdqwdrt")) - .withExportIpv4RouteTargets(Arrays.asList("daglmrcok", "zertkounz", "iywhubymfpop", "k")) - .withExportIpv6RouteTargets(Arrays.asList("qnnfywt")))) - .withOptionAProperties( - new VpnOptionAProperties().withPrimaryIpv4Prefix("gf") - .withPrimaryIpv6Prefix("ulojhhylx") - .withSecondaryIpv4Prefix("vfiyymot") - .withSecondaryIpv6Prefix("bybwjmtftcvelnir") - .withMtu(34530368) - .withVlanId(1699220060) - .withPeerASN(2104144988313178735L) - .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(585292498) - .withMultiplier(1633231640)))) - .withWorkloadVpnConfiguration(new VpnConfigurationProperties() - .withNetworkToNetworkInterconnectId("kqnstpaqpibjgbvs") - .withPeeringOption(PeeringOption.OPTIONA) - .withOptionBProperties(new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("ttxbms", "nn")) - .withExportRouteTargets(Arrays.asList("bqcamalec", "cxs")) - .withRouteTargets(new RouteTargetInformation() - .withImportIpv4RouteTargets(Arrays.asList("dxmsynbkdnn", "ufxuzmsvzyqrbr")) - .withImportIpv6RouteTargets(Arrays.asList("jtlxfikjkxara")) - .withExportIpv4RouteTargets(Arrays.asList("uasnjeglhtrxb", "zpcjcnwjzbqblxr", "w", "dsvoqiza")) - .withExportIpv6RouteTargets(Arrays.asList("dsorgfhjxsawo")))) - .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("q") - .withPrimaryIpv6Prefix("ybmrnotoc") - .withSecondaryIpv4Prefix("zdaiovrb") - .withSecondaryIpv6Prefix("pqphk") - .withMtu(1065368345) - .withVlanId(376869022) - .withPeerASN(7722575456704087590L) - .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(335998728).withMultiplier(2095425122)))); + ManagementNetworkConfigurationProperties model + = new ManagementNetworkConfigurationProperties() + .withInfrastructureVpnConfiguration( + new VpnConfigurationProperties().withNetworkToNetworkInterconnectId("hrjqfyaytvslyek") + .withPeeringOption(PeeringOption.OPTIONB) + .withOptionBProperties( + new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("lcjiwgsxfaio", "wd")) + .withExportRouteTargets(Arrays.asList("jgnfgrzxbar", "bpaefzqsymjw")) + .withRouteTargets( + new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("ytesm", "u")) + .withImportIpv6RouteTargets(Arrays.asList("fodqhuauzmzi", "rtrfzh")) + .withExportIpv4RouteTargets(Arrays.asList("vhjudxdyyrudmahs")) + .withExportIpv6RouteTargets(Arrays.asList("dkxbq", "sgfenffdxb")))) + .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("xndmuvar") + .withPrimaryIpv6Prefix("mzjotprrmuh") + .withSecondaryIpv4Prefix("htuzlxiwyopgar") + .withSecondaryIpv6Prefix("ctwrapcz") + .withMtu(1851126067) + .withVlanId(849040512) + .withPeerASN(8993118167714426120L) + .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(567306618) + .withMultiplier(726309602)))) + .withWorkloadVpnConfiguration( + new VpnConfigurationProperties().withNetworkToNetworkInterconnectId("jqyvzesipi") + .withPeeringOption(PeeringOption.OPTIONB) + .withOptionBProperties(new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("waadc")) + .withExportRouteTargets(Arrays.asList("za")) + .withRouteTargets(new RouteTargetInformation() + .withImportIpv4RouteTargets( + Arrays.asList("tsewkaupwhlz", "ckremgjlmsvdorsi", "xxhyrkqakofa", "freprfvm")) + .withImportIpv6RouteTargets(Arrays.asList("wteyrqshixbcejo")) + .withExportIpv4RouteTargets(Arrays.asList("blfs", "rrwcsp")) + .withExportIpv6RouteTargets(Arrays.asList("cvvfxrdytzf")))) + .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("qemcdi") + .withPrimaryIpv6Prefix("sklbonxxupjxvtrk") + .withSecondaryIpv4Prefix("genj") + .withSecondaryIpv6Prefix("npjwkosnyxigfou") + .withMtu(610121119) + .withVlanId(1499035633) + .withPeerASN(2830022439938803890L) + .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(1530594040) + .withMultiplier(1772619710)))); model = BinaryData.fromObject(model).toObject(ManagementNetworkConfigurationProperties.class); - Assertions.assertEquals("qxfvgyx", model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals("hrjqfyaytvslyek", + model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); Assertions.assertEquals(PeeringOption.OPTIONB, model.infrastructureVpnConfiguration().peeringOption()); - Assertions.assertEquals("xlttxoq", + Assertions.assertEquals("lcjiwgsxfaio", model.infrastructureVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("mofbnivd", + Assertions.assertEquals("jgnfgrzxbar", model.infrastructureVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("yuveoxmpz", + Assertions.assertEquals("ytesm", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("ibio", + Assertions.assertEquals("fodqhuauzmzi", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("daglmrcok", + Assertions.assertEquals("vhjudxdyyrudmahs", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("qnnfywt", + Assertions.assertEquals("dkxbq", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("gf", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("ulojhhylx", + Assertions.assertEquals("xndmuvar", + model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("mzjotprrmuh", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("vfiyymot", + Assertions.assertEquals("htuzlxiwyopgar", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("bybwjmtftcvelnir", + Assertions.assertEquals("ctwrapcz", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(34530368, model.infrastructureVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(1699220060, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(2104144988313178735L, + Assertions.assertEquals(1851126067, model.infrastructureVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(849040512, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(8993118167714426120L, model.infrastructureVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(585292498, + Assertions.assertEquals(567306618, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1633231640, + Assertions.assertEquals(726309602, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("kqnstpaqpibjgbvs", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.workloadVpnConfiguration().peeringOption()); - Assertions.assertEquals("ttxbms", + Assertions.assertEquals("jqyvzesipi", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.workloadVpnConfiguration().peeringOption()); + Assertions.assertEquals("waadc", model.workloadVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("bqcamalec", - model.workloadVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("dxmsynbkdnn", + Assertions.assertEquals("za", model.workloadVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("tsewkaupwhlz", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("jtlxfikjkxara", + Assertions.assertEquals("wteyrqshixbcejo", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("uasnjeglhtrxb", + Assertions.assertEquals("blfs", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("dsorgfhjxsawo", + Assertions.assertEquals("cvvfxrdytzf", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("q", model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("ybmrnotoc", model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("zdaiovrb", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("pqphk", model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1065368345, model.workloadVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(376869022, model.workloadVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(7722575456704087590L, model.workloadVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(335998728, + Assertions.assertEquals("qemcdi", model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("sklbonxxupjxvtrk", + model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("genj", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("npjwkosnyxigfou", + model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(610121119, model.workloadVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(1499035633, model.workloadVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(2830022439938803890L, model.workloadVpnConfiguration().optionAProperties().peerASN()); + Assertions.assertEquals(1530594040, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(2095425122, + Assertions.assertEquals(1772619710, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkPatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkPatchConfigurationTests.java index 2543d7c345768..edd04981d7f8f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkPatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ManagementNetworkPatchConfigurationTests.java @@ -19,163 +19,168 @@ public final class ManagementNetworkPatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ManagementNetworkPatchConfiguration model = BinaryData.fromString( - "{\"infrastructureVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"iwtp\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"swwvwiftdjtvbfp\",\"hruptsyq\"],\"exportRouteTargets\":[\"qswxdowumxquk\",\"cdio\",\"clqddnhfknebw\",\"ddpnyzcwyj\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"qldqabn\"],\"importIpv6RouteTargets\":[\"aqbqxfbb\"],\"exportIpv4RouteTargets\":[\"fddofxnf\",\"mjyyr\",\"aedwov\"],\"exportIpv6RouteTargets\":[\"tjgo\",\"ayokrwfmihw\",\"adhed\"]}},\"optionAProperties\":{\"mtu\":1349503224,\"vlanId\":174083242,\"peerASN\":3311114130578713566,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":544698905,\"multiplier\":1893969422},\"primaryIpv4Prefix\":\"zvbwfcnjhbpoelh\",\"primaryIpv6Prefix\":\"myhrh\",\"secondaryIpv4Prefix\":\"szfqbokndwpppqw\",\"secondaryIpv6Prefix\":\"oevzzufytdxmly\"}},\"workloadVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"yvapbkrbuoggtdl\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"izij\",\"aylzeohlps\",\"tqkrvmhvbvvcpwtq\",\"usp\"],\"exportRouteTargets\":[\"zydffet\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"tf\",\"nwacycsy\",\"tctkhfhfs\",\"tvc\"],\"importIpv6RouteTargets\":[\"mhnmizhvprhqqw\",\"ublehhkplobz\",\"ottaksadz\"],\"exportIpv4RouteTargets\":[\"mmtbt\"],\"exportIpv6RouteTargets\":[\"cfvvraabe\"]}},\"optionAProperties\":{\"mtu\":676937959,\"vlanId\":584353077,\"peerASN\":8278111662279968808,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":2006252747,\"multiplier\":803730353},\"primaryIpv4Prefix\":\"jyjiznior\",\"primaryIpv6Prefix\":\"fmfta\",\"secondaryIpv4Prefix\":\"mcreihu\",\"secondaryIpv6Prefix\":\"rnig\"}}}") + "{\"infrastructureVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"dzffzjwztsmpchg\",\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"fyat\",\"gfgfrrkdknczg\"],\"exportRouteTargets\":[\"wnvojtvmdev\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"vbkar\",\"pyhssrlvkpkpkoc\",\"ac\"],\"importIpv6RouteTargets\":[\"xxopyi\"],\"exportIpv4RouteTargets\":[\"sp\",\"slhwyy\",\"gvrccpu\",\"ddhgajkrdyd\"],\"exportIpv6RouteTargets\":[\"fcudvafnbfbqv\",\"nqnxhgkordwzej\",\"ecwzvcmbpwdluda\"]}},\"optionAProperties\":{\"mtu\":439131015,\"vlanId\":1201666343,\"peerASN\":2977127924916030153,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1542480346,\"multiplier\":1339722503},\"primaryIpv4Prefix\":\"dzch\",\"primaryIpv6Prefix\":\"agwn\",\"secondaryIpv4Prefix\":\"uvigv\",\"secondaryIpv6Prefix\":\"hfrbzakpjt\"}},\"workloadVpnConfiguration\":{\"networkToNetworkInterconnectId\":\"aqpojpsucmximc\",\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"jgsatky\",\"scbgngc\"],\"exportRouteTargets\":[\"xhirc\",\"gcvsvkkjbjolpy\",\"klkvuznadvh\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"oi\",\"owxxbh\",\"psyioqemqwtqszzg\",\"ksikawanvmwdv\"],\"importIpv6RouteTargets\":[\"crbkompnbnfgywe\",\"jbepgcmah\",\"wfryawkchkap\",\"tsk\"],\"exportIpv4RouteTargets\":[\"yfttibjepzwhju\",\"fdgbggcjxzhbl\",\"vwehsu\",\"ym\"],\"exportIpv6RouteTargets\":[\"hdosmbngkq\",\"gxzduvxdmxe\",\"atmdmn\"]}},\"optionAProperties\":{\"mtu\":1831786641,\"vlanId\":1049578967,\"peerASN\":8117124374194548818,\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":2057080065,\"multiplier\":1425593446},\"primaryIpv4Prefix\":\"isjkzsoxznn\",\"primaryIpv6Prefix\":\"gkvyoh\",\"secondaryIpv4Prefix\":\"apzupz\",\"secondaryIpv6Prefix\":\"ytbdjzgh\"}}}") .toObject(ManagementNetworkPatchConfiguration.class); - Assertions.assertEquals("iwtp", model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.infrastructureVpnConfiguration().peeringOption()); - Assertions.assertEquals("swwvwiftdjtvbfp", + Assertions.assertEquals("dzffzjwztsmpchg", + model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.infrastructureVpnConfiguration().peeringOption()); + Assertions.assertEquals("fyat", model.infrastructureVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("qswxdowumxquk", + Assertions.assertEquals("wnvojtvmdev", model.infrastructureVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("qldqabn", + Assertions.assertEquals("vbkar", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("aqbqxfbb", + Assertions.assertEquals("xxopyi", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("fddofxnf", + Assertions.assertEquals("sp", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("tjgo", + Assertions.assertEquals("fcudvafnbfbqv", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("zvbwfcnjhbpoelh", - model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("myhrh", - model.infrastructureVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("szfqbokndwpppqw", + Assertions.assertEquals("dzch", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("agwn", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("uvigv", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("oevzzufytdxmly", + Assertions.assertEquals("hfrbzakpjt", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1349503224, model.infrastructureVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(174083242, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(3311114130578713566L, + Assertions.assertEquals(439131015, model.infrastructureVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(1201666343, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(2977127924916030153L, model.infrastructureVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(544698905, + Assertions.assertEquals(1542480346, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1893969422, + Assertions.assertEquals(1339722503, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("yvapbkrbuoggtdl", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.workloadVpnConfiguration().peeringOption()); - Assertions.assertEquals("izij", + Assertions.assertEquals("aqpojpsucmximc", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.workloadVpnConfiguration().peeringOption()); + Assertions.assertEquals("jgsatky", model.workloadVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("zydffet", + Assertions.assertEquals("xhirc", model.workloadVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("tf", + Assertions.assertEquals("oi", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("mhnmizhvprhqqw", + Assertions.assertEquals("crbkompnbnfgywe", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("mmtbt", + Assertions.assertEquals("yfttibjepzwhju", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("cfvvraabe", + Assertions.assertEquals("hdosmbngkq", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("jyjiznior", model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("fmfta", model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("mcreihu", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("rnig", model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(676937959, model.workloadVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(584353077, model.workloadVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(8278111662279968808L, model.workloadVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(2006252747, + Assertions.assertEquals("isjkzsoxznn", + model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("gkvyoh", model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("apzupz", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("ytbdjzgh", model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1831786641, model.workloadVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(1049578967, model.workloadVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(8117124374194548818L, model.workloadVpnConfiguration().optionAProperties().peerASN()); + Assertions.assertEquals(2057080065, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(803730353, + Assertions.assertEquals(1425593446, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ManagementNetworkPatchConfiguration model = new ManagementNetworkPatchConfiguration() - .withInfrastructureVpnConfiguration( - new VpnConfigurationPatchableProperties().withNetworkToNetworkInterconnectId("iwtp") - .withPeeringOption(PeeringOption.OPTIONB) - .withOptionBProperties(new VpnOptionBPatchProperties() - .withImportRouteTargets(Arrays.asList("swwvwiftdjtvbfp", "hruptsyq")) - .withExportRouteTargets(Arrays.asList("qswxdowumxquk", "cdio", "clqddnhfknebw", "ddpnyzcwyj")) - .withRouteTargets( - new RouteTargetPatchInformation().withImportIpv4RouteTargets(Arrays.asList("qldqabn")) - .withImportIpv6RouteTargets(Arrays.asList("aqbqxfbb")) - .withExportIpv4RouteTargets(Arrays.asList("fddofxnf", "mjyyr", "aedwov")) - .withExportIpv6RouteTargets(Arrays.asList("tjgo", "ayokrwfmihw", "adhed")))) - .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("zvbwfcnjhbpoelh") - .withPrimaryIpv6Prefix("myhrh") - .withSecondaryIpv4Prefix("szfqbokndwpppqw") - .withSecondaryIpv6Prefix("oevzzufytdxmly") - .withMtu(1349503224) - .withVlanId(174083242) - .withPeerASN(3311114130578713566L) - .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(544698905) - .withMultiplier(1893969422)))) - .withWorkloadVpnConfiguration( - new VpnConfigurationPatchableProperties().withNetworkToNetworkInterconnectId("yvapbkrbuoggtdl") - .withPeeringOption(PeeringOption.OPTIONB) - .withOptionBProperties(new VpnOptionBPatchProperties() - .withImportRouteTargets(Arrays.asList("izij", "aylzeohlps", "tqkrvmhvbvvcpwtq", "usp")) - .withExportRouteTargets(Arrays.asList("zydffet")) - .withRouteTargets(new RouteTargetPatchInformation() - .withImportIpv4RouteTargets(Arrays.asList("tf", "nwacycsy", "tctkhfhfs", "tvc")) - .withImportIpv6RouteTargets(Arrays.asList("mhnmizhvprhqqw", "ublehhkplobz", "ottaksadz")) - .withExportIpv4RouteTargets(Arrays.asList("mmtbt")) - .withExportIpv6RouteTargets(Arrays.asList("cfvvraabe")))) - .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("jyjiznior") - .withPrimaryIpv6Prefix("fmfta") - .withSecondaryIpv4Prefix("mcreihu") - .withSecondaryIpv6Prefix("rnig") - .withMtu(676937959) - .withVlanId(584353077) - .withPeerASN(8278111662279968808L) - .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(2006252747) - .withMultiplier(803730353)))); + ManagementNetworkPatchConfiguration model + = new ManagementNetworkPatchConfiguration() + .withInfrastructureVpnConfiguration( + new VpnConfigurationPatchableProperties().withNetworkToNetworkInterconnectId("dzffzjwztsmpchg") + .withPeeringOption(PeeringOption.OPTIONA) + .withOptionBProperties(new VpnOptionBPatchProperties() + .withImportRouteTargets(Arrays.asList("fyat", "gfgfrrkdknczg")) + .withExportRouteTargets(Arrays.asList("wnvojtvmdev")) + .withRouteTargets(new RouteTargetPatchInformation() + .withImportIpv4RouteTargets(Arrays.asList("vbkar", "pyhssrlvkpkpkoc", "ac")) + .withImportIpv6RouteTargets(Arrays.asList("xxopyi")) + .withExportIpv4RouteTargets(Arrays.asList("sp", "slhwyy", "gvrccpu", "ddhgajkrdyd")) + .withExportIpv6RouteTargets( + Arrays.asList("fcudvafnbfbqv", "nqnxhgkordwzej", "ecwzvcmbpwdluda")))) + .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("dzch") + .withPrimaryIpv6Prefix("agwn") + .withSecondaryIpv4Prefix("uvigv") + .withSecondaryIpv6Prefix("hfrbzakpjt") + .withMtu(439131015) + .withVlanId(1201666343) + .withPeerASN(2977127924916030153L) + .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(1542480346) + .withMultiplier(1339722503)))) + .withWorkloadVpnConfiguration( + new VpnConfigurationPatchableProperties().withNetworkToNetworkInterconnectId("aqpojpsucmximc") + .withPeeringOption(PeeringOption.OPTIONA) + .withOptionBProperties( + new VpnOptionBPatchProperties().withImportRouteTargets(Arrays.asList("jgsatky", "scbgngc")) + .withExportRouteTargets(Arrays.asList("xhirc", "gcvsvkkjbjolpy", "klkvuznadvh")) + .withRouteTargets(new RouteTargetPatchInformation() + .withImportIpv4RouteTargets( + Arrays.asList("oi", "owxxbh", "psyioqemqwtqszzg", "ksikawanvmwdv")) + .withImportIpv6RouteTargets( + Arrays.asList("crbkompnbnfgywe", "jbepgcmah", "wfryawkchkap", "tsk")) + .withExportIpv4RouteTargets( + Arrays.asList("yfttibjepzwhju", "fdgbggcjxzhbl", "vwehsu", "ym")) + .withExportIpv6RouteTargets(Arrays.asList("hdosmbngkq", "gxzduvxdmxe", "atmdmn")))) + .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("isjkzsoxznn") + .withPrimaryIpv6Prefix("gkvyoh") + .withSecondaryIpv4Prefix("apzupz") + .withSecondaryIpv6Prefix("ytbdjzgh") + .withMtu(1831786641) + .withVlanId(1049578967) + .withPeerASN(8117124374194548818L) + .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(2057080065) + .withMultiplier(1425593446)))); model = BinaryData.fromObject(model).toObject(ManagementNetworkPatchConfiguration.class); - Assertions.assertEquals("iwtp", model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.infrastructureVpnConfiguration().peeringOption()); - Assertions.assertEquals("swwvwiftdjtvbfp", + Assertions.assertEquals("dzffzjwztsmpchg", + model.infrastructureVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.infrastructureVpnConfiguration().peeringOption()); + Assertions.assertEquals("fyat", model.infrastructureVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("qswxdowumxquk", + Assertions.assertEquals("wnvojtvmdev", model.infrastructureVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("qldqabn", + Assertions.assertEquals("vbkar", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("aqbqxfbb", + Assertions.assertEquals("xxopyi", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("fddofxnf", + Assertions.assertEquals("sp", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("tjgo", + Assertions.assertEquals("fcudvafnbfbqv", model.infrastructureVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("zvbwfcnjhbpoelh", - model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("myhrh", - model.infrastructureVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("szfqbokndwpppqw", + Assertions.assertEquals("dzch", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("agwn", model.infrastructureVpnConfiguration().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("uvigv", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("oevzzufytdxmly", + Assertions.assertEquals("hfrbzakpjt", model.infrastructureVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1349503224, model.infrastructureVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(174083242, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(3311114130578713566L, + Assertions.assertEquals(439131015, model.infrastructureVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(1201666343, model.infrastructureVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(2977127924916030153L, model.infrastructureVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(544698905, + Assertions.assertEquals(1542480346, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1893969422, + Assertions.assertEquals(1339722503, model.infrastructureVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); - Assertions.assertEquals("yvapbkrbuoggtdl", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONB, model.workloadVpnConfiguration().peeringOption()); - Assertions.assertEquals("izij", + Assertions.assertEquals("aqpojpsucmximc", model.workloadVpnConfiguration().networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONA, model.workloadVpnConfiguration().peeringOption()); + Assertions.assertEquals("jgsatky", model.workloadVpnConfiguration().optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("zydffet", + Assertions.assertEquals("xhirc", model.workloadVpnConfiguration().optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("tf", + Assertions.assertEquals("oi", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("mhnmizhvprhqqw", + Assertions.assertEquals("crbkompnbnfgywe", model.workloadVpnConfiguration().optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("mmtbt", + Assertions.assertEquals("yfttibjepzwhju", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("cfvvraabe", + Assertions.assertEquals("hdosmbngkq", model.workloadVpnConfiguration().optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("jyjiznior", model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("fmfta", model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("mcreihu", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("rnig", model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(676937959, model.workloadVpnConfiguration().optionAProperties().mtu()); - Assertions.assertEquals(584353077, model.workloadVpnConfiguration().optionAProperties().vlanId()); - Assertions.assertEquals(8278111662279968808L, model.workloadVpnConfiguration().optionAProperties().peerASN()); - Assertions.assertEquals(2006252747, + Assertions.assertEquals("isjkzsoxznn", + model.workloadVpnConfiguration().optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("gkvyoh", model.workloadVpnConfiguration().optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("apzupz", model.workloadVpnConfiguration().optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("ytbdjzgh", model.workloadVpnConfiguration().optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1831786641, model.workloadVpnConfiguration().optionAProperties().mtu()); + Assertions.assertEquals(1049578967, model.workloadVpnConfiguration().optionAProperties().vlanId()); + Assertions.assertEquals(8117124374194548818L, model.workloadVpnConfiguration().optionAProperties().peerASN()); + Assertions.assertEquals(2057080065, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(803730353, + Assertions.assertEquals(1425593446, model.workloadVpnConfiguration().optionAProperties().bfdConfiguration().multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPatchPropertiesTests.java index 883a2eec5fd82..cc70d047e2e99 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPatchPropertiesTests.java @@ -14,22 +14,26 @@ public final class NativeIpv4PrefixLimitPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NativeIpv4PrefixLimitPatchProperties model = BinaryData.fromString( - "{\"prefixLimits\":[{\"maximumRoutes\":157640432,\"threshold\":1869847736,\"idleTimeExpiry\":124766447}]}") + "{\"prefixLimits\":[{\"maximumRoutes\":1763969185,\"threshold\":355984531,\"idleTimeExpiry\":461529299},{\"maximumRoutes\":1750807185,\"threshold\":276428339,\"idleTimeExpiry\":1016183483}]}") .toObject(NativeIpv4PrefixLimitPatchProperties.class); - Assertions.assertEquals(157640432, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1869847736, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(124766447, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1763969185, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(355984531, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(461529299, model.prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NativeIpv4PrefixLimitPatchProperties model = new NativeIpv4PrefixLimitPatchProperties() - .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(157640432) - .withThreshold(1869847736) - .withIdleTimeExpiry(124766447))); + NativeIpv4PrefixLimitPatchProperties model + = new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList( + new PrefixLimitPatchProperties().withMaximumRoutes(1763969185) + .withThreshold(355984531) + .withIdleTimeExpiry(461529299), + new PrefixLimitPatchProperties().withMaximumRoutes(1750807185) + .withThreshold(276428339) + .withIdleTimeExpiry(1016183483))); model = BinaryData.fromObject(model).toObject(NativeIpv4PrefixLimitPatchProperties.class); - Assertions.assertEquals(157640432, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1869847736, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(124766447, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1763969185, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(355984531, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(461529299, model.prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPropertiesTests.java index f21ca19bb38e4..29cae387cf4a0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv4PrefixLimitPropertiesTests.java @@ -14,25 +14,31 @@ public final class NativeIpv4PrefixLimitPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NativeIpv4PrefixLimitProperties model = BinaryData.fromString( - "{\"prefixLimits\":[{\"maximumRoutes\":2110581374,\"threshold\":968967519,\"idleTimeExpiry\":1672449978},{\"maximumRoutes\":253020685,\"threshold\":1677397559,\"idleTimeExpiry\":547557787}]}") + "{\"prefixLimits\":[{\"maximumRoutes\":544276557,\"threshold\":1048427766,\"idleTimeExpiry\":1462784871},{\"maximumRoutes\":1162176418,\"threshold\":518425166,\"idleTimeExpiry\":418134792},{\"maximumRoutes\":192163986,\"threshold\":1621268309,\"idleTimeExpiry\":58850834},{\"maximumRoutes\":1613111736,\"threshold\":1775502514,\"idleTimeExpiry\":1579715380}]}") .toObject(NativeIpv4PrefixLimitProperties.class); - Assertions.assertEquals(2110581374, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(968967519, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(1672449978, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(544276557, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1048427766, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(1462784871, model.prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NativeIpv4PrefixLimitProperties model = new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays.asList( - new PrefixLimitProperties().withMaximumRoutes(2110581374) - .withThreshold(968967519) - .withIdleTimeExpiry(1672449978), - new PrefixLimitProperties().withMaximumRoutes(253020685) - .withThreshold(1677397559) - .withIdleTimeExpiry(547557787))); + new PrefixLimitProperties().withMaximumRoutes(544276557) + .withThreshold(1048427766) + .withIdleTimeExpiry(1462784871), + new PrefixLimitProperties().withMaximumRoutes(1162176418) + .withThreshold(518425166) + .withIdleTimeExpiry(418134792), + new PrefixLimitProperties().withMaximumRoutes(192163986) + .withThreshold(1621268309) + .withIdleTimeExpiry(58850834), + new PrefixLimitProperties().withMaximumRoutes(1613111736) + .withThreshold(1775502514) + .withIdleTimeExpiry(1579715380))); model = BinaryData.fromObject(model).toObject(NativeIpv4PrefixLimitProperties.class); - Assertions.assertEquals(2110581374, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(968967519, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(1672449978, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(544276557, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1048427766, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(1462784871, model.prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPatchPropertiesTests.java index 79691108074df..340b550fb0a51 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPatchPropertiesTests.java @@ -14,22 +14,22 @@ public final class NativeIpv6PrefixLimitPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NativeIpv6PrefixLimitPatchProperties model = BinaryData.fromString( - "{\"prefixLimits\":[{\"maximumRoutes\":1972118177,\"threshold\":383202056,\"idleTimeExpiry\":437555374}]}") + "{\"prefixLimits\":[{\"maximumRoutes\":1820368200,\"threshold\":1416607427,\"idleTimeExpiry\":1492301209}]}") .toObject(NativeIpv6PrefixLimitPatchProperties.class); - Assertions.assertEquals(1972118177, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(383202056, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(437555374, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1820368200, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1416607427, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(1492301209, model.prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NativeIpv6PrefixLimitPatchProperties model = new NativeIpv6PrefixLimitPatchProperties() - .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(1972118177) - .withThreshold(383202056) - .withIdleTimeExpiry(437555374))); + .withPrefixLimits(Arrays.asList(new PrefixLimitPatchProperties().withMaximumRoutes(1820368200) + .withThreshold(1416607427) + .withIdleTimeExpiry(1492301209))); model = BinaryData.fromObject(model).toObject(NativeIpv6PrefixLimitPatchProperties.class); - Assertions.assertEquals(1972118177, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(383202056, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(437555374, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(1820368200, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1416607427, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(1492301209, model.prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPropertiesTests.java index 85ab38730fe46..02f9f79e01853 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NativeIpv6PrefixLimitPropertiesTests.java @@ -14,22 +14,22 @@ public final class NativeIpv6PrefixLimitPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NativeIpv6PrefixLimitProperties model = BinaryData.fromString( - "{\"prefixLimits\":[{\"maximumRoutes\":1251798259,\"threshold\":877909568,\"idleTimeExpiry\":1598132506}]}") + "{\"prefixLimits\":[{\"maximumRoutes\":956584733,\"threshold\":1452773453,\"idleTimeExpiry\":1671331570}]}") .toObject(NativeIpv6PrefixLimitProperties.class); - Assertions.assertEquals(1251798259, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(877909568, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(1598132506, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(956584733, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1452773453, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(1671331570, model.prefixLimits().get(0).idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NativeIpv6PrefixLimitProperties model = new NativeIpv6PrefixLimitProperties() - .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(1251798259) - .withThreshold(877909568) - .withIdleTimeExpiry(1598132506))); + .withPrefixLimits(Arrays.asList(new PrefixLimitProperties().withMaximumRoutes(956584733) + .withThreshold(1452773453) + .withIdleTimeExpiry(1671331570))); model = BinaryData.fromObject(model).toObject(NativeIpv6PrefixLimitProperties.class); - Assertions.assertEquals(1251798259, model.prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(877909568, model.prefixLimits().get(0).threshold()); - Assertions.assertEquals(1598132506, model.prefixLimits().get(0).idleTimeExpiry()); + Assertions.assertEquals(956584733, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1452773453, model.prefixLimits().get(0).threshold()); + Assertions.assertEquals(1671331570, model.prefixLimits().get(0).idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBfdAdministrativeStatusTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBfdAdministrativeStatusTests.java index 65334eae411ae..5839a37057a23 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBfdAdministrativeStatusTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBfdAdministrativeStatusTests.java @@ -12,11 +12,11 @@ public final class NeighborAddressBfdAdministrativeStatusTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - NeighborAddressBfdAdministrativeStatus model = BinaryData - .fromString("{\"neighborAddress\":\"m\",\"administrativeState\":\"Disabled\",\"error\":\"jlvzklk\"}") - .toObject(NeighborAddressBfdAdministrativeStatus.class); + NeighborAddressBfdAdministrativeStatus model + = BinaryData.fromString("{\"neighborAddress\":\"m\",\"administrativeState\":\"MAT\",\"error\":\"bwayb\"}") + .toObject(NeighborAddressBfdAdministrativeStatus.class); Assertions.assertEquals("m", model.neighborAddress()); - Assertions.assertEquals(BfdAdministrativeState.DISABLED, model.administrativeState()); - Assertions.assertEquals("jlvzklk", model.error()); + Assertions.assertEquals(BfdAdministrativeState.MAT, model.administrativeState()); + Assertions.assertEquals("bwayb", model.error()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBgpAdministrativeStatusTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBgpAdministrativeStatusTests.java index 1e446f3387e26..d6522ed4cda51 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBgpAdministrativeStatusTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressBgpAdministrativeStatusTests.java @@ -13,10 +13,11 @@ public final class NeighborAddressBgpAdministrativeStatusTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborAddressBgpAdministrativeStatus model = BinaryData - .fromString("{\"neighborAddress\":\"dj\",\"administrativeState\":\"Enabled\",\"error\":\"smqaz\"}") + .fromString( + "{\"neighborAddress\":\"cuvbdujgcwxvec\",\"administrativeState\":\"Disabled\",\"error\":\"trdxri\"}") .toObject(NeighborAddressBgpAdministrativeStatus.class); - Assertions.assertEquals("dj", model.neighborAddress()); - Assertions.assertEquals(BgpAdministrativeState.ENABLED, model.administrativeState()); - Assertions.assertEquals("smqaz", model.error()); + Assertions.assertEquals("cuvbdujgcwxvec", model.neighborAddress()); + Assertions.assertEquals(BgpAdministrativeState.DISABLED, model.administrativeState()); + Assertions.assertEquals("trdxri", model.error()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressPatchTests.java index 02b53279ae01b..bd400181db435 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressPatchTests.java @@ -12,15 +12,15 @@ public final class NeighborAddressPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborAddressPatch model = BinaryData.fromString( - "{\"address\":\"shuvftwaivmuqkev\",\"bfdAdministrativeState\":\"RMA\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Succeeded\"}") + "{\"address\":\"razwzlpzbt\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Disabled\",\"configurationState\":\"Failed\"}") .toObject(NeighborAddressPatch.class); - Assertions.assertEquals("shuvftwaivmuqkev", model.address()); + Assertions.assertEquals("razwzlpzbt", model.address()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NeighborAddressPatch model = new NeighborAddressPatch().withAddress("shuvftwaivmuqkev"); + NeighborAddressPatch model = new NeighborAddressPatch().withAddress("razwzlpzbt"); model = BinaryData.fromObject(model).toObject(NeighborAddressPatch.class); - Assertions.assertEquals("shuvftwaivmuqkev", model.address()); + Assertions.assertEquals("razwzlpzbt", model.address()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressTests.java index 8c434e4161542..49f682380fbcf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborAddressTests.java @@ -12,15 +12,15 @@ public final class NeighborAddressTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborAddress model = BinaryData.fromString( - "{\"address\":\"txfvonfe\",\"bfdAdministrativeState\":\"Disabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Provisioned\"}") + "{\"address\":\"rmpepkld\",\"bfdAdministrativeState\":\"Enabled\",\"bgpAdministrativeState\":\"Enabled\",\"configurationState\":\"Failed\"}") .toObject(NeighborAddress.class); - Assertions.assertEquals("txfvonfe", model.address()); + Assertions.assertEquals("rmpepkld", model.address()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NeighborAddress model = new NeighborAddress().withAddress("txfvonfe"); + NeighborAddress model = new NeighborAddress().withAddress("rmpepkld"); model = BinaryData.fromObject(model).toObject(NeighborAddress.class); - Assertions.assertEquals("txfvonfe", model.address()); + Assertions.assertEquals("rmpepkld", model.address()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationPatchTests.java index c1d6fe8274728..09c4e049315ee 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationPatchTests.java @@ -12,20 +12,21 @@ public final class NeighborGroupDestinationPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - NeighborGroupDestinationPatch model = BinaryData.fromString( - "{\"ipv4Addresses\":[\"gelg\",\"ewikfyaqandmym\",\"qoq\"],\"ipv6Addresses\":[\"ovsfb\",\"bvzo\",\"axmfmvsmcwoxfa\"]}") + NeighborGroupDestinationPatch model = BinaryData + .fromString( + "{\"ipv4Addresses\":[\"udpabcreuwzos\",\"yjxvc\"],\"ipv6Addresses\":[\"ormrexzv\",\"ubewgzygba\"]}") .toObject(NeighborGroupDestinationPatch.class); - Assertions.assertEquals("gelg", model.ipv4Addresses().get(0)); - Assertions.assertEquals("ovsfb", model.ipv6Addresses().get(0)); + Assertions.assertEquals("udpabcreuwzos", model.ipv4Addresses().get(0)); + Assertions.assertEquals("ormrexzv", model.ipv6Addresses().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NeighborGroupDestinationPatch model - = new NeighborGroupDestinationPatch().withIpv4Addresses(Arrays.asList("gelg", "ewikfyaqandmym", "qoq")) - .withIpv6Addresses(Arrays.asList("ovsfb", "bvzo", "axmfmvsmcwoxfa")); + = new NeighborGroupDestinationPatch().withIpv4Addresses(Arrays.asList("udpabcreuwzos", "yjxvc")) + .withIpv6Addresses(Arrays.asList("ormrexzv", "ubewgzygba")); model = BinaryData.fromObject(model).toObject(NeighborGroupDestinationPatch.class); - Assertions.assertEquals("gelg", model.ipv4Addresses().get(0)); - Assertions.assertEquals("ovsfb", model.ipv6Addresses().get(0)); + Assertions.assertEquals("udpabcreuwzos", model.ipv4Addresses().get(0)); + Assertions.assertEquals("ormrexzv", model.ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationTests.java index 09d7564f00d63..4d0069648eb95 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupDestinationTests.java @@ -13,19 +13,19 @@ public final class NeighborGroupDestinationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborGroupDestination model = BinaryData.fromString( - "{\"ipv4Addresses\":[\"zbkuckgkdsksw\",\"iiqqcqikclsmalns\",\"woykdnonaaxwm\"],\"ipv6Addresses\":[\"ujlqcwnynlle\"]}") + "{\"ipv4Addresses\":[\"wtgdfkkaui\",\"vmuafmc\",\"fedyuep\",\"vpltidajjvy\"],\"ipv6Addresses\":[\"cfkumcfjxo\",\"yelsyasvfnk\",\"myg\",\"jekrknfd\"]}") .toObject(NeighborGroupDestination.class); - Assertions.assertEquals("zbkuckgkdsksw", model.ipv4Addresses().get(0)); - Assertions.assertEquals("ujlqcwnynlle", model.ipv6Addresses().get(0)); + Assertions.assertEquals("wtgdfkkaui", model.ipv4Addresses().get(0)); + Assertions.assertEquals("cfkumcfjxo", model.ipv6Addresses().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NeighborGroupDestination model = new NeighborGroupDestination() - .withIpv4Addresses(Arrays.asList("zbkuckgkdsksw", "iiqqcqikclsmalns", "woykdnonaaxwm")) - .withIpv6Addresses(Arrays.asList("ujlqcwnynlle")); + .withIpv4Addresses(Arrays.asList("wtgdfkkaui", "vmuafmc", "fedyuep", "vpltidajjvy")) + .withIpv6Addresses(Arrays.asList("cfkumcfjxo", "yelsyasvfnk", "myg", "jekrknfd")); model = BinaryData.fromObject(model).toObject(NeighborGroupDestination.class); - Assertions.assertEquals("zbkuckgkdsksw", model.ipv4Addresses().get(0)); - Assertions.assertEquals("ujlqcwnynlle", model.ipv6Addresses().get(0)); + Assertions.assertEquals("wtgdfkkaui", model.ipv4Addresses().get(0)); + Assertions.assertEquals("cfkumcfjxo", model.ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupInnerTests.java index 9b9881d2c5c4b..89d15146451b4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupInnerTests.java @@ -19,34 +19,33 @@ public final class NeighborGroupInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborGroupInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"snxfbxu\",\"destination\":{\"ipv4Addresses\":[\"pdr\",\"zyvbsuadulpodk\",\"x\",\"f\"],\"ipv6Addresses\":[\"zh\",\"hjdqltdeluqr\"]},\"networkTapIds\":[\"dhfztlra\",\"srkgz\",\"yh\"],\"networkTapRuleIds\":[\"kuwpzqxlcw\",\"akfe\",\"jvxfaqufqizjvppw\"],\"networkFabricIds\":[\"jeyyjmjjxizxp\"],\"lastOperation\":{\"details\":\"zls\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"Rejected\"},\"identity\":{\"principalId\":\"zkjtyqpdwadeg\",\"tenantId\":\"tldsvczdjiahuq\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"ookyfoz\":{\"principalId\":\"cwwmejjqh\",\"clientId\":\"wvmqxi\"},\"swqi\":{\"principalId\":\"nzxbyp\",\"clientId\":\"pgaixwrgrkkderf\"},\"cqbsudzpgchzpg\":{\"principalId\":\"epwoggg\",\"clientId\":\"wnxhtf\"}}},\"location\":\"umjdjxhzghg\",\"tags\":{\"mxjdnaju\":\"ynrceqavfdbdf\",\"loqd\":\"pjyyqmkwlhvc\",\"uxxrwzobuzms\":\"jk\"},\"id\":\"g\",\"name\":\"mtdtkwppthuzd\",\"type\":\"rmimrljdpoqfxyem\"}") + "{\"properties\":{\"annotation\":\"yaaknyukibxiglhp\",\"destination\":{\"ipv4Addresses\":[\"xqtejpiilhvt\",\"z\",\"agjjn\"],\"ipv6Addresses\":[\"ylhyyx\",\"f\"]},\"networkTapIds\":[\"vqzrwtrd\",\"s\",\"nvqeon\",\"gnwxl\"],\"networkTapRuleIds\":[\"zyohxpthc\",\"opvkvtwfves\",\"bpbokhmml\",\"dyarnggcjfwblq\"],\"networkFabricIds\":[\"asmcolmugpyvaos\",\"kluwz\",\"eygzvtyevjhu\",\"nobguqisqsqkpdmi\"],\"lastOperation\":{\"details\":\"pnml\"},\"provisioningState\":\"Failed\",\"configurationState\":\"Provisioning\",\"administrativeState\":\"UnderMaintenance\"},\"identity\":{\"principalId\":\"cvqdvrdmvxyrxd\",\"tenantId\":\"vqojbxaotcgbz\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"dawsxmrsz\":{\"principalId\":\"lef\",\"clientId\":\"oyidoxznvgvdtmuu\"}}},\"location\":\"nimx\",\"tags\":{\"mnb\":\"erxrzutylcurza\",\"bjmbnvynfaooeac\":\"qaeht\"},\"id\":\"edcgl\",\"name\":\"kakddidahzllrqm\",\"type\":\"lpbyxroiduyq\"}") .toObject(NeighborGroupInner.class); - Assertions.assertEquals("umjdjxhzghg", model.location()); - Assertions.assertEquals("ynrceqavfdbdf", model.tags().get("mxjdnaju")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("snxfbxu", model.annotation()); - Assertions.assertEquals("pdr", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("zh", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("nimx", model.location()); + Assertions.assertEquals("erxrzutylcurza", model.tags().get("mnb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("yaaknyukibxiglhp", model.annotation()); + Assertions.assertEquals("xqtejpiilhvt", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("ylhyyx", model.destination().ipv6Addresses().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NeighborGroupInner model = new NeighborGroupInner().withLocation("umjdjxhzghg") - .withTags(mapOf("mxjdnaju", "ynrceqavfdbdf", "loqd", "pjyyqmkwlhvc", "uxxrwzobuzms", "jk")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("ookyfoz", new UserAssignedIdentity(), "swqi", - new UserAssignedIdentity(), "cqbsudzpgchzpg", new UserAssignedIdentity()))) - .withAnnotation("snxfbxu") + NeighborGroupInner model = new NeighborGroupInner().withLocation("nimx") + .withTags(mapOf("mnb", "erxrzutylcurza", "bjmbnvynfaooeac", "qaeht")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities(mapOf("dawsxmrsz", new UserAssignedIdentity()))) + .withAnnotation("yaaknyukibxiglhp") .withDestination( - new NeighborGroupDestination().withIpv4Addresses(Arrays.asList("pdr", "zyvbsuadulpodk", "x", "f")) - .withIpv6Addresses(Arrays.asList("zh", "hjdqltdeluqr"))); + new NeighborGroupDestination().withIpv4Addresses(Arrays.asList("xqtejpiilhvt", "z", "agjjn")) + .withIpv6Addresses(Arrays.asList("ylhyyx", "f"))); model = BinaryData.fromObject(model).toObject(NeighborGroupInner.class); - Assertions.assertEquals("umjdjxhzghg", model.location()); - Assertions.assertEquals("ynrceqavfdbdf", model.tags().get("mxjdnaju")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("snxfbxu", model.annotation()); - Assertions.assertEquals("pdr", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("zh", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("nimx", model.location()); + Assertions.assertEquals("erxrzutylcurza", model.tags().get("mnb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("yaaknyukibxiglhp", model.annotation()); + Assertions.assertEquals("xqtejpiilhvt", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("ylhyyx", model.destination().ipv6Addresses().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchPropertiesTests.java index 425b5d9b8e443..296cb78820da6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchPropertiesTests.java @@ -14,22 +14,21 @@ public final class NeighborGroupPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborGroupPatchProperties model = BinaryData.fromString( - "{\"annotation\":\"bzayspzvri\",\"destination\":{\"ipv4Addresses\":[\"phmdzxplgtp\",\"dvatlzmgschn\",\"rsbkkzovlzdmnfmf\"],\"ipv6Addresses\":[\"afofu\",\"orimmo\",\"zwdehkkmvhz\",\"ovanyrva\"]}}") + "{\"annotation\":\"ohnrddclzeqoz\",\"destination\":{\"ipv4Addresses\":[\"bzq\"],\"ipv6Addresses\":[\"n\",\"rqvzyuexozonynp\"]}}") .toObject(NeighborGroupPatchProperties.class); - Assertions.assertEquals("bzayspzvri", model.annotation()); - Assertions.assertEquals("phmdzxplgtp", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("afofu", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("ohnrddclzeqoz", model.annotation()); + Assertions.assertEquals("bzq", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("n", model.destination().ipv6Addresses().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NeighborGroupPatchProperties model = new NeighborGroupPatchProperties().withAnnotation("bzayspzvri") - .withDestination(new NeighborGroupDestinationPatch() - .withIpv4Addresses(Arrays.asList("phmdzxplgtp", "dvatlzmgschn", "rsbkkzovlzdmnfmf")) - .withIpv6Addresses(Arrays.asList("afofu", "orimmo", "zwdehkkmvhz", "ovanyrva"))); + NeighborGroupPatchProperties model = new NeighborGroupPatchProperties().withAnnotation("ohnrddclzeqoz") + .withDestination(new NeighborGroupDestinationPatch().withIpv4Addresses(Arrays.asList("bzq")) + .withIpv6Addresses(Arrays.asList("n", "rqvzyuexozonynp"))); model = BinaryData.fromObject(model).toObject(NeighborGroupPatchProperties.class); - Assertions.assertEquals("bzayspzvri", model.annotation()); - Assertions.assertEquals("phmdzxplgtp", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("afofu", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("ohnrddclzeqoz", model.annotation()); + Assertions.assertEquals("bzq", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("n", model.destination().ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchTests.java index 2089e51f08e8b..b5ace6abac1cb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPatchTests.java @@ -19,32 +19,33 @@ public final class NeighborGroupPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborGroupPatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"cbgvsbt\",\"destination\":{\"ipv4Addresses\":[\"oxa\",\"hxuvjhxm\",\"rqstjcme\",\"wmlgicvnpv\"],\"ipv6Addresses\":[\"gjnaqyqipsl\",\"mvcdsvmwbitek\"]}},\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ybfzdqekivycp\":{\"principalId\":\"iy\",\"clientId\":\"qich\"},\"lpryf\":{\"principalId\":\"vdizulrqtbh\",\"clientId\":\"ezp\"},\"cgndjgdp\":{\"principalId\":\"mdutzfk\",\"clientId\":\"lnoud\"},\"htujcyohigimwdc\":{\"principalId\":\"ggqqyeqfcb\",\"clientId\":\"lpyuflqjf\"}}},\"tags\":{\"uyrzw\":\"kqnqvkixnmbzme\"}}") + "{\"properties\":{\"annotation\":\"jqy\",\"destination\":{\"ipv4Addresses\":[\"xkrdtul\",\"r\",\"jdkl\",\"tcsubmzoo\"],\"ipv6Addresses\":[\"obc\"]}},\"identity\":{\"type\":\"None\",\"userAssignedIdentities\":{\"tb\":{\"principalId\":\"dyslbklglmnn\",\"clientId\":\"wayqshwyqxrid\"},\"izevjyk\":{\"principalId\":\"q\",\"clientId\":\"kgxqwqueuuylztpz\"},\"fjwajnrt\":{\"principalId\":\"vezefkhkqtwqle\",\"clientId\":\"jzkcasfwzcntog\"}}},\"tags\":{\"nhrkmjqncfvdsc\":\"aqkifmxawostfz\",\"wbgodtggrssg\":\"hemvwfnqqwypvnd\",\"uymvecvzts\":\"jfkainj\",\"cnk\":\"bgmusaictd\"}}") .toObject(NeighborGroupPatch.class); - Assertions.assertEquals("kqnqvkixnmbzme", model.tags().get("uyrzw")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); - Assertions.assertEquals("cbgvsbt", model.annotation()); - Assertions.assertEquals("oxa", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("gjnaqyqipsl", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("aqkifmxawostfz", model.tags().get("nhrkmjqncfvdsc")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); + Assertions.assertEquals("jqy", model.annotation()); + Assertions.assertEquals("xkrdtul", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("obc", model.destination().ipv6Addresses().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NeighborGroupPatch model = new NeighborGroupPatch().withTags(mapOf("uyrzw", "kqnqvkixnmbzme")) - .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) - .withUserAssignedIdentities( - mapOf("ybfzdqekivycp", new UserAssignedIdentity(), "lpryf", new UserAssignedIdentity(), "cgndjgdp", - new UserAssignedIdentity(), "htujcyohigimwdc", new UserAssignedIdentity()))) - .withAnnotation("cbgvsbt") + NeighborGroupPatch model = new NeighborGroupPatch() + .withTags(mapOf("nhrkmjqncfvdsc", "aqkifmxawostfz", "wbgodtggrssg", "hemvwfnqqwypvnd", "uymvecvzts", + "jfkainj", "cnk", "bgmusaictd")) + .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE) + .withUserAssignedIdentities(mapOf("tb", new UserAssignedIdentity(), "izevjyk", + new UserAssignedIdentity(), "fjwajnrt", new UserAssignedIdentity()))) + .withAnnotation("jqy") .withDestination(new NeighborGroupDestinationPatch() - .withIpv4Addresses(Arrays.asList("oxa", "hxuvjhxm", "rqstjcme", "wmlgicvnpv")) - .withIpv6Addresses(Arrays.asList("gjnaqyqipsl", "mvcdsvmwbitek"))); + .withIpv4Addresses(Arrays.asList("xkrdtul", "r", "jdkl", "tcsubmzoo")) + .withIpv6Addresses(Arrays.asList("obc"))); model = BinaryData.fromObject(model).toObject(NeighborGroupPatch.class); - Assertions.assertEquals("kqnqvkixnmbzme", model.tags().get("uyrzw")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); - Assertions.assertEquals("cbgvsbt", model.annotation()); - Assertions.assertEquals("oxa", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("gjnaqyqipsl", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("aqkifmxawostfz", model.tags().get("nhrkmjqncfvdsc")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); + Assertions.assertEquals("jqy", model.annotation()); + Assertions.assertEquals("xkrdtul", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("obc", model.destination().ipv6Addresses().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPropertiesTests.java index a3201cd475340..289c574d19302 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupPropertiesTests.java @@ -14,22 +14,21 @@ public final class NeighborGroupPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborGroupProperties model = BinaryData.fromString( - "{\"annotation\":\"ftb\",\"destination\":{\"ipv4Addresses\":[\"htecloa\",\"fmxtllf\",\"tymqcnrrfijhggab\",\"bgamklilirwd\"],\"ipv6Addresses\":[\"hsdp\",\"ouh\",\"tqrxqwqnjxrdf\"]},\"networkTapIds\":[\"ullygtavczcx\"],\"networkTapRuleIds\":[\"eapyfmlxrlj\",\"h\",\"aspiflei\",\"ixlmdbgic\"],\"networkFabricIds\":[\"gs\",\"drjuqbp\",\"tokljmtznpaxw\"],\"lastOperation\":{\"details\":\"yyqiprcltungbsol\"},\"provisioningState\":\"Updating\",\"configurationState\":\"PendingAdministrativeUpdate\"}") + "{\"annotation\":\"ffmnoiics\",\"destination\":{\"ipv4Addresses\":[\"hbrj\",\"talxrdsj\"],\"ipv6Addresses\":[\"luqwgusxxhd\",\"dp\",\"wyblv\",\"bdmvsby\"]},\"networkTapIds\":[\"elqpvekmk\",\"jfb\",\"tlo\",\"gdusxurs\"],\"networkTapRuleIds\":[\"uxcjkcoqwczsyiq\"],\"networkFabricIds\":[\"fwihvaan\"],\"lastOperation\":{\"details\":\"nhjrfdmfd\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Provisioning\",\"administrativeState\":\"RMA\"}") .toObject(NeighborGroupProperties.class); - Assertions.assertEquals("ftb", model.annotation()); - Assertions.assertEquals("htecloa", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("hsdp", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("ffmnoiics", model.annotation()); + Assertions.assertEquals("hbrj", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("luqwgusxxhd", model.destination().ipv6Addresses().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NeighborGroupProperties model = new NeighborGroupProperties().withAnnotation("ftb") - .withDestination(new NeighborGroupDestination() - .withIpv4Addresses(Arrays.asList("htecloa", "fmxtllf", "tymqcnrrfijhggab", "bgamklilirwd")) - .withIpv6Addresses(Arrays.asList("hsdp", "ouh", "tqrxqwqnjxrdf"))); + NeighborGroupProperties model = new NeighborGroupProperties().withAnnotation("ffmnoiics") + .withDestination(new NeighborGroupDestination().withIpv4Addresses(Arrays.asList("hbrj", "talxrdsj")) + .withIpv6Addresses(Arrays.asList("luqwgusxxhd", "dp", "wyblv", "bdmvsby"))); model = BinaryData.fromObject(model).toObject(NeighborGroupProperties.class); - Assertions.assertEquals("ftb", model.annotation()); - Assertions.assertEquals("htecloa", model.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("hsdp", model.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("ffmnoiics", model.annotation()); + Assertions.assertEquals("hbrj", model.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("luqwgusxxhd", model.destination().ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateMockTests.java index 7557f4264fa4e..0d013ef22f12f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsCreateMockTests.java @@ -28,7 +28,7 @@ public final class NeighborGroupsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"gqin\",\"destination\":{\"ipv4Addresses\":[\"xouknzhmzassrsqz\",\"knbtxtdmutdrrqq\"],\"ipv6Addresses\":[\"klttliuwdrtwqj\",\"tyaqd\",\"wfnom\",\"iwhumngihfndsj\"]},\"networkTapIds\":[\"lfvrpbcgdptf\",\"offckejx\",\"mng\"],\"networkTapRuleIds\":[\"xxynt\",\"rnksvximgnsiycx\",\"yzrnngnmfhmwfou\",\"mdomvdi\"],\"networkFabricIds\":[\"qalwlirapqhsidf\",\"sfnoczefgfqxejj\",\"tiqbxzeiudog\"],\"lastOperation\":{\"details\":\"rbroeomufaz\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"PendingAdministrativeUpdate\"},\"identity\":{\"principalId\":\"pbsspexejhwpnjco\",\"tenantId\":\"jzbovuvmdz\",\"type\":\"None\",\"userAssignedIdentities\":{\"jzkhncaeyk\":{\"principalId\":\"guajsrdecbowkh\",\"clientId\":\"ffllpdnnsujxoueq\"}}},\"location\":\"atztnprnsh\",\"tags\":{\"tjyisjscuwylukt\":\"ahvlzgsqwiubgb\",\"xrziry\":\"cuxuxaihheg\",\"mxqvv\":\"rpjru\",\"rnjvzlynv\":\"poftsapfwusf\"},\"id\":\"empvubs\",\"name\":\"wzntbi\",\"type\":\"u\"}"; + = "{\"properties\":{\"annotation\":\"htwhh\",\"destination\":{\"ipv4Addresses\":[\"omfo\"],\"ipv6Addresses\":[\"er\",\"ujfnbzamroad\"]},\"networkTapIds\":[\"gbkdctsgv\",\"lhr\",\"neclphmjsqcubyjr\"],\"networkTapRuleIds\":[\"liteenaheecsf\",\"tsu\",\"zfuhjnmd\"],\"networkFabricIds\":[\"bzyjhq\",\"vtzdxtwyxpkww\",\"kkvdevdvkeyq\"],\"lastOperation\":{\"details\":\"hdnlxeiluexvm\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"DeferredControl\",\"administrativeState\":\"Enabled\"},\"identity\":{\"principalId\":\"xjw\",\"tenantId\":\"lbqkguchd\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"lwnxryyqtjcrpax\":{\"principalId\":\"djikiqtzu\",\"clientId\":\"ddkujvqzcuqc\"}}},\"location\":\"lfxse\",\"tags\":{\"dmxfqftywbba\":\"zid\"},\"id\":\"zhdciuxotb\",\"name\":\"flgkkiu\",\"type\":\"hop\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -38,24 +38,25 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NeighborGroup response = manager.neighborGroups() - .define("lsuhsghdovcp") - .withRegion("uxotbvflg") - .withExistingResourceGroup("ojikffczwaewp") - .withDestination(new NeighborGroupDestination().withIpv4Addresses(Arrays.asList("gagv")) - .withIpv6Addresses(Arrays.asList("xzcda", "khtwhhs", "bomf", "ojker"))) - .withTags(mapOf("taevqafdhpkiiu", "uqhopafobpyeob", "vdtqhrtn", "yrobckelowsm")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) - .withUserAssignedIdentities(mapOf("ujvqzcuqculwnx", new UserAssignedIdentity(), "e", - new UserAssignedIdentity(), "fqftywbbanzhd", new UserAssignedIdentity()))) - .withAnnotation("f") + .define("wx") + .withRegion("pcssusdrgzmmrz") + .withExistingResourceGroup("xooxuaufqoo") + .withDestination(new NeighborGroupDestination().withIpv4Addresses(Arrays.asList("ery")) + .withIpv6Addresses(Arrays.asList("yqxeyzqnupsi", "clxvaovssibnvq"))) + .withTags(mapOf("nukgovoumn", "btkcvola", "zgvaeqiygbo", "cqoxyxiyhmjwsnwk", "odidgudarclajben", "vz", + "kff", "yuufvoj")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf("dpwrm", new UserAssignedIdentity(), "sxnyo", new UserAssignedIdentity()))) + .withAnnotation("kveqvpedwmhq") .create(); - Assertions.assertEquals("atztnprnsh", response.location()); - Assertions.assertEquals("ahvlzgsqwiubgb", response.tags().get("tjyisjscuwylukt")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); - Assertions.assertEquals("gqin", response.annotation()); - Assertions.assertEquals("xouknzhmzassrsqz", response.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("klttliuwdrtwqj", response.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("lfxse", response.location()); + Assertions.assertEquals("zid", response.tags().get("dmxfqftywbba")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.identity().type()); + Assertions.assertEquals("htwhh", response.annotation()); + Assertions.assertEquals("omfo", response.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("er", response.destination().ipv6Addresses().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupWithResponseMockTests.java index 6636d1c853a00..66ffdb36983f0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsGetByResourceGroupWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class NeighborGroupsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"moazsjsuevfvnn\",\"destination\":{\"ipv4Addresses\":[\"cvx\",\"bxg\",\"k\"],\"ipv6Addresses\":[\"riwxe\"]},\"networkTapIds\":[\"vwqldil\"],\"networkTapRuleIds\":[\"vz\",\"bk\",\"al\",\"bxldl\"],\"networkFabricIds\":[\"mibq\",\"ldhttkalpqln\",\"yevjealxlewlwb\"],\"lastOperation\":{\"details\":\"qfdkkviji\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"ErrorDeprovisioning\"},\"identity\":{\"principalId\":\"owdqvqfldaqoao\",\"tenantId\":\"qpfwnjdyoxformfe\",\"type\":\"None\",\"userAssignedIdentities\":{\"pqttusux\":{\"principalId\":\"neszx\",\"clientId\":\"snhxphxokdbv\"},\"grxzcnwguezx\":{\"principalId\":\"z\",\"clientId\":\"vueijrnn\"},\"uuuyvpcf\":{\"principalId\":\"imkwbwmgqzq\",\"clientId\":\"nycchpcjztz\"}}},\"location\":\"njxciunetcxgdg\",\"tags\":{\"tjdrqgionmoky\":\"etlwavtzbphxxv\"},\"id\":\"mtdnymbeey\",\"name\":\"kbqlcaklesjg\",\"type\":\"dhgezyhpha\"}"; + = "{\"properties\":{\"annotation\":\"cjialvchfumlfgm\",\"destination\":{\"ipv4Addresses\":[\"xko\",\"ipklfwn\",\"fkbqlrtffsw\",\"dkvljitbnhg\"],\"ipv6Addresses\":[\"laro\",\"swmucrza\"]},\"networkTapIds\":[\"dxtwqqukgonl\",\"jgskbkslt\",\"nrwxsqvxlupccfwq\"],\"networkTapRuleIds\":[\"uqyzxzjehd\",\"lvqtmzociaetctj\",\"pgmoazsj\",\"uevfvnnt\"],\"networkFabricIds\":[\"vxqbxgqkawnri\"],\"lastOperation\":{\"details\":\"kibvw\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"PendingAdministrativeUpdate\",\"administrativeState\":\"UnderMaintenance\"},\"identity\":{\"principalId\":\"zwbktalo\",\"tenantId\":\"ldlj\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"nyevjeal\":{\"principalId\":\"qgldhttka\",\"clientId\":\"ql\"},\"ijil\":{\"principalId\":\"ewlwbxuf\",\"clientId\":\"dkk\"},\"fldaq\":{\"principalId\":\"v\",\"clientId\":\"zowdqv\"},\"hxphxokdbv\":{\"principalId\":\"opzqpfwnjdyoxfo\",\"clientId\":\"feedfqjneszxtes\"}}},\"location\":\"qttusuxxb\",\"tags\":{\"grxzcnwguezx\":\"vueijrnn\"},\"id\":\"uim\",\"name\":\"wbwmgqzq\",\"type\":\"snycchpcjztziuu\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,14 +32,14 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NeighborGroup response = manager.neighborGroups() - .getByResourceGroupWithResponse("xzjehdklvqtmzoci", "etctjh", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("ltrnq", "icyozryoxmfrxf", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("njxciunetcxgdg", response.location()); - Assertions.assertEquals("etlwavtzbphxxv", response.tags().get("tjdrqgionmoky")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); - Assertions.assertEquals("moazsjsuevfvnn", response.annotation()); - Assertions.assertEquals("cvx", response.destination().ipv4Addresses().get(0)); - Assertions.assertEquals("riwxe", response.destination().ipv6Addresses().get(0)); + Assertions.assertEquals("qttusuxxb", response.location()); + Assertions.assertEquals("vueijrnn", response.tags().get("grxzcnwguezx")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); + Assertions.assertEquals("cjialvchfumlfgm", response.annotation()); + Assertions.assertEquals("xko", response.destination().ipv4Addresses().get(0)); + Assertions.assertEquals("laro", response.destination().ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupMockTests.java index 30cbb2d5bcc8b..8f6b04b3d6636 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListByResourceGroupMockTests.java @@ -23,7 +23,7 @@ public final class NeighborGroupsListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"mxgglkqitpbyne\",\"destination\":{\"ipv4Addresses\":[\"ux\"],\"ipv6Addresses\":[\"cleffgggglzs\",\"ouhmngccnkgius\"]},\"networkTapIds\":[\"wcpspaoxigpd\",\"ouppgp\",\"smglutnlynplxx\"],\"networkTapRuleIds\":[\"gxkidbcxbg\"],\"networkFabricIds\":[\"cfwlwn\"],\"lastOperation\":{\"details\":\"nmop\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"Deprovisioning\"},\"identity\":{\"principalId\":\"ugimvief\",\"tenantId\":\"esmiyjkhjuue\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"dxu\":{\"principalId\":\"wnajbbpxqsvaxv\",\"clientId\":\"isdwtug\"},\"llhkzunnwmwwxy\":{\"principalId\":\"pgc\",\"clientId\":\"iwhtjox\"}}},\"location\":\"xkdvevhyu\",\"tags\":{\"kubljnizwztlcrx\":\"apcqmcvur\",\"qrd\":\"iiifgxnfarmfi\",\"lzlrmrtcsmp\":\"rvtr\",\"bdb\":\"hlcxbaxcgcdfelva\"},\"id\":\"cjznt\",\"name\":\"blxeyg\",\"type\":\"suhroicj\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"xciunet\",\"destination\":{\"ipv4Addresses\":[\"dgqkletlw\"],\"ipv6Addresses\":[\"zbp\",\"xxvft\",\"drqgionm\"]},\"networkTapIds\":[\"jmtdnymbeeysk\"],\"networkTapRuleIds\":[\"cakle\",\"jgxdhgezyhph\",\"okhbqmx\",\"glkqitpbyn\"],\"networkFabricIds\":[\"xux\"],\"lastOperation\":{\"details\":\"cleffgggglzs\"},\"provisioningState\":\"Failed\",\"configurationState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\"},\"identity\":{\"principalId\":\"n\",\"tenantId\":\"iusrvswcpsp\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"bogxkidbcxbgfw\":{\"principalId\":\"pdioup\",\"clientId\":\"pqsmglutnlynplxx\"},\"pcm\":{\"principalId\":\"fwlwn\",\"clientId\":\"anm\"}}},\"location\":\"druugi\",\"tags\":{\"uepn\":\"efbjesmiyjkhj\",\"pxqs\":\"uqwnajb\"},\"id\":\"axvq\",\"name\":\"isdwtug\",\"type\":\"dxu\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,14 +33,13 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.neighborGroups().listByResourceGroup("kh", com.azure.core.util.Context.NONE); + = manager.neighborGroups().listByResourceGroup("yvpcfvi", com.azure.core.util.Context.NONE); - Assertions.assertEquals("xkdvevhyu", response.iterator().next().location()); - Assertions.assertEquals("apcqmcvur", response.iterator().next().tags().get("kubljnizwztlcrx")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, - response.iterator().next().identity().type()); - Assertions.assertEquals("mxgglkqitpbyne", response.iterator().next().annotation()); - Assertions.assertEquals("ux", response.iterator().next().destination().ipv4Addresses().get(0)); - Assertions.assertEquals("cleffgggglzs", response.iterator().next().destination().ipv6Addresses().get(0)); + Assertions.assertEquals("druugi", response.iterator().next().location()); + Assertions.assertEquals("efbjesmiyjkhj", response.iterator().next().tags().get("uepn")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.iterator().next().identity().type()); + Assertions.assertEquals("xciunet", response.iterator().next().annotation()); + Assertions.assertEquals("dgqkletlw", response.iterator().next().destination().ipv4Addresses().get(0)); + Assertions.assertEquals("zbp", response.iterator().next().destination().ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListMockTests.java index efb4fcb615982..137f3388d9527 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListMockTests.java @@ -23,7 +23,7 @@ public final class NeighborGroupsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"qdymoa\",\"destination\":{\"ipv4Addresses\":[\"cmdix\"],\"ipv6Addresses\":[\"qbcalgspzoafp\",\"zlvhohzkcsjddzpo\",\"mnmkypeqmuue\"]},\"networkTapIds\":[\"krulavxe\",\"y\"],\"networkTapRuleIds\":[\"chwpfunptsry\",\"jaekbw\",\"xvsytbxcjubad\"],\"networkFabricIds\":[\"jquliovrc\",\"nthluze\",\"valezkyfykm\"],\"lastOperation\":{\"details\":\"asuwep\"},\"provisioningState\":\"Failed\",\"configurationState\":\"Deprovisioning\"},\"identity\":{\"principalId\":\"yc\",\"tenantId\":\"ufutfqffw\",\"type\":\"None\",\"userAssignedIdentities\":{\"s\":{\"principalId\":\"rykshizw\",\"clientId\":\"wikyew\"},\"c\":{\"principalId\":\"wqzwsg\",\"clientId\":\"pqqemeftlgjrfkq\"},\"bnoisbmvrmenrcqi\":{\"principalId\":\"elokxklgl\",\"clientId\":\"regjo\"},\"ntyuq\":{\"principalId\":\"hvps\",\"clientId\":\"uiuvingmonq\"}}},\"location\":\"xyoj\",\"tags\":{\"aysckydqyjzwmfw\":\"ykfjga\",\"gvmuotcseabfy\":\"qziz\",\"nqrbyqhywxbowcjk\":\"ampvwxlkhprltxip\"},\"id\":\"r\",\"name\":\"gvyuewgylol\",\"type\":\"xwlql\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"pgc\",\"destination\":{\"ipv4Addresses\":[\"whtjo\",\"xllhkzunn\"],\"ipv6Addresses\":[\"wxyawxkdvev\",\"yuuihap\",\"qmcvu\"]},\"networkTapIds\":[\"ubljnizwztlcrxfi\",\"ifgxnfarmf\",\"cqrder\",\"trulzlrmrtcs\"],\"networkTapRuleIds\":[\"hlcxbaxcgcdfelva\",\"bdb\",\"cjznt\",\"blxeyg\"],\"networkFabricIds\":[\"hroi\",\"jtgqdymoanpk\",\"mdixiu\"],\"lastOperation\":{\"details\":\"calgspz\"},\"provisioningState\":\"Failed\",\"configurationState\":\"Provisioned\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"ohzkcsjddzpo\",\"tenantId\":\"nmky\",\"type\":\"None\",\"userAssignedIdentities\":{\"y\":{\"principalId\":\"ueo\",\"clientId\":\"krulavxe\"},\"xvsytbxcjubad\":{\"principalId\":\"lchwpfunptsr\",\"clientId\":\"jaekbw\"},\"mn\":{\"principalId\":\"mjquliovrcnn\",\"clientId\":\"luzeyvalezkyfy\"}}},\"location\":\"asuwep\",\"tags\":{\"ufutfqffw\":\"tytbycc\"},\"id\":\"n\",\"name\":\"gjrykshizwdsw\",\"type\":\"kyewvskzw\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,11 +34,11 @@ public void testList() throws Exception { PagedIterable response = manager.neighborGroups().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("xyoj", response.iterator().next().location()); - Assertions.assertEquals("ykfjga", response.iterator().next().tags().get("aysckydqyjzwmfw")); + Assertions.assertEquals("asuwep", response.iterator().next().location()); + Assertions.assertEquals("tytbycc", response.iterator().next().tags().get("ufutfqffw")); Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.iterator().next().identity().type()); - Assertions.assertEquals("qdymoa", response.iterator().next().annotation()); - Assertions.assertEquals("cmdix", response.iterator().next().destination().ipv4Addresses().get(0)); - Assertions.assertEquals("qbcalgspzoafp", response.iterator().next().destination().ipv6Addresses().get(0)); + Assertions.assertEquals("pgc", response.iterator().next().annotation()); + Assertions.assertEquals("whtjo", response.iterator().next().destination().ipv4Addresses().get(0)); + Assertions.assertEquals("wxyawxkdvev", response.iterator().next().destination().ipv6Addresses().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListResultTests.java index ac166be85003b..d01191e1e7057 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NeighborGroupsListResultTests.java @@ -13,15 +13,14 @@ public final class NeighborGroupsListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NeighborGroupsListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"nqifb\",\"destination\":{\"ipv4Addresses\":[\"roiauesugmo\",\"pcjycb\",\"elrgttwfldsiuo\"],\"ipv6Addresses\":[\"ikcedpk\",\"riwmmtmqrxrzqv\"]},\"networkTapIds\":[\"zyayubtgmbxi\",\"ahr\",\"gpx\",\"ibplnupoyryefqm\"],\"networkTapRuleIds\":[\"yztxlno\",\"fpbjc\"],\"networkFabricIds\":[\"vyieztkutnjilluk\",\"rehyhtmj\",\"dui\",\"vulxfar\"],\"lastOperation\":{\"details\":\"jlgdez\"},\"provisioningState\":\"Canceled\",\"configurationState\":\"DeferredControl\"},\"identity\":{\"principalId\":\"yiyaxqvjweiwtczk\",\"tenantId\":\"nvovbooqbmdqrxy\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"cuxd\":{\"principalId\":\"scflwtjdtlri\",\"clientId\":\"ooy\"}}},\"location\":\"c\",\"tags\":{\"omehx\":\"sdudgcoz\",\"lczipvwdtgc\":\"antolamlbijuxkq\"},\"id\":\"zdqiqdlrat\",\"name\":\"kwx\",\"type\":\"auwxsuykznhrfgsl\"},{\"properties\":{\"annotation\":\"hpryjfzihuioa\",\"destination\":{\"ipv4Addresses\":[\"pajtfeyvkbd\",\"dd\"],\"ipv6Addresses\":[\"dccxbeuuqu\",\"kzwtjwwguzytij\"]},\"networkTapIds\":[\"nondegjdyd\"],\"networkTapRuleIds\":[\"kkbjuckcatuq\",\"hpowcnxtpzdl\",\"seidtoakatpr\",\"tgrhz\"],\"networkFabricIds\":[\"d\",\"fa\",\"rptvcshtkutzcttb\",\"gdirda\"],\"lastOperation\":{\"details\":\"zjgcfjfx\"},\"provisioningState\":\"Canceled\",\"configurationState\":\"DeferredControl\"},\"identity\":{\"principalId\":\"muy\",\"tenantId\":\"fttm\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"iygmgs\":{\"principalId\":\"oagfuoftnxodwx\",\"clientId\":\"aj\"},\"dtjva\":{\"principalId\":\"mdmze\",\"clientId\":\"rstgfczljdnc\"},\"cvucgytoxu\":{\"principalId\":\"yznm\",\"clientId\":\"cdo\"}}},\"location\":\"ttnzqsaq\",\"tags\":{\"ekpdzzmssg\":\"gszplus\",\"yejidbdqzsqun\":\"gvo\",\"mrkkyjtr\":\"cwztlvvws\"},\"id\":\"pwpwfkcauxuva\",\"name\":\"cpfpdofuckcl\",\"type\":\"txluevs\"},{\"properties\":{\"annotation\":\"zwilfngo\",\"destination\":{\"ipv4Addresses\":[\"qebuuxjxhfxfjwp\"],\"ipv6Addresses\":[\"tpmbmxbmbrwgz\",\"xljbkhxsd\"]},\"networkTapIds\":[\"umyd\"],\"networkTapRuleIds\":[\"eqjfyxydgtokvq\",\"vwglgwzpv\",\"akglhpsesrfga\"],\"networkFabricIds\":[\"yd\",\"xcgdhyhgoqgso\"],\"lastOperation\":{\"details\":\"xyjrcbqpb\"},\"provisioningState\":\"Updating\",\"configurationState\":\"Deprovisioning\"},\"identity\":{\"principalId\":\"o\",\"tenantId\":\"dahneaoovty\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"srmau\":{\"principalId\":\"fwjlof\",\"clientId\":\"k\"},\"ee\":{\"principalId\":\"ajvcfoczhapej\",\"clientId\":\"tkwxnhwhhnoyrzaa\"},\"l\":{\"principalId\":\"mjenvjeatea\",\"clientId\":\"crxoxdj\"}}},\"location\":\"a\",\"tags\":{\"vxvzaledoyqxlun\":\"inzkdolrndwd\"},\"id\":\"fthmcxqqxmy\",\"name\":\"klaoa\",\"type\":\"pohrvm\"}],\"nextLink\":\"qr\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"ecovs\",\"destination\":{\"ipv4Addresses\":[\"zrtdbakr\",\"imzfvpp\"],\"ipv6Addresses\":[\"sif\",\"mclngygnhrko\",\"bcdtajdo\"]},\"networkTapIds\":[\"orwjoqtrotpvc\",\"pofyrlmwkptsk\",\"xjgvh\",\"ccbmkakm\"],\"networkTapRuleIds\":[\"kbputmgvmuyak\",\"lwk\"],\"networkFabricIds\":[\"wzkroyrdurxfl\"],\"lastOperation\":{\"details\":\"imejtgzjxx\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"CommitRollbackFailed\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"oiwyayyzivrmitc\",\"tenantId\":\"lhchwhrktjleif\",\"type\":\"None\",\"userAssignedIdentities\":{\"x\":{\"principalId\":\"lhxfnsmycj\",\"clientId\":\"lyeyzmudsqcmh\"}}},\"location\":\"buwodmachbkv\",\"tags\":{\"plehmumk\":\"bjrmvgo\",\"dpr\":\"dllc\",\"goxsstci\":\"nhkgq\",\"rrynjcwmhly\":\"rak\"},\"id\":\"gnukxrkemjpe\",\"name\":\"ulrlzaudgjtfbcl\",\"type\":\"kkucddwnh\"},{\"properties\":{\"annotation\":\"butoucgj\",\"destination\":{\"ipv4Addresses\":[\"jwayhi\",\"qqwwvgwks\",\"vlizedvb\"],\"ipv6Addresses\":[\"v\"]},\"networkTapIds\":[\"ge\",\"zyqxadyfhbmwkh\"],\"networkTapRuleIds\":[\"ttbspvkh\",\"laqjsgyzstujrzx\",\"kn\"],\"networkFabricIds\":[\"rlduyehiiittugy\"],\"lastOperation\":{\"details\":\"rldaxurfqa\"},\"provisioningState\":\"Updating\",\"configurationState\":\"DeferredControl\",\"administrativeState\":\"EnabledDegraded\"},\"identity\":{\"principalId\":\"zciggbnvtxofwa\",\"tenantId\":\"yxwhoeamo\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"gnkwm\":{\"principalId\":\"eysf\",\"clientId\":\"imtwuuhau\"}}},\"location\":\"eubtzjyrkwfug\",\"tags\":{\"rhzz\":\"rrkuumnqd\"},\"id\":\"opueo\",\"name\":\"usvwluj\",\"type\":\"pwnibittozt\"}],\"nextLink\":\"qumqvfmwcaddt\"}") .toObject(NeighborGroupsListResult.class); - Assertions.assertEquals("c", model.value().get(0).location()); - Assertions.assertEquals("sdudgcoz", model.value().get(0).tags().get("omehx")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, - model.value().get(0).identity().type()); - Assertions.assertEquals("nqifb", model.value().get(0).annotation()); - Assertions.assertEquals("roiauesugmo", model.value().get(0).destination().ipv4Addresses().get(0)); - Assertions.assertEquals("ikcedpk", model.value().get(0).destination().ipv6Addresses().get(0)); - Assertions.assertEquals("qr", model.nextLink()); + Assertions.assertEquals("buwodmachbkv", model.value().get(0).location()); + Assertions.assertEquals("bjrmvgo", model.value().get(0).tags().get("plehmumk")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.value().get(0).identity().type()); + Assertions.assertEquals("ecovs", model.value().get(0).annotation()); + Assertions.assertEquals("zrtdbakr", model.value().get(0).destination().ipv4Addresses().get(0)); + Assertions.assertEquals("sif", model.value().get(0).destination().ipv6Addresses().get(0)); + Assertions.assertEquals("qumqvfmwcaddt", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceInnerTests.java deleted file mode 100644 index a566a5f0cab28..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceInnerTests.java +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.util.BinaryData; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceInner; -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; -import org.junit.jupiter.api.Assertions; - -public final class NetworkBootstrapDeviceInnerTests { - @org.junit.jupiter.api.Test - public void testDeserialize() throws Exception { - NetworkBootstrapDeviceInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"wqufudp\",\"hostName\":\"boqlefxf\",\"serialNumber\":\"majvwfi\",\"version\":\"djjrvsvhmsmri\",\"networkDeviceSku\":\"dnbwlbqntdderrx\",\"networkFabricId\":\"wuzpsvcm\",\"secondaryManagementIpv4Address\":\"fstyyysq\",\"dhcpV4ServerIpAddress\":\"nlcfzfjdz\",\"primaryManagementIpv6Address\":\"thsydphdbz\",\"secondaryManagementIpv6Address\":\"tf\",\"provisioningState\":\"Accepted\",\"primaryManagementIpv4Address\":\"bvhvd\",\"administrativeState\":\"RMA\",\"configurationState\":\"PendingAdministrativeUpdate\"},\"identity\":{\"principalId\":\"s\",\"tenantId\":\"h\",\"type\":\"None\",\"userAssignedIdentities\":{\"bzghpsotbameirbu\":{\"principalId\":\"enpftk\",\"clientId\":\"bmvxbi\"},\"rlurgip\":{\"principalId\":\"aqsvruuhyncpp\",\"clientId\":\"whj\"},\"iihrfcowlase\":{\"principalId\":\"bxlepsmckgpxdx\",\"clientId\":\"qmguvdk\"},\"otdtmcktkal\":{\"principalId\":\"fywxjjylaqhxevf\",\"clientId\":\"rvjhwgkynxlwrj\"}}},\"location\":\"i\",\"tags\":{\"og\":\"nkylzrignql\"},\"id\":\"nbjuaiu\",\"name\":\"emqcbnkiv\",\"type\":\"xiathmaryywyf\"}") - .toObject(NetworkBootstrapDeviceInner.class); - Assertions.assertEquals("i", model.location()); - Assertions.assertEquals("nkylzrignql", model.tags().get("og")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); - Assertions.assertEquals("wqufudp", model.annotation()); - Assertions.assertEquals("boqlefxf", model.hostName()); - Assertions.assertEquals("majvwfi", model.serialNumber()); - Assertions.assertEquals("dnbwlbqntdderrx", model.networkDeviceSku()); - } - - @org.junit.jupiter.api.Test - public void testSerialize() throws Exception { - NetworkBootstrapDeviceInner model = new NetworkBootstrapDeviceInner().withLocation("i") - .withTags(mapOf("og", "nkylzrignql")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE) - .withUserAssignedIdentities( - mapOf("bzghpsotbameirbu", new UserAssignedIdentity(), "rlurgip", new UserAssignedIdentity(), - "iihrfcowlase", new UserAssignedIdentity(), "otdtmcktkal", new UserAssignedIdentity()))) - .withAnnotation("wqufudp") - .withHostName("boqlefxf") - .withSerialNumber("majvwfi") - .withNetworkDeviceSku("dnbwlbqntdderrx"); - model = BinaryData.fromObject(model).toObject(NetworkBootstrapDeviceInner.class); - Assertions.assertEquals("i", model.location()); - Assertions.assertEquals("nkylzrignql", model.tags().get("og")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); - Assertions.assertEquals("wqufudp", model.annotation()); - Assertions.assertEquals("boqlefxf", model.hostName()); - Assertions.assertEquals("majvwfi", model.serialNumber()); - Assertions.assertEquals("dnbwlbqntdderrx", model.networkDeviceSku()); - } - - // 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; - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceListResultTests.java deleted file mode 100644 index 04be790dca4f9..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDeviceListResultTests.java +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.util.BinaryData; -import com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapDeviceListResult; -import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; -import org.junit.jupiter.api.Assertions; - -public final class NetworkBootstrapDeviceListResultTests { - @org.junit.jupiter.api.Test - public void testDeserialize() throws Exception { - NetworkBootstrapDeviceListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"ghgermmadkbxuips\",\"hostName\":\"wxugpubeqkwxz\",\"serialNumber\":\"zgueuygpbh\",\"version\":\"hejmswelygxxzx\",\"networkDeviceSku\":\"nqwdjvlwqzxy\",\"networkFabricId\":\"wsfxqc\",\"secondaryManagementIpv4Address\":\"jezjcbciuaga\",\"dhcpV4ServerIpAddress\":\"xgwwm\",\"primaryManagementIpv6Address\":\"llpfjgu\",\"secondaryManagementIpv6Address\":\"yfwa\",\"provisioningState\":\"Canceled\",\"primaryManagementIpv4Address\":\"oxxbzagwnomp\",\"administrativeState\":\"Enabled\",\"configurationState\":\"ErrorProvisioning\"},\"identity\":{\"principalId\":\"cuf\",\"tenantId\":\"alb\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"jqhjenbdupfp\":{\"principalId\":\"xqfzmhkridipwczj\",\"clientId\":\"mpi\"}}},\"location\":\"osadjff\",\"tags\":{\"eoka\":\"sfghy\",\"mny\":\"zuddccclsnflcxx\"},\"id\":\"k\",\"name\":\"gslkokqaqgz\",\"type\":\"ojgdqjhzf\"}],\"nextLink\":\"jgpjnydkkgbvsqks\"}") - .toObject(NetworkBootstrapDeviceListResult.class); - Assertions.assertEquals("osadjff", model.value().get(0).location()); - Assertions.assertEquals("sfghy", model.value().get(0).tags().get("eoka")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.value().get(0).identity().type()); - Assertions.assertEquals("ghgermmadkbxuips", model.value().get(0).annotation()); - Assertions.assertEquals("wxugpubeqkwxz", model.value().get(0).hostName()); - Assertions.assertEquals("zgueuygpbh", model.value().get(0).serialNumber()); - Assertions.assertEquals("nqwdjvlwqzxy", model.value().get(0).networkDeviceSku()); - Assertions.assertEquals("jgpjnydkkgbvsqks", model.nextLink()); - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchPropertiesTests.java index b88520ceb0f1c..a8a697d62f5b5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchPropertiesTests.java @@ -6,28 +6,32 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDevicePatchProperties; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; public final class NetworkBootstrapDevicePatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapDevicePatchProperties model = BinaryData.fromString( - "{\"annotation\":\"rzplhaljomg\",\"hostName\":\"rprraptvbjenylg\",\"serialNumber\":\"rsnvofuyzvbploa\"}") + "{\"annotation\":\"yvgjjpfyxhsppvj\",\"hostName\":\"uouoqtenq\",\"serialNumber\":\"muogeq\",\"controlPlaneAcls\":[\"aseqcppypfre\",\"wvzhndyvtoiqo\"]}") .toObject(NetworkBootstrapDevicePatchProperties.class); - Assertions.assertEquals("rzplhaljomg", model.annotation()); - Assertions.assertEquals("rprraptvbjenylg", model.hostName()); - Assertions.assertEquals("rsnvofuyzvbploa", model.serialNumber()); + Assertions.assertEquals("yvgjjpfyxhsppvj", model.annotation()); + Assertions.assertEquals("uouoqtenq", model.hostName()); + Assertions.assertEquals("muogeq", model.serialNumber()); + Assertions.assertEquals("aseqcppypfre", model.controlPlaneAcls().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkBootstrapDevicePatchProperties model - = new NetworkBootstrapDevicePatchProperties().withAnnotation("rzplhaljomg") - .withHostName("rprraptvbjenylg") - .withSerialNumber("rsnvofuyzvbploa"); + = new NetworkBootstrapDevicePatchProperties().withAnnotation("yvgjjpfyxhsppvj") + .withHostName("uouoqtenq") + .withSerialNumber("muogeq") + .withControlPlaneAcls(Arrays.asList("aseqcppypfre", "wvzhndyvtoiqo")); model = BinaryData.fromObject(model).toObject(NetworkBootstrapDevicePatchProperties.class); - Assertions.assertEquals("rzplhaljomg", model.annotation()); - Assertions.assertEquals("rprraptvbjenylg", model.hostName()); - Assertions.assertEquals("rsnvofuyzvbploa", model.serialNumber()); + Assertions.assertEquals("yvgjjpfyxhsppvj", model.annotation()); + Assertions.assertEquals("uouoqtenq", model.hostName()); + Assertions.assertEquals("muogeq", model.serialNumber()); + Assertions.assertEquals("aseqcppypfre", model.controlPlaneAcls().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchTests.java index d103257bdeefe..4cbddec2d6065 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePatchTests.java @@ -9,6 +9,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevicePatch; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; @@ -17,33 +18,36 @@ public final class NetworkBootstrapDevicePatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapDevicePatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"aalwid\",\"hostName\":\"bwedjrikzppgij\",\"serialNumber\":\"u\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"mgersdudh\":{\"principalId\":\"gaxpy\",\"clientId\":\"mccqdss\"},\"nozzfysffrpjfxs\":{\"principalId\":\"smnfgzmxtxfuhxy\",\"clientId\":\"fyzevcknglf\"},\"ykqrqtxqogr\":{\"principalId\":\"cdosyhhwpufrspre\",\"clientId\":\"lqcskxkte\"}}},\"tags\":{\"vmbdgexpnp\":\"mnacklyr\",\"api\":\"tqwfpjpsbcxqi\",\"wcgrzafqsozawq\":\"cjlfugnrz\",\"xdwtfmf\":\"nhlvagug\"}}") + "{\"properties\":{\"annotation\":\"ztkyqguauuihk\",\"hostName\":\"gkyncyzjndfeemxi\",\"serialNumber\":\"pfivypmwdza\",\"controlPlaneAcls\":[\"roxpp\"]},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"jnstz\":{\"principalId\":\"npdgglly\",\"clientId\":\"yufdmzucxvzvwlx\"},\"ymwzldpkih\":{\"principalId\":\"rdoxklr\",\"clientId\":\"tsiz\"}}},\"tags\":{\"zxevltfebq\":\"fubevwadxc\",\"if\":\"qiaklqakps\",\"ipzgfofuadcjqne\":\"ftwrphmr\",\"bargeeynqlsnrga\":\"qkgt\"}}") .toObject(NetworkBootstrapDevicePatch.class); - Assertions.assertEquals("mnacklyr", model.tags().get("vmbdgexpnp")); + Assertions.assertEquals("fubevwadxc", model.tags().get("zxevltfebq")); Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("aalwid", model.annotation()); - Assertions.assertEquals("bwedjrikzppgij", model.hostName()); - Assertions.assertEquals("u", model.serialNumber()); + Assertions.assertEquals("ztkyqguauuihk", model.annotation()); + Assertions.assertEquals("gkyncyzjndfeemxi", model.hostName()); + Assertions.assertEquals("pfivypmwdza", model.serialNumber()); + Assertions.assertEquals("roxpp", model.controlPlaneAcls().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkBootstrapDevicePatch model = new NetworkBootstrapDevicePatch() - .withTags(mapOf("vmbdgexpnp", "mnacklyr", "api", "tqwfpjpsbcxqi", "wcgrzafqsozawq", "cjlfugnrz", "xdwtfmf", - "nhlvagug")) + .withTags(mapOf("zxevltfebq", "fubevwadxc", "if", "qiaklqakps", "ipzgfofuadcjqne", "ftwrphmr", + "bargeeynqlsnrga", "qkgt")) .withIdentity( new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("mgersdudh", new UserAssignedIdentity(), "nozzfysffrpjfxs", - new UserAssignedIdentity(), "ykqrqtxqogr", new UserAssignedIdentity()))) - .withAnnotation("aalwid") - .withHostName("bwedjrikzppgij") - .withSerialNumber("u"); + .withUserAssignedIdentities( + mapOf("jnstz", new UserAssignedIdentity(), "ymwzldpkih", new UserAssignedIdentity()))) + .withAnnotation("ztkyqguauuihk") + .withHostName("gkyncyzjndfeemxi") + .withSerialNumber("pfivypmwdza") + .withControlPlaneAcls(Arrays.asList("roxpp")); model = BinaryData.fromObject(model).toObject(NetworkBootstrapDevicePatch.class); - Assertions.assertEquals("mnacklyr", model.tags().get("vmbdgexpnp")); + Assertions.assertEquals("fubevwadxc", model.tags().get("zxevltfebq")); Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("aalwid", model.annotation()); - Assertions.assertEquals("bwedjrikzppgij", model.hostName()); - Assertions.assertEquals("u", model.serialNumber()); + Assertions.assertEquals("ztkyqguauuihk", model.annotation()); + Assertions.assertEquals("gkyncyzjndfeemxi", model.hostName()); + Assertions.assertEquals("pfivypmwdza", model.serialNumber()); + Assertions.assertEquals("roxpp", model.controlPlaneAcls().get(0)); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePropertiesTests.java deleted file mode 100644 index a428afc791246..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicePropertiesTests.java +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.util.BinaryData; -import com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceProperties; -import org.junit.jupiter.api.Assertions; - -public final class NetworkBootstrapDevicePropertiesTests { - @org.junit.jupiter.api.Test - public void testDeserialize() throws Exception { - NetworkBootstrapDeviceProperties model = BinaryData.fromString( - "{\"annotation\":\"nkbfxq\",\"hostName\":\"pggeciradmx\",\"serialNumber\":\"butbbzcxzayvcsej\",\"version\":\"rodyi\",\"networkDeviceSku\":\"reddjtgopp\",\"networkFabricId\":\"seckgaxmha\",\"secondaryManagementIpv4Address\":\"jiet\",\"dhcpV4ServerIpAddress\":\"td\",\"primaryManagementIpv6Address\":\"dvzcnlk\",\"secondaryManagementIpv6Address\":\"rjtkreiso\",\"provisioningState\":\"Canceled\",\"primaryManagementIpv4Address\":\"wmgrbkobmg\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"PendingAdministrativeUpdate\"}") - .toObject(NetworkBootstrapDeviceProperties.class); - Assertions.assertEquals("nkbfxq", model.annotation()); - Assertions.assertEquals("pggeciradmx", model.hostName()); - Assertions.assertEquals("butbbzcxzayvcsej", model.serialNumber()); - Assertions.assertEquals("reddjtgopp", model.networkDeviceSku()); - } - - @org.junit.jupiter.api.Test - public void testSerialize() throws Exception { - NetworkBootstrapDeviceProperties model = new NetworkBootstrapDeviceProperties().withAnnotation("nkbfxq") - .withHostName("pggeciradmx") - .withSerialNumber("butbbzcxzayvcsej") - .withNetworkDeviceSku("reddjtgopp"); - model = BinaryData.fromObject(model).toObject(NetworkBootstrapDeviceProperties.class); - Assertions.assertEquals("nkbfxq", model.annotation()); - Assertions.assertEquals("pggeciradmx", model.hostName()); - Assertions.assertEquals("butbbzcxzayvcsej", model.serialNumber()); - Assertions.assertEquals("reddjtgopp", model.networkDeviceSku()); - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateMockTests.java deleted file mode 100644 index fd9a24f8d6dc3..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesCreateMockTests.java +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.credential.AccessToken; -import com.azure.core.http.HttpClient; -import com.azure.core.management.profile.AzureProfile; -import com.azure.core.models.AzureCloud; -import com.azure.core.test.http.MockHttpResponse; -import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; -import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity; -import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; -import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice; -import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; -import java.nio.charset.StandardCharsets; -import java.time.OffsetDateTime; -import java.util.HashMap; -import java.util.Map; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; - -public final class NetworkBootstrapDevicesCreateMockTests { - @Test - public void testCreate() throws Exception { - String responseStr - = "{\"properties\":{\"annotation\":\"yupaggkrum\",\"hostName\":\"nwyfyvhc\",\"serialNumber\":\"ipxhghicw\",\"version\":\"jdrvjktvpy\",\"networkDeviceSku\":\"ooytilsmise\",\"networkFabricId\":\"ljmmoquic\",\"secondaryManagementIpv4Address\":\"gluqac\",\"dhcpV4ServerIpAddress\":\"cnhzhsaum\",\"primaryManagementIpv6Address\":\"ruspflvglvwkgcp\",\"secondaryManagementIpv6Address\":\"nekbrqgwvxwqqmv\",\"provisioningState\":\"Succeeded\",\"primaryManagementIpv4Address\":\"fobtmljobguoy\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"PendingCommit\"},\"identity\":{\"principalId\":\"alcwheby\",\"tenantId\":\"wegt\",\"type\":\"None\",\"userAssignedIdentities\":{\"dgl\":{\"principalId\":\"zqxxvksqi\",\"clientId\":\"gmidvtu\"},\"pryhz\":{\"principalId\":\"megol\",\"clientId\":\"l\"},\"bqii\":{\"principalId\":\"xuizakejomjnlxjh\",\"clientId\":\"gnfqqlgqez\"},\"euxdvzomtzpukm\":{\"principalId\":\"oaceokr\",\"clientId\":\"zkzatznv\"}}},\"location\":\"slzbpnlfzq\",\"tags\":{\"j\":\"uotwzes\",\"ofzmvt\":\"cpcpeur\"},\"id\":\"yj\",\"name\":\"bjrptlty\",\"type\":\"bqhe\"}"; - - HttpClient httpClient - = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); - ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() - .withHttpClient(httpClient) - .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), - new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - - NetworkBootstrapDevice response = manager.networkBootstrapDevices() - .define("mbmbvccuikpaviu") - .withRegion("xogv") - .withExistingResourceGroup("wf") - .withTags(mapOf("wxuyikgmlplqgps", "xfchnhjsaq", "lvwtslzblgvezhim", "ynkkezkv")) - .withIdentity( - new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("qvbahiiatpdx", new UserAssignedIdentity()))) - .withAnnotation("izbjsuiouet") - .withHostName("crtmebrssrlxenqp") - .withSerialNumber("cl") - .withNetworkDeviceSku("ensogdvhqqxggnc") - .create(); - - Assertions.assertEquals("slzbpnlfzq", response.location()); - Assertions.assertEquals("uotwzes", response.tags().get("j")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); - Assertions.assertEquals("yupaggkrum", response.annotation()); - Assertions.assertEquals("nwyfyvhc", response.hostName()); - Assertions.assertEquals("ipxhghicw", response.serialNumber()); - Assertions.assertEquals("ooytilsmise", response.networkDeviceSku()); - } - - // 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; - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupWithResponseMockTests.java deleted file mode 100644 index c0199144d5cb7..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesGetByResourceGroupWithResponseMockTests.java +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.credential.AccessToken; -import com.azure.core.http.HttpClient; -import com.azure.core.management.profile.AzureProfile; -import com.azure.core.models.AzureCloud; -import com.azure.core.test.http.MockHttpResponse; -import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; -import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; -import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice; -import java.nio.charset.StandardCharsets; -import java.time.OffsetDateTime; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; - -public final class NetworkBootstrapDevicesGetByResourceGroupWithResponseMockTests { - @Test - public void testGetByResourceGroupWithResponse() throws Exception { - String responseStr - = "{\"properties\":{\"annotation\":\"asxiczvfxoihcq\",\"hostName\":\"xbksaf\",\"serialNumber\":\"cwyrtluujyesp\",\"version\":\"pszwvooxieyywwm\",\"networkDeviceSku\":\"iaqrcjfybktbvia\",\"networkFabricId\":\"zz\",\"secondaryManagementIpv4Address\":\"crwhrxoyvygdef\",\"dhcpV4ServerIpAddress\":\"jtww\",\"primaryManagementIpv6Address\":\"xrg\",\"secondaryManagementIpv6Address\":\"smravxtglpxmdw\",\"provisioningState\":\"Deleting\",\"primaryManagementIpv4Address\":\"cecmnqcgbi\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"Rejected\"},\"identity\":{\"principalId\":\"rkxzebvxuz\",\"tenantId\":\"egeogdkcrchw\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"kmkelbqmnrm\":{\"principalId\":\"adlpxirewhu\",\"clientId\":\"icimy\"},\"akgo\":{\"principalId\":\"fxkattpkkwldv\",\"clientId\":\"ig\"},\"bx\":{\"principalId\":\"bjooqobpnkvnuw\",\"clientId\":\"xbbxkhve\"},\"mtzzyjhyieyxrwfu\":{\"principalId\":\"glo\",\"clientId\":\"mlbhlimgz\"}}},\"location\":\"alvdhmumsmnubc\",\"tags\":{\"bfe\":\"pstypxidqnvh\"},\"id\":\"fwrintaaft\",\"name\":\"y\",\"type\":\"e\"}"; - - HttpClient httpClient - = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); - ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() - .withHttpClient(httpClient) - .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), - new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - - NetworkBootstrapDevice response = manager.networkBootstrapDevices() - .getByResourceGroupWithResponse("umerkgmg", "ynej", com.azure.core.util.Context.NONE) - .getValue(); - - Assertions.assertEquals("alvdhmumsmnubc", response.location()); - Assertions.assertEquals("pstypxidqnvh", response.tags().get("bfe")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("asxiczvfxoihcq", response.annotation()); - Assertions.assertEquals("xbksaf", response.hostName()); - Assertions.assertEquals("cwyrtluujyesp", response.serialNumber()); - Assertions.assertEquals("iaqrcjfybktbvia", response.networkDeviceSku()); - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupMockTests.java deleted file mode 100644 index 8d7cf1c216f46..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListByResourceGroupMockTests.java +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.credential.AccessToken; -import com.azure.core.http.HttpClient; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.management.profile.AzureProfile; -import com.azure.core.models.AzureCloud; -import com.azure.core.test.http.MockHttpResponse; -import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; -import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; -import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice; -import java.nio.charset.StandardCharsets; -import java.time.OffsetDateTime; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; - -public final class NetworkBootstrapDevicesListByResourceGroupMockTests { - @Test - public void testListByResourceGroup() throws Exception { - String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"sfuxhlgoexu\",\"hostName\":\"bfoo\",\"serialNumber\":\"txdlewh\",\"version\":\"vrip\",\"networkDeviceSku\":\"kwoommqvzz\",\"networkFabricId\":\"mw\",\"secondaryManagementIpv4Address\":\"pfh\",\"dhcpV4ServerIpAddress\":\"p\",\"primaryManagementIpv6Address\":\"ljajz\",\"secondaryManagementIpv6Address\":\"gwarbvblat\",\"provisioningState\":\"Deleting\",\"primaryManagementIpv4Address\":\"qytodgis\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"ErrorProvisioning\"},\"identity\":{\"principalId\":\"wi\",\"tenantId\":\"jynfjwktiy\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ops\":{\"principalId\":\"tvaodif\",\"clientId\":\"dafuft\"},\"aswgvo\":{\"principalId\":\"qhgnrxxhzwtrxpwu\",\"clientId\":\"gpdmvshgbju\"},\"dl\":{\"principalId\":\"utdthloafhhiyk\",\"clientId\":\"jsebcuyn\"}}},\"location\":\"tefdvjgbemrj\",\"tags\":{\"r\":\"quxpd\"},\"id\":\"ethyhbnoyexu\",\"name\":\"vdrzxobtek\",\"type\":\"giqoib\"}]}"; - - HttpClient httpClient - = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); - ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() - .withHttpClient(httpClient) - .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), - new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - - PagedIterable response - = manager.networkBootstrapDevices().listByResourceGroup("qppx", com.azure.core.util.Context.NONE); - - Assertions.assertEquals("tefdvjgbemrj", response.iterator().next().location()); - Assertions.assertEquals("quxpd", response.iterator().next().tags().get("r")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, - response.iterator().next().identity().type()); - Assertions.assertEquals("sfuxhlgoexu", response.iterator().next().annotation()); - Assertions.assertEquals("bfoo", response.iterator().next().hostName()); - Assertions.assertEquals("txdlewh", response.iterator().next().serialNumber()); - Assertions.assertEquals("kwoommqvzz", response.iterator().next().networkDeviceSku()); - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListMockTests.java deleted file mode 100644 index 4e85684d69a47..0000000000000 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapDevicesListMockTests.java +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.resourcemanager.managednetworkfabric.generated; - -import com.azure.core.credential.AccessToken; -import com.azure.core.http.HttpClient; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.management.profile.AzureProfile; -import com.azure.core.models.AzureCloud; -import com.azure.core.test.http.MockHttpResponse; -import com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager; -import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; -import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice; -import java.nio.charset.StandardCharsets; -import java.time.OffsetDateTime; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; - -public final class NetworkBootstrapDevicesListMockTests { - @Test - public void testList() throws Exception { - String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"umo\",\"hostName\":\"zxwmwrjmtpgkybdk\",\"serialNumber\":\"vramrqbeqzhnpxa\",\"version\":\"cnnyga\",\"networkDeviceSku\":\"mpfrgouwe\",\"networkFabricId\":\"dn\",\"secondaryManagementIpv4Address\":\"athvl\",\"dhcpV4ServerIpAddress\":\"rjakd\",\"primaryManagementIpv6Address\":\"xj\",\"secondaryManagementIpv6Address\":\"ykkwkmkkpbybhqwi\",\"provisioningState\":\"Canceled\",\"primaryManagementIpv4Address\":\"gahehkirbo\",\"administrativeState\":\"Disabled\",\"configurationState\":\"ErrorProvisioning\"},\"identity\":{\"principalId\":\"phbcurth\",\"tenantId\":\"gavwbqjeto\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"eqwxivjhmld\":{\"principalId\":\"vuymibfnqjc\",\"clientId\":\"u\"},\"fgbcwawblkkccixs\":{\"principalId\":\"oxjbhlt\",\"clientId\":\"pgqqinkktay\"},\"qzcbqvjejnwwqyy\":{\"principalId\":\"lxgsqhczokun\",\"clientId\":\"qhbjmvbeznluk\"}}},\"location\":\"t\",\"tags\":{\"tnuzorx\":\"hmrughmrybbh\",\"zjqpdfs\":\"t\"},\"id\":\"utvitislcfxsgjdi\",\"name\":\"emcghorrjaw\",\"type\":\"czbbvrmvhtmzwgi\"}]}"; - - HttpClient httpClient - = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); - ManagedNetworkFabricManager manager = ManagedNetworkFabricManager.configure() - .withHttpClient(httpClient) - .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), - new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - - PagedIterable response - = manager.networkBootstrapDevices().list(com.azure.core.util.Context.NONE); - - Assertions.assertEquals("t", response.iterator().next().location()); - Assertions.assertEquals("hmrughmrybbh", response.iterator().next().tags().get("tnuzorx")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals("umo", response.iterator().next().annotation()); - Assertions.assertEquals("zxwmwrjmtpgkybdk", response.iterator().next().hostName()); - Assertions.assertEquals("vramrqbeqzhnpxa", response.iterator().next().serialNumber()); - Assertions.assertEquals("mpfrgouwe", response.iterator().next().networkDeviceSku()); - } -} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceInnerTests.java index 288a2ced2bd01..afb0499189075 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceInnerTests.java @@ -12,21 +12,21 @@ public final class NetworkBootstrapInterfaceInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapInterfaceInner model = BinaryData.fromString( - "{\"properties\":{\"provisioningState\":\"Canceled\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"DeferredControl\",\"physicalIdentifier\":\"l\",\"connectedTo\":\"etr\",\"interfaceType\":\"Data\",\"description\":\"fsdswp\",\"additionalDescription\":\"loopz\",\"ipv4Address\":\"egchtabhacjlf\",\"ipv6Address\":\"cklvvwvpfq\",\"serialNumber\":\"vzhmlnfvyhdhff\",\"annotation\":\"dmhawbxnlkmazhle\"},\"id\":\"roksay\",\"name\":\"hfzzipyqt\",\"type\":\"dhbctkgmwxzl\"}") + "{\"properties\":{\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\",\"configurationState\":\"Provisioning\",\"physicalIdentifier\":\"kretsnyr\",\"connectedTo\":\"ulbyzzcxs\",\"interfaceType\":\"Data\",\"description\":\"y\",\"additionalDescription\":\"ck\",\"ipv4Address\":\"z\",\"ipv6Address\":\"xbmljrjyfjleuxix\",\"serialNumber\":\"sjldg\",\"operationalState\":\"Down\",\"annotation\":\"oacf\"},\"id\":\"xjz\",\"name\":\"qcsotwqtkpdc\",\"type\":\"efq\"}") .toObject(NetworkBootstrapInterfaceInner.class); - Assertions.assertEquals("loopz", model.additionalDescription()); - Assertions.assertEquals("vzhmlnfvyhdhff", model.serialNumber()); - Assertions.assertEquals("dmhawbxnlkmazhle", model.annotation()); + Assertions.assertEquals("ck", model.additionalDescription()); + Assertions.assertEquals("sjldg", model.serialNumber()); + Assertions.assertEquals("oacf", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkBootstrapInterfaceInner model = new NetworkBootstrapInterfaceInner().withAdditionalDescription("loopz") - .withSerialNumber("vzhmlnfvyhdhff") - .withAnnotation("dmhawbxnlkmazhle"); + NetworkBootstrapInterfaceInner model = new NetworkBootstrapInterfaceInner().withAdditionalDescription("ck") + .withSerialNumber("sjldg") + .withAnnotation("oacf"); model = BinaryData.fromObject(model).toObject(NetworkBootstrapInterfaceInner.class); - Assertions.assertEquals("loopz", model.additionalDescription()); - Assertions.assertEquals("vzhmlnfvyhdhff", model.serialNumber()); - Assertions.assertEquals("dmhawbxnlkmazhle", model.annotation()); + Assertions.assertEquals("ck", model.additionalDescription()); + Assertions.assertEquals("sjldg", model.serialNumber()); + Assertions.assertEquals("oacf", model.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceListResultTests.java index 2d4f60d0a13ec..a0b4a2c8b0c2b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfaceListResultTests.java @@ -12,11 +12,11 @@ public final class NetworkBootstrapInterfaceListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapInterfaceListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"ErrorDeprovisioning\",\"physicalIdentifier\":\"umaplpdz\",\"connectedTo\":\"ettnmiufpbfqml\",\"interfaceType\":\"Management\",\"description\":\"yekuwwdxzpegumyd\",\"additionalDescription\":\"rt\",\"ipv4Address\":\"zecgbxrcs\",\"ipv6Address\":\"qjdxiiqwqbvanvg\",\"serialNumber\":\"naaiitnkruy\",\"annotation\":\"xnksmae\"},\"id\":\"rxjsmrseauxeovb\",\"name\":\"rqwfuxntuegy\",\"type\":\"leketk\"},{\"properties\":{\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\",\"configurationState\":\"Deprovisioned\",\"physicalIdentifier\":\"fg\",\"connectedTo\":\"hbxgfhgkdms\",\"interfaceType\":\"Management\",\"description\":\"bupqov\",\"additionalDescription\":\"hvqihmqhqjdcbg\",\"ipv4Address\":\"mjtiljxagcalyqz\",\"ipv6Address\":\"axilzdxcmpdmd\",\"serialNumber\":\"pksfrhiehxjoupx\",\"annotation\":\"sbecxuvkba\"},\"id\":\"v\",\"name\":\"yhgpgjd\",\"type\":\"n\"},{\"properties\":{\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\",\"configurationState\":\"Provisioned\",\"physicalIdentifier\":\"kuofzw\",\"connectedTo\":\"tvucyackgkavpmgt\",\"interfaceType\":\"Data\",\"description\":\"fksixvw\",\"additionalDescription\":\"cesmurjabpnxo\",\"ipv4Address\":\"gcojgmyzjdgmqeh\",\"ipv6Address\":\"tg\",\"serialNumber\":\"pbnjiweyuig\",\"annotation\":\"sebkbfykgm\"},\"id\":\"rcxxjyxyunypf\",\"name\":\"vjgovbbn\",\"type\":\"jxr\"}],\"nextLink\":\"qgmztlrubn\"}") + "{\"value\":[{\"properties\":{\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\",\"configurationState\":\"PendingAdministrativeUpdate\",\"physicalIdentifier\":\"dxsuwlynxzhgbsp\",\"connectedTo\":\"bhjquxkzxqomzdf\",\"interfaceType\":\"Data\",\"description\":\"veidzwnkbjqpzmod\",\"additionalDescription\":\"qux\",\"ipv4Address\":\"cht\",\"ipv6Address\":\"apewz\",\"serialNumber\":\"lbxmynslcvynavwt\",\"operationalState\":\"Degraded\",\"annotation\":\"czroddc\"},\"id\":\"imodnbjmjx\",\"name\":\"hbuc\",\"type\":\"zkqtkfjackta\"},{\"properties\":{\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"Deprovisioning\",\"physicalIdentifier\":\"fyplavbvs\",\"connectedTo\":\"edsoqwe\",\"interfaceType\":\"Management\",\"description\":\"nzoteikffjqdfad\",\"additionalDescription\":\"wylavet\",\"ipv4Address\":\"vohy\",\"ipv6Address\":\"dgjtpbtkogfg\",\"serialNumber\":\"lyzolrvwsgseqj\",\"operationalState\":\"Up\",\"annotation\":\"xirmgiswr\"},\"id\":\"bpvsobamtarir\",\"name\":\"zd\",\"type\":\"vqoflzukeg\"},{\"properties\":{\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"Provisioned\",\"physicalIdentifier\":\"mzqsx\",\"connectedTo\":\"mnxrxkulytivviyq\",\"interfaceType\":\"Data\",\"description\":\"xyf\",\"additionalDescription\":\"b\",\"ipv4Address\":\"dywxjikfrxvlu\",\"ipv6Address\":\"dpnkzimqax\",\"serialNumber\":\"vmycvjpa\",\"operationalState\":\"Unknown\",\"annotation\":\"vvyjehy\"},\"id\":\"f\",\"name\":\"ngoqmr\",\"type\":\"v\"},{\"properties\":{\"provisioningState\":\"Canceled\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"PendingCommit\",\"physicalIdentifier\":\"xunwenbphyl\",\"connectedTo\":\"zgz\",\"interfaceType\":\"Management\",\"description\":\"usebkcfe\",\"additionalDescription\":\"punt\",\"ipv4Address\":\"masuiqrsnm\",\"ipv6Address\":\"ubqwxvsxrbiyzjl\",\"serialNumber\":\"wjbsycukb\",\"operationalState\":\"Up\",\"annotation\":\"t\"},\"id\":\"hvsgzpwqieyxjkc\",\"name\":\"yqs\",\"type\":\"tampq\"}],\"nextLink\":\"eftmub\"}") .toObject(NetworkBootstrapInterfaceListResult.class); - Assertions.assertEquals("rt", model.value().get(0).additionalDescription()); - Assertions.assertEquals("naaiitnkruy", model.value().get(0).serialNumber()); - Assertions.assertEquals("xnksmae", model.value().get(0).annotation()); - Assertions.assertEquals("qgmztlrubn", model.nextLink()); + Assertions.assertEquals("qux", model.value().get(0).additionalDescription()); + Assertions.assertEquals("lbxmynslcvynavwt", model.value().get(0).serialNumber()); + Assertions.assertEquals("czroddc", model.value().get(0).annotation()); + Assertions.assertEquals("eftmub", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchPropertiesTests.java index f35476cd9fb71..a940a1b8512c1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchPropertiesTests.java @@ -12,23 +12,22 @@ public final class NetworkBootstrapInterfacePatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapInterfacePatchProperties model = BinaryData - .fromString( - "{\"serialNumber\":\"gzx\",\"additionalDescription\":\"safvflyqauuohsk\",\"annotation\":\"ntxdvlqmn\"}") + .fromString("{\"serialNumber\":\"gc\",\"additionalDescription\":\"cyfrho\",\"annotation\":\"v\"}") .toObject(NetworkBootstrapInterfacePatchProperties.class); - Assertions.assertEquals("ntxdvlqmn", model.annotation()); - Assertions.assertEquals("gzx", model.serialNumber()); - Assertions.assertEquals("safvflyqauuohsk", model.additionalDescription()); + Assertions.assertEquals("v", model.annotation()); + Assertions.assertEquals("gc", model.serialNumber()); + Assertions.assertEquals("cyfrho", model.additionalDescription()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkBootstrapInterfacePatchProperties model - = new NetworkBootstrapInterfacePatchProperties().withAnnotation("ntxdvlqmn") - .withSerialNumber("gzx") - .withAdditionalDescription("safvflyqauuohsk"); + = new NetworkBootstrapInterfacePatchProperties().withAnnotation("v") + .withSerialNumber("gc") + .withAdditionalDescription("cyfrho"); model = BinaryData.fromObject(model).toObject(NetworkBootstrapInterfacePatchProperties.class); - Assertions.assertEquals("ntxdvlqmn", model.annotation()); - Assertions.assertEquals("gzx", model.serialNumber()); - Assertions.assertEquals("safvflyqauuohsk", model.additionalDescription()); + Assertions.assertEquals("v", model.annotation()); + Assertions.assertEquals("gc", model.serialNumber()); + Assertions.assertEquals("cyfrho", model.additionalDescription()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchTests.java index f0821a3ee30b4..4cf4d00031197 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePatchTests.java @@ -12,21 +12,21 @@ public final class NetworkBootstrapInterfacePatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapInterfacePatch model = BinaryData.fromString( - "{\"properties\":{\"serialNumber\":\"ypl\",\"additionalDescription\":\"vrjselauzrpe\",\"annotation\":\"eb\"}}") + "{\"properties\":{\"serialNumber\":\"c\",\"additionalDescription\":\"kbqfzbvttqjntvhn\",\"annotation\":\"bhj\"}}") .toObject(NetworkBootstrapInterfacePatch.class); - Assertions.assertEquals("ypl", model.serialNumber()); - Assertions.assertEquals("vrjselauzrpe", model.additionalDescription()); - Assertions.assertEquals("eb", model.annotation()); + Assertions.assertEquals("c", model.serialNumber()); + Assertions.assertEquals("kbqfzbvttqjntvhn", model.additionalDescription()); + Assertions.assertEquals("bhj", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkBootstrapInterfacePatch model = new NetworkBootstrapInterfacePatch().withSerialNumber("ypl") - .withAdditionalDescription("vrjselauzrpe") - .withAnnotation("eb"); + NetworkBootstrapInterfacePatch model = new NetworkBootstrapInterfacePatch().withSerialNumber("c") + .withAdditionalDescription("kbqfzbvttqjntvhn") + .withAnnotation("bhj"); model = BinaryData.fromObject(model).toObject(NetworkBootstrapInterfacePatch.class); - Assertions.assertEquals("ypl", model.serialNumber()); - Assertions.assertEquals("vrjselauzrpe", model.additionalDescription()); - Assertions.assertEquals("eb", model.annotation()); + Assertions.assertEquals("c", model.serialNumber()); + Assertions.assertEquals("kbqfzbvttqjntvhn", model.additionalDescription()); + Assertions.assertEquals("bhj", model.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePropertiesTests.java index 12fb8dfa3daa0..7b923074d592c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacePropertiesTests.java @@ -12,22 +12,21 @@ public final class NetworkBootstrapInterfacePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkBootstrapInterfaceProperties model = BinaryData.fromString( - "{\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"Provisioning\",\"physicalIdentifier\":\"xbejhxopehely\",\"connectedTo\":\"khdapxdiibjjwuek\",\"interfaceType\":\"Management\",\"description\":\"hxhuhhnrmmfzfkh\",\"additionalDescription\":\"zjf\",\"ipv4Address\":\"jhtvbskgciedlqv\",\"ipv6Address\":\"trlsmsr\",\"serialNumber\":\"fgb\",\"annotation\":\"gchjtpszcawf\"}") + "{\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\",\"configurationState\":\"PendingAdministrativeUpdate\",\"physicalIdentifier\":\"ddaxaogs\",\"connectedTo\":\"cmmmbipysehyybo\",\"interfaceType\":\"Management\",\"description\":\"vmkkbpg\",\"additionalDescription\":\"wd\",\"ipv4Address\":\"hdtiemb\",\"ipv6Address\":\"qwvcwce\",\"serialNumber\":\"rtrgpdlbtbxhyfwj\",\"operationalState\":\"Down\",\"annotation\":\"uzrl\"}") .toObject(NetworkBootstrapInterfaceProperties.class); - Assertions.assertEquals("gchjtpszcawf", model.annotation()); - Assertions.assertEquals("zjf", model.additionalDescription()); - Assertions.assertEquals("fgb", model.serialNumber()); + Assertions.assertEquals("uzrl", model.annotation()); + Assertions.assertEquals("wd", model.additionalDescription()); + Assertions.assertEquals("rtrgpdlbtbxhyfwj", model.serialNumber()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkBootstrapInterfaceProperties model - = new NetworkBootstrapInterfaceProperties().withAnnotation("gchjtpszcawf") - .withAdditionalDescription("zjf") - .withSerialNumber("fgb"); + NetworkBootstrapInterfaceProperties model = new NetworkBootstrapInterfaceProperties().withAnnotation("uzrl") + .withAdditionalDescription("wd") + .withSerialNumber("rtrgpdlbtbxhyfwj"); model = BinaryData.fromObject(model).toObject(NetworkBootstrapInterfaceProperties.class); - Assertions.assertEquals("gchjtpszcawf", model.annotation()); - Assertions.assertEquals("zjf", model.additionalDescription()); - Assertions.assertEquals("fgb", model.serialNumber()); + Assertions.assertEquals("uzrl", model.annotation()); + Assertions.assertEquals("wd", model.additionalDescription()); + Assertions.assertEquals("rtrgpdlbtbxhyfwj", model.serialNumber()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateMockTests.java index fac38b0269db5..0d02050d98332 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesCreateMockTests.java @@ -21,7 +21,7 @@ public final class NetworkBootstrapInterfacesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\",\"configurationState\":\"Provisioned\",\"physicalIdentifier\":\"kbchnhexmg\",\"connectedTo\":\"lufojue\",\"interfaceType\":\"Data\",\"description\":\"hgfwyzvnsna\",\"additionalDescription\":\"obcuy\",\"ipv4Address\":\"ltdgxiq\",\"ipv6Address\":\"rrxjfxueqyj\",\"serialNumber\":\"oytgnycnk\",\"annotation\":\"ipnzgnybuglala\"},\"id\":\"nc\",\"name\":\"hzqnhxksc\",\"type\":\"ykrzrjjernjkgalo\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\",\"configurationState\":\"CommitStaged\",\"physicalIdentifier\":\"vlfkwdtsbjmchs\",\"connectedTo\":\"ezjyfaqdwfa\",\"interfaceType\":\"Data\",\"description\":\"etslxerhwlvh\",\"additionalDescription\":\"xxgeladqziljrsyc\",\"ipv4Address\":\"nsznjs\",\"ipv6Address\":\"jjupukhxpixuyy\",\"serialNumber\":\"onfxsfjedjnxic\",\"operationalState\":\"Degraded\",\"annotation\":\"cytedspkduhzt\"},\"id\":\"gcfltte\",\"name\":\"qpjcuuyttuindp\",\"type\":\"rijncaqgts\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,15 +31,15 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkBootstrapInterface response = manager.networkBootstrapInterfaces() - .define("gvh") - .withExistingNetworkBootstrapDevice("szuhuojjbkyd", "s") - .withAdditionalDescription("gchtaeacbqkx") - .withSerialNumber("fx") - .withAnnotation("vav") + .define("ofzmvt") + .withExistingNetworkBootstrapDevice("j", "cpcpeur") + .withAdditionalDescription("qfmeeuuur") + .withSerialNumber("ev") + .withAnnotation("jhvg") .create(); - Assertions.assertEquals("obcuy", response.additionalDescription()); - Assertions.assertEquals("oytgnycnk", response.serialNumber()); - Assertions.assertEquals("ipnzgnybuglala", response.annotation()); + Assertions.assertEquals("xxgeladqziljrsyc", response.additionalDescription()); + Assertions.assertEquals("onfxsfjedjnxic", response.serialNumber()); + Assertions.assertEquals("cytedspkduhzt", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetWithResponseMockTests.java index 3d35638be8375..07abc1692af97 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesGetWithResponseMockTests.java @@ -21,7 +21,7 @@ public final class NetworkBootstrapInterfacesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\",\"configurationState\":\"DeferredControl\",\"physicalIdentifier\":\"vqmtejhvggy\",\"connectedTo\":\"rqkskyyamm\",\"interfaceType\":\"Management\",\"description\":\"yiw\",\"additionalDescription\":\"wqjbrrxmlmib\",\"ipv4Address\":\"zdjkonlvl\",\"ipv6Address\":\"wdtsbjmchs\",\"serialNumber\":\"ezjyfaqdwfa\",\"annotation\":\"zdetslxerhw\"},\"id\":\"halxxgeladqzilj\",\"name\":\"sycujnsznjskwjju\",\"type\":\"ukhx\"}"; + = "{\"properties\":{\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\",\"configurationState\":\"Failed\",\"physicalIdentifier\":\"ogvpsmx\",\"connectedTo\":\"hnhjsaqpwxuyikg\",\"interfaceType\":\"Data\",\"description\":\"qg\",\"additionalDescription\":\"kynkkezkvnlvwts\",\"ipv4Address\":\"blgvezhi\",\"ipv6Address\":\"iyqwlxkyoysyutnr\",\"serialNumber\":\"zkovtjnmcaprxh\",\"operationalState\":\"Down\",\"annotation\":\"blwayupaggkrum\"},\"id\":\"nwyfyvhc\",\"name\":\"oipx\",\"type\":\"ghicwvhjdrvjktv\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,11 +31,11 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkBootstrapInterface response = manager.networkBootstrapInterfaces() - .getWithResponse("h", "wjlbygqfmeeuuurx", "slxzwvygquiwcfq", com.azure.core.util.Context.NONE) + .getWithResponse("ufuhbdm", "fdrxy", "jjqctqvbahii", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("wqjbrrxmlmib", response.additionalDescription()); - Assertions.assertEquals("ezjyfaqdwfa", response.serialNumber()); - Assertions.assertEquals("zdetslxerhw", response.annotation()); + Assertions.assertEquals("kynkkezkvnlvwts", response.additionalDescription()); + Assertions.assertEquals("zkovtjnmcaprxh", response.serialNumber()); + Assertions.assertEquals("blwayupaggkrum", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceMockTests.java index 83c57b821c802..f42f3646157ea 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkBootstrapInterfacesListByNetworkBootstrapDeviceMockTests.java @@ -22,7 +22,7 @@ public final class NetworkBootstrapInterfacesListByNetworkBootstrapDeviceMockTes @Test public void testListByNetworkBootstrapDevice() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\",\"administrativeState\":\"RMA\",\"configurationState\":\"PendingCommit\",\"physicalIdentifier\":\"dsp\",\"connectedTo\":\"uhztvbgcflttes\",\"interfaceType\":\"Data\",\"description\":\"uuyttuindp\",\"additionalDescription\":\"ijncaqgtsbahtlop\",\"ipv4Address\":\"sbjzrnj\",\"ipv6Address\":\"gagmgullnashn\",\"serialNumber\":\"rmabbetzcdbqzw\",\"annotation\":\"akbvaqguaub\"},\"id\":\"wpllojdccd\",\"name\":\"ewtddigmmjve\",\"type\":\"jrcrbkw\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"PendingAdministrativeUpdate\",\"physicalIdentifier\":\"luqacebcn\",\"connectedTo\":\"hsaumju\",\"interfaceType\":\"Management\",\"description\":\"flvglvwkgcpfznek\",\"additionalDescription\":\"qgwvxwqqmv\",\"ipv4Address\":\"bmfobtmljobguo\",\"ipv6Address\":\"wnygbralcw\",\"serialNumber\":\"byczwegtzdp\",\"operationalState\":\"Down\",\"annotation\":\"xxvksqifr\"},\"id\":\"idvtur\",\"name\":\"gl\",\"type\":\"cmegoll\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,10 +32,10 @@ public void testListByNetworkBootstrapDevice() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.networkBootstrapInterfaces() - .listByNetworkBootstrapDevice("ixuy", "qsonfxsfjedjnxic", com.azure.core.util.Context.NONE); + .listByNetworkBootstrapDevice("yanooytilsmisewq", "jmm", com.azure.core.util.Context.NONE); - Assertions.assertEquals("ijncaqgtsbahtlop", response.iterator().next().additionalDescription()); - Assertions.assertEquals("rmabbetzcdbqzw", response.iterator().next().serialNumber()); - Assertions.assertEquals("akbvaqguaub", response.iterator().next().annotation()); + Assertions.assertEquals("qgwvxwqqmv", response.iterator().next().additionalDescription()); + Assertions.assertEquals("byczwegtzdp", response.iterator().next().serialNumber()); + Assertions.assertEquals("xxvksqifr", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersPropertiesTests.java index 98f7b4c4a4365..be954a822998f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersPropertiesTests.java @@ -14,31 +14,30 @@ public final class NetworkDevicePatchParametersPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDevicePatchParametersProperties model = BinaryData.fromString( - "{\"annotation\":\"bpjbapm\",\"hostName\":\"mmkvav\",\"serialNumber\":\"gjiuaiqpmnufzhrc\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"zdmh\"}}") + "{\"annotation\":\"n\",\"hostName\":\"dtjva\",\"serialNumber\":\"yznm\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"gcvucgy\"}}") .toObject(NetworkDevicePatchParametersProperties.class); - Assertions.assertEquals("bpjbapm", model.annotation()); - Assertions.assertEquals("mmkvav", model.hostname()); - Assertions.assertEquals("gjiuaiqpmnufzhrc", model.serialNumber()); + Assertions.assertEquals("n", model.annotation()); + Assertions.assertEquals("dtjva", model.hostname()); + Assertions.assertEquals("yznm", model.serialNumber()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("zdmh", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("gcvucgy", model.identitySelector().userAssignedIdentityResourceId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkDevicePatchParametersProperties model - = new NetworkDevicePatchParametersProperties().withAnnotation("bpjbapm") - .withHostname("mmkvav") - .withSerialNumber("gjiuaiqpmnufzhrc") - .withIdentitySelector(new IdentitySelectorPatch() - .withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("zdmh")); + NetworkDevicePatchParametersProperties model = new NetworkDevicePatchParametersProperties().withAnnotation("n") + .withHostname("dtjva") + .withSerialNumber("yznm") + .withIdentitySelector(new IdentitySelectorPatch() + .withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("gcvucgy")); model = BinaryData.fromObject(model).toObject(NetworkDevicePatchParametersProperties.class); - Assertions.assertEquals("bpjbapm", model.annotation()); - Assertions.assertEquals("mmkvav", model.hostname()); - Assertions.assertEquals("gjiuaiqpmnufzhrc", model.serialNumber()); + Assertions.assertEquals("n", model.annotation()); + Assertions.assertEquals("dtjva", model.hostname()); + Assertions.assertEquals("yznm", model.serialNumber()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("zdmh", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("gcvucgy", model.identitySelector().userAssignedIdentityResourceId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersTests.java index 98a750ce60471..5f352dd0fb2a7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDevicePatchParametersTests.java @@ -19,38 +19,41 @@ public final class NetworkDevicePatchParametersTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDevicePatchParameters model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"sanmameu\",\"hostName\":\"qiqmlfvhlq\",\"serialNumber\":\"kkqjmxptueipuug\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"mrpahuuonj\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"j\":{\"principalId\":\"e\",\"clientId\":\"vpxjoegcj\"}}},\"tags\":{\"htmep\":\"uidpmtonvhg\"}}") + "{\"properties\":{\"annotation\":\"hrfgslglhpryjfz\",\"hostName\":\"uioaeocpaj\",\"serialNumber\":\"eyvk\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"krhd\"}},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"deg\":{\"principalId\":\"qutkzwtjwwguzy\",\"clientId\":\"jcxfno\"},\"hpowcnxtpzdl\":{\"principalId\":\"ydh\",\"clientId\":\"kkbjuckcatuq\"},\"qfdpf\":{\"principalId\":\"eidtoakatp\",\"clientId\":\"tgrhz\"},\"jf\":{\"principalId\":\"rptvcshtkutzcttb\",\"clientId\":\"dirdammtzjgc\"}}},\"tags\":{\"dgfttmd\":\"wjjirmu\",\"dwxmda\":\"fgeoagfuoftnx\",\"stgfczl\":\"wiygmgsevmdmzenl\"}}") .toObject(NetworkDevicePatchParameters.class); - Assertions.assertEquals("uidpmtonvhg", model.tags().get("htmep")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("sanmameu", model.annotation()); - Assertions.assertEquals("qiqmlfvhlq", model.hostname()); - Assertions.assertEquals("kkqjmxptueipuug", model.serialNumber()); + Assertions.assertEquals("wjjirmu", model.tags().get("dgfttmd")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("hrfgslglhpryjfz", model.annotation()); + Assertions.assertEquals("uioaeocpaj", model.hostname()); + Assertions.assertEquals("eyvk", model.serialNumber()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("mrpahuuonj", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("krhd", model.identitySelector().userAssignedIdentityResourceId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkDevicePatchParameters model = new NetworkDevicePatchParameters().withTags(mapOf("htmep", "uidpmtonvhg")) - .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("j", new UserAssignedIdentity()))) - .withAnnotation("sanmameu") - .withHostname("qiqmlfvhlq") - .withSerialNumber("kkqjmxptueipuug") + NetworkDevicePatchParameters model = new NetworkDevicePatchParameters() + .withTags(mapOf("dgfttmd", "wjjirmu", "dwxmda", "fgeoagfuoftnx", "stgfczl", "wiygmgsevmdmzenl")) + .withIdentity(new ManagedServiceIdentityPatch() + .withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("deg", new UserAssignedIdentity(), "hpowcnxtpzdl", + new UserAssignedIdentity(), "qfdpf", new UserAssignedIdentity(), "jf", new UserAssignedIdentity()))) + .withAnnotation("hrfgslglhpryjfz") + .withHostname("uioaeocpaj") + .withSerialNumber("eyvk") .withIdentitySelector(new IdentitySelectorPatch() .withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("mrpahuuonj")); + .withUserAssignedIdentityResourceId("krhd")); model = BinaryData.fromObject(model).toObject(NetworkDevicePatchParameters.class); - Assertions.assertEquals("uidpmtonvhg", model.tags().get("htmep")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("sanmameu", model.annotation()); - Assertions.assertEquals("qiqmlfvhlq", model.hostname()); - Assertions.assertEquals("kkqjmxptueipuug", model.serialNumber()); + Assertions.assertEquals("wjjirmu", model.tags().get("dgfttmd")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("hrfgslglhpryjfz", model.annotation()); + Assertions.assertEquals("uioaeocpaj", model.hostname()); + Assertions.assertEquals("eyvk", model.serialNumber()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("mrpahuuonj", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("krhd", model.identitySelector().userAssignedIdentityResourceId()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceRwCommandResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceRwCommandResponsePropertiesTests.java index 5e84ff1829a91..ee31cb1b3da46 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceRwCommandResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceRwCommandResponsePropertiesTests.java @@ -12,8 +12,8 @@ public final class NetworkDeviceRwCommandResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDeviceRwCommandResponseProperties model - = BinaryData.fromString("{\"configurationState\":\"Provisioning\",\"outputUrl\":\"niuarlcjiwgsxfai\"}") + = BinaryData.fromString("{\"configurationState\":\"DeferredControl\",\"outputUrl\":\"tqqykbkkteozejog\"}") .toObject(NetworkDeviceRwCommandResponseProperties.class); - Assertions.assertEquals("niuarlcjiwgsxfai", model.outputUrl()); + Assertions.assertEquals("tqqykbkkteozejog", model.outputUrl()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuInnerTests.java index 076fce2efd98c..17a6aca960181 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuInnerTests.java @@ -14,19 +14,19 @@ public final class NetworkDeviceSkuInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDeviceSkuInner model = BinaryData.fromString( - "{\"properties\":{\"model\":\"yms\",\"manufacturer\":\"yljurkeposehqqyl\",\"supportedVersions\":[{\"version\":\"wjwdsdlzmkxer\",\"vendorOsVersion\":\"xoteehkhowg\",\"vendorFirmwareVersion\":\"vvh\",\"isDefault\":\"False\"},{\"version\":\"c\",\"vendorOsVersion\":\"pnp\",\"vendorFirmwareVersion\":\"aqawbmpspfeylql\",\"isDefault\":\"True\"},{\"version\":\"ujexayglxrk\",\"vendorOsVersion\":\"nmzpas\",\"vendorFirmwareVersion\":\"vxjfiuofpieidzlv\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"ToR\",\"ToR\",\"NPB\",\"TS\"],\"interfaces\":[{\"identifier\":\"hydv\",\"interfaceType\":\"mfngpmillxgjsci\",\"supportedConnectorTypes\":[{\"connectorType\":\"oriobijei\",\"maxSpeedInMbps\":551907026},{\"connectorType\":\"uynhbokayrgwybr\",\"maxSpeedInMbps\":1640567268},{\"connectorType\":\"weoftnorw\",\"maxSpeedInMbps\":1288696361}]},{\"identifier\":\"ioctqk\",\"interfaceType\":\"ja\",\"supportedConnectorTypes\":[{\"connectorType\":\"fffhtjnwos\",\"maxSpeedInMbps\":1063401210}]},{\"identifier\":\"xt\",\"interfaceType\":\"xx\",\"supportedConnectorTypes\":[{\"connectorType\":\"wrr\",\"maxSpeedInMbps\":1916586648},{\"connectorType\":\"eezwyh\",\"maxSpeedInMbps\":1081801760}]}],\"provisioningState\":\"Succeeded\"},\"id\":\"egmxdbsohc\",\"name\":\"hpyvdkgdet\",\"type\":\"z\"}") + "{\"properties\":{\"model\":\"ufqizjvppw\",\"manufacturer\":\"a\",\"supportedVersions\":[{\"version\":\"jmjjxi\",\"vendorOsVersion\":\"pxhn\",\"vendorFirmwareVersion\":\"slekc\",\"isDefault\":\"True\"},{\"version\":\"kj\",\"vendorOsVersion\":\"qpdwad\",\"vendorFirmwareVersion\":\"hz\",\"isDefault\":\"True\"},{\"version\":\"vczdjiahuqymjzu\",\"vendorOsVersion\":\"wmejjqhd\",\"vendorFirmwareVersion\":\"vmqxi\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"Management\",\"NPB\",\"Management\",\"Management\"],\"interfaces\":[{\"identifier\":\"x\",\"interfaceType\":\"pfqpgaixw\",\"supportedConnectorTypes\":[{\"connectorType\":\"kderf\",\"maxSpeedInMbps\":1554021417},{\"connectorType\":\"ikwepwogggicw\",\"maxSpeedInMbps\":1352786731},{\"connectorType\":\"fmcqb\",\"maxSpeedInMbps\":170506220},{\"connectorType\":\"pgchzpgfqum\",\"maxSpeedInMbps\":2008714663}]},{\"identifier\":\"hzghgod\",\"interfaceType\":\"nrceqavfdbdfmmx\",\"supportedConnectorTypes\":[{\"connectorType\":\"juopjyyqm\",\"maxSpeedInMbps\":1582360616}]}],\"provisioningState\":\"Deleting\"},\"id\":\"wl\",\"name\":\"q\",\"type\":\"ejkluxxr\"}") .toObject(NetworkDeviceSkuInner.class); - Assertions.assertEquals("yms", model.model()); - Assertions.assertEquals("yljurkeposehqqyl", model.manufacturer()); - Assertions.assertEquals("wjwdsdlzmkxer", model.supportedVersions().get(0).version()); - Assertions.assertEquals("xoteehkhowg", model.supportedVersions().get(0).vendorOsVersion()); - Assertions.assertEquals("vvh", model.supportedVersions().get(0).vendorFirmwareVersion()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.supportedVersions().get(0).isDefault()); - Assertions.assertEquals(NetworkDeviceRoleName.TOR, model.supportedRoleTypes().get(0)); - Assertions.assertEquals("hydv", model.interfaces().get(0).identifier()); - Assertions.assertEquals("mfngpmillxgjsci", model.interfaces().get(0).interfaceType()); - Assertions.assertEquals("oriobijei", - model.interfaces().get(0).supportedConnectorTypes().get(0).connectorType()); - Assertions.assertEquals(551907026, model.interfaces().get(0).supportedConnectorTypes().get(0).maxSpeedInMbps()); + Assertions.assertEquals("ufqizjvppw", model.model()); + Assertions.assertEquals("a", model.manufacturer()); + Assertions.assertEquals("jmjjxi", model.supportedVersions().get(0).version()); + Assertions.assertEquals("pxhn", model.supportedVersions().get(0).vendorOsVersion()); + Assertions.assertEquals("slekc", model.supportedVersions().get(0).vendorFirmwareVersion()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.supportedVersions().get(0).isDefault()); + Assertions.assertEquals(NetworkDeviceRoleName.MANAGEMENT, model.supportedRoleTypes().get(0)); + Assertions.assertEquals("x", model.interfaces().get(0).identifier()); + Assertions.assertEquals("pfqpgaixw", model.interfaces().get(0).interfaceType()); + Assertions.assertEquals("kderf", model.interfaces().get(0).supportedConnectorTypes().get(0).connectorType()); + Assertions.assertEquals(1554021417, + model.interfaces().get(0).supportedConnectorTypes().get(0).maxSpeedInMbps()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuPropertiesTests.java index 3d54c497cadf8..a237c8caf56ff 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkuPropertiesTests.java @@ -14,18 +14,20 @@ public final class NetworkDeviceSkuPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDeviceSkuProperties model = BinaryData.fromString( - "{\"model\":\"canzb\",\"manufacturer\":\"kwuyck\",\"supportedVersions\":[{\"version\":\"nsm\",\"vendorOsVersion\":\"fiwjbctvbp\",\"vendorFirmwareVersion\":\"jqjtotd\",\"isDefault\":\"True\"},{\"version\":\"cslhwuusi\",\"vendorOsVersion\":\"ktybh\",\"vendorFirmwareVersion\":\"xidhhxomil\",\"isDefault\":\"True\"},{\"version\":\"x\",\"vendorOsVersion\":\"gxwjwil\",\"vendorFirmwareVersion\":\"rslaatep\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"NPB\"],\"interfaces\":[{\"identifier\":\"gqwlxrhg\",\"interfaceType\":\"hvtqqykbkk\",\"supportedConnectorTypes\":[{\"connectorType\":\"ejogmkor\",\"maxSpeedInMbps\":193703110},{\"connectorType\":\"mcofn\",\"maxSpeedInMbps\":548887082}]},{\"identifier\":\"snosnqliwkmzojf\",\"interfaceType\":\"yalhtgm\",\"supportedConnectorTypes\":[{\"connectorType\":\"gbjbhrp\",\"maxSpeedInMbps\":431420929}]},{\"identifier\":\"ttcucrcm\",\"interfaceType\":\"ixpqj\",\"supportedConnectorTypes\":[{\"connectorType\":\"hbksldttohqclnai\",\"maxSpeedInMbps\":336436219}]},{\"identifier\":\"iqikvllr\",\"interfaceType\":\"p\",\"supportedConnectorTypes\":[{\"connectorType\":\"k\",\"maxSpeedInMbps\":370422484},{\"connectorType\":\"trawrqkza\",\"maxSpeedInMbps\":505721663}]}],\"provisioningState\":\"Canceled\"}") + "{\"model\":\"zobuzmsxgamtdtk\",\"manufacturer\":\"pt\",\"supportedVersions\":[{\"version\":\"pr\",\"vendorOsVersion\":\"mrljdpoqfxye\",\"vendorFirmwareVersion\":\"kftbaewhte\",\"isDefault\":\"False\"},{\"version\":\"mfmxtllflty\",\"vendorOsVersion\":\"cn\",\"vendorFirmwareVersion\":\"fijhgga\",\"isDefault\":\"False\"},{\"version\":\"amklilirwdv\",\"vendorOsVersion\":\"hsdp\",\"vendorFirmwareVersion\":\"uhktq\",\"isDefault\":\"False\"},{\"version\":\"qnjxrdfddtul\",\"vendorOsVersion\":\"gtavczcxdfwea\",\"vendorFirmwareVersion\":\"fmlxrljphr\",\"isDefault\":\"False\"}],\"supportedRoleTypes\":[\"TS\",\"CE\",\"CE\"],\"interfaces\":[{\"identifier\":\"lmdbgic\",\"interfaceType\":\"fgsmdrjuqb\",\"supportedConnectorTypes\":[{\"connectorType\":\"kljmtznpaxwfq\",\"maxSpeedInMbps\":2011720876},{\"connectorType\":\"iprclt\",\"maxSpeedInMbps\":1610316502},{\"connectorType\":\"s\",\"maxSpeedInMbps\":713599039},{\"connectorType\":\"kmii\",\"maxSpeedInMbps\":101210406}]},{\"identifier\":\"uck\",\"interfaceType\":\"dsk\",\"supportedConnectorTypes\":[{\"connectorType\":\"iqqcq\",\"maxSpeedInMbps\":1564405721},{\"connectorType\":\"smalns\",\"maxSpeedInMbps\":1369091717},{\"connectorType\":\"kdnonaaxwmgzru\",\"maxSpeedInMbps\":1839915087},{\"connectorType\":\"wnyn\",\"maxSpeedInMbps\":1015199638}]},{\"identifier\":\"q\",\"interfaceType\":\"bgvsbtsertoxadh\",\"supportedConnectorTypes\":[{\"connectorType\":\"hxmnrq\",\"maxSpeedInMbps\":704029807},{\"connectorType\":\"metwml\",\"maxSpeedInMbps\":1208851869},{\"connectorType\":\"npvvdhgjnaqy\",\"maxSpeedInMbps\":27680009}]}],\"provisioningState\":\"Accepted\"}") .toObject(NetworkDeviceSkuProperties.class); - Assertions.assertEquals("canzb", model.model()); - Assertions.assertEquals("kwuyck", model.manufacturer()); - Assertions.assertEquals("nsm", model.supportedVersions().get(0).version()); - Assertions.assertEquals("fiwjbctvbp", model.supportedVersions().get(0).vendorOsVersion()); - Assertions.assertEquals("jqjtotd", model.supportedVersions().get(0).vendorFirmwareVersion()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.supportedVersions().get(0).isDefault()); - Assertions.assertEquals(NetworkDeviceRoleName.NPB, model.supportedRoleTypes().get(0)); - Assertions.assertEquals("gqwlxrhg", model.interfaces().get(0).identifier()); - Assertions.assertEquals("hvtqqykbkk", model.interfaces().get(0).interfaceType()); - Assertions.assertEquals("ejogmkor", model.interfaces().get(0).supportedConnectorTypes().get(0).connectorType()); - Assertions.assertEquals(193703110, model.interfaces().get(0).supportedConnectorTypes().get(0).maxSpeedInMbps()); + Assertions.assertEquals("zobuzmsxgamtdtk", model.model()); + Assertions.assertEquals("pt", model.manufacturer()); + Assertions.assertEquals("pr", model.supportedVersions().get(0).version()); + Assertions.assertEquals("mrljdpoqfxye", model.supportedVersions().get(0).vendorOsVersion()); + Assertions.assertEquals("kftbaewhte", model.supportedVersions().get(0).vendorFirmwareVersion()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.supportedVersions().get(0).isDefault()); + Assertions.assertEquals(NetworkDeviceRoleName.TS, model.supportedRoleTypes().get(0)); + Assertions.assertEquals("lmdbgic", model.interfaces().get(0).identifier()); + Assertions.assertEquals("fgsmdrjuqb", model.interfaces().get(0).interfaceType()); + Assertions.assertEquals("kljmtznpaxwfq", + model.interfaces().get(0).supportedConnectorTypes().get(0).connectorType()); + Assertions.assertEquals(2011720876, + model.interfaces().get(0).supportedConnectorTypes().get(0).maxSpeedInMbps()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetWithResponseMockTests.java index a39a286a9ce99..c45818b3074df 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusGetWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class NetworkDeviceSkusGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"model\":\"fift\",\"manufacturer\":\"upuukpsw\",\"supportedVersions\":[{\"version\":\"uchcfndijzpvc\",\"vendorOsVersion\":\"butmxtijs\",\"vendorFirmwareVersion\":\"tdp\",\"isDefault\":\"True\"},{\"version\":\"wibwcdxymns\",\"vendorOsVersion\":\"qtmhff\",\"vendorFirmwareVersion\":\"nvrdtdl\",\"isDefault\":\"True\"},{\"version\":\"gh\",\"vendorOsVersion\":\"lh\",\"vendorFirmwareVersion\":\"zljyogcpw\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"TS\",\"CE\",\"Management\",\"Management\"],\"interfaces\":[{\"identifier\":\"eljmfolqdi\",\"interfaceType\":\"v\",\"supportedConnectorTypes\":[{}]}],\"provisioningState\":\"Updating\"},\"id\":\"hghkf\",\"name\":\"wnlpbawtp\",\"type\":\"nkiwxlplqnil\"}"; + = "{\"properties\":{\"model\":\"rtaevq\",\"manufacturer\":\"dhpkiiunyr\",\"supportedVersions\":[{\"version\":\"elowsmrvdtqhr\",\"vendorOsVersion\":\"qs\",\"vendorFirmwareVersion\":\"ynupski\",\"isDefault\":\"False\"},{\"version\":\"hamefzzgwjoaued\",\"vendorOsVersion\":\"pndou\",\"vendorFirmwareVersion\":\"fcfgqinaokxo\",\"isDefault\":\"True\"},{\"version\":\"hmzassrsqzuk\",\"vendorOsVersion\":\"txtdmutd\",\"vendorFirmwareVersion\":\"qq\",\"isDefault\":\"False\"}],\"supportedRoleTypes\":[\"ToR\",\"NPB\",\"ToR\"],\"interfaces\":[{\"identifier\":\"drtwqjftyaqd\",\"interfaceType\":\"fnomciw\",\"supportedConnectorTypes\":[{}]},{\"identifier\":\"g\",\"interfaceType\":\"fnd\",\"supportedConnectorTypes\":[{},{}]},{\"identifier\":\"ilfvrpbcgd\",\"interfaceType\":\"fxoffckejxomngu\",\"supportedConnectorTypes\":[{},{}]}],\"provisioningState\":\"Succeeded\"},\"id\":\"ttrnksvxim\",\"name\":\"n\",\"type\":\"iycxuyzrnngnm\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,16 +33,16 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkDeviceSku response - = manager.networkDeviceSkus().getWithResponse("fg", com.azure.core.util.Context.NONE).getValue(); + = manager.networkDeviceSkus().getWithResponse("fobpyeo", com.azure.core.util.Context.NONE).getValue(); - Assertions.assertEquals("fift", response.model()); - Assertions.assertEquals("upuukpsw", response.manufacturer()); - Assertions.assertEquals("uchcfndijzpvc", response.supportedVersions().get(0).version()); - Assertions.assertEquals("butmxtijs", response.supportedVersions().get(0).vendorOsVersion()); - Assertions.assertEquals("tdp", response.supportedVersions().get(0).vendorFirmwareVersion()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, response.supportedVersions().get(0).isDefault()); - Assertions.assertEquals(NetworkDeviceRoleName.TS, response.supportedRoleTypes().get(0)); - Assertions.assertEquals("eljmfolqdi", response.interfaces().get(0).identifier()); - Assertions.assertEquals("v", response.interfaces().get(0).interfaceType()); + Assertions.assertEquals("rtaevq", response.model()); + Assertions.assertEquals("dhpkiiunyr", response.manufacturer()); + Assertions.assertEquals("elowsmrvdtqhr", response.supportedVersions().get(0).version()); + Assertions.assertEquals("qs", response.supportedVersions().get(0).vendorOsVersion()); + Assertions.assertEquals("ynupski", response.supportedVersions().get(0).vendorFirmwareVersion()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, response.supportedVersions().get(0).isDefault()); + Assertions.assertEquals(NetworkDeviceRoleName.TOR, response.supportedRoleTypes().get(0)); + Assertions.assertEquals("drtwqjftyaqd", response.interfaces().get(0).identifier()); + Assertions.assertEquals("fnomciw", response.interfaces().get(0).interfaceType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListMockTests.java index 6d62eb204e2c7..75c9b2d5bd394 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListMockTests.java @@ -24,7 +24,7 @@ public final class NetworkDeviceSkusListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"model\":\"zfyg\",\"manufacturer\":\"fafca\",\"supportedVersions\":[{\"version\":\"lieqdwocufcshqf\",\"vendorOsVersion\":\"c\",\"vendorFirmwareVersion\":\"fofwqdroqk\",\"isDefault\":\"True\"},{\"version\":\"lbkzctqbvntl\",\"vendorOsVersion\":\"gj\",\"vendorFirmwareVersion\":\"xqoydyislepdbsi\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"CE\",\"CE\",\"TS\",\"TS\"],\"interfaces\":[{\"identifier\":\"ytbjbm\",\"interfaceType\":\"mtxbi\",\"supportedConnectorTypes\":[{}]},{\"identifier\":\"g\",\"interfaceType\":\"otvocjk\",\"supportedConnectorTypes\":[{}]},{\"identifier\":\"wyvtrs\",\"interfaceType\":\"dmtfnbv\",\"supportedConnectorTypes\":[{}]}],\"provisioningState\":\"Updating\"},\"id\":\"miqbdi\",\"name\":\"hjxcdhpdlxwsfdd\",\"type\":\"qpfynt\"}]}"; + = "{\"value\":[{\"properties\":{\"model\":\"hmwfoummdomv\",\"manufacturer\":\"tpyqalwlirapqhsi\",\"supportedVersions\":[{\"version\":\"fnoczefg\",\"vendorOsVersion\":\"xejjnti\",\"vendorFirmwareVersion\":\"xzeiudo\",\"isDefault\":\"True\"},{\"version\":\"rbroeomufaz\",\"vendorOsVersion\":\"wzbew\",\"vendorFirmwareVersion\":\"sspe\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"Management\"],\"interfaces\":[{\"identifier\":\"oucjzbovuvmdzdqt\",\"interfaceType\":\"guajsrdecbowkh\",\"supportedConnectorTypes\":[{},{},{},{}]}],\"provisioningState\":\"Deleting\"},\"id\":\"pdnnsujx\",\"name\":\"ueqljzkhn\",\"type\":\"aeykueat\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,16 +35,17 @@ public void testList() throws Exception { PagedIterable response = manager.networkDeviceSkus().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("zfyg", response.iterator().next().model()); - Assertions.assertEquals("fafca", response.iterator().next().manufacturer()); - Assertions.assertEquals("lieqdwocufcshqf", response.iterator().next().supportedVersions().get(0).version()); - Assertions.assertEquals("c", response.iterator().next().supportedVersions().get(0).vendorOsVersion()); - Assertions.assertEquals("fofwqdroqk", + Assertions.assertEquals("hmwfoummdomv", response.iterator().next().model()); + Assertions.assertEquals("tpyqalwlirapqhsi", response.iterator().next().manufacturer()); + Assertions.assertEquals("fnoczefg", response.iterator().next().supportedVersions().get(0).version()); + Assertions.assertEquals("xejjnti", response.iterator().next().supportedVersions().get(0).vendorOsVersion()); + Assertions.assertEquals("xzeiudo", response.iterator().next().supportedVersions().get(0).vendorFirmwareVersion()); Assertions.assertEquals(BooleanEnumProperty.TRUE, response.iterator().next().supportedVersions().get(0).isDefault()); - Assertions.assertEquals(NetworkDeviceRoleName.CE, response.iterator().next().supportedRoleTypes().get(0)); - Assertions.assertEquals("ytbjbm", response.iterator().next().interfaces().get(0).identifier()); - Assertions.assertEquals("mtxbi", response.iterator().next().interfaces().get(0).interfaceType()); + Assertions.assertEquals(NetworkDeviceRoleName.MANAGEMENT, + response.iterator().next().supportedRoleTypes().get(0)); + Assertions.assertEquals("oucjzbovuvmdzdqt", response.iterator().next().interfaces().get(0).identifier()); + Assertions.assertEquals("guajsrdecbowkh", response.iterator().next().interfaces().get(0).interfaceType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListResultTests.java index b02b99f572182..6004b595a2e95 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceSkusListResultTests.java @@ -14,17 +14,17 @@ public final class NetworkDeviceSkusListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDeviceSkusListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"model\":\"tvdhqnufbxwe\",\"manufacturer\":\"bntojovfny\",\"supportedVersions\":[{\"version\":\"uihaouwud\",\"vendorOsVersion\":\"aorhjkehwvumo\",\"vendorFirmwareVersion\":\"ircamqprlo\",\"isDefault\":\"False\"},{\"version\":\"ejcvjkjyczcmta\",\"vendorOsVersion\":\"lajdyoljeqyxq\",\"vendorFirmwareVersion\":\"zsizzhra\",\"isDefault\":\"True\"},{\"version\":\"kjymgqbgcxh\",\"vendorOsVersion\":\"xgzxlermkmer\",\"vendorFirmwareVersion\":\"skirhn\",\"isDefault\":\"False\"},{\"version\":\"cbkfukd\",\"vendorOsVersion\":\"qnv\",\"vendorFirmwareVersion\":\"dydshk\",\"isDefault\":\"False\"}],\"supportedRoleTypes\":[\"CE\",\"NPB\"],\"interfaces\":[{\"identifier\":\"zizznyu\",\"interfaceType\":\"qz\",\"supportedConnectorTypes\":[{},{},{},{}]}],\"provisioningState\":\"Succeeded\"},\"id\":\"fyjfd\",\"name\":\"qiyv\",\"type\":\"djokgwesym\"},{\"properties\":{\"model\":\"qh\",\"manufacturer\":\"p\",\"supportedVersions\":[{\"version\":\"ejtznxlue\",\"vendorOsVersion\":\"jqbbgsimwejlw\",\"vendorFirmwareVersion\":\"bpjzobdwbcpraswk\",\"isDefault\":\"False\"}],\"supportedRoleTypes\":[\"Management\",\"Management\",\"NPB\",\"Management\"],\"interfaces\":[{\"identifier\":\"fatgawphnski\",\"interfaceType\":\"wgtqcume\",\"supportedConnectorTypes\":[{},{},{},{}]},{\"identifier\":\"q\",\"interfaceType\":\"qbdiuycsbskowkr\",\"supportedConnectorTypes\":[{},{},{}]},{\"identifier\":\"rb\",\"interfaceType\":\"tmqowiuasfgqg\",\"supportedConnectorTypes\":[{},{},{}]},{\"identifier\":\"faimqvdruozk\",\"interfaceType\":\"fpeoehgfmq\",\"supportedConnectorTypes\":[{}]}],\"provisioningState\":\"Updating\"},\"id\":\"vlzjx\",\"name\":\"lhpevasyntvzjyie\",\"type\":\"bqrvvbqv\"},{\"properties\":{\"model\":\"nmpecqxgiqasifub\",\"manufacturer\":\"nstlpwqpjn\",\"supportedVersions\":[{\"version\":\"tupsvyouweu\",\"vendorOsVersion\":\"xfwkz\",\"vendorFirmwareVersion\":\"msfb\",\"isDefault\":\"False\"},{\"version\":\"lznfhkqytkztado\",\"vendorOsVersion\":\"fzdgjfcycrsvloy\",\"vendorFirmwareVersion\":\"igqkzjuqwqa\",\"isDefault\":\"True\"},{\"version\":\"x\",\"vendorOsVersion\":\"xhyoip\",\"vendorFirmwareVersion\":\"dbgsosc\",\"isDefault\":\"False\"}],\"supportedRoleTypes\":[\"ToR\",\"Management\",\"CE\",\"Management\"],\"interfaces\":[{\"identifier\":\"fkbpjn\",\"interfaceType\":\"ekwwnthropmdudsy\",\"supportedConnectorTypes\":[{}]}],\"provisioningState\":\"Canceled\"},\"id\":\"ktjhffe\",\"name\":\"q\",\"type\":\"oqyouergagh\"}],\"nextLink\":\"zxkpyehhfdyld\"}") + "{\"value\":[{\"properties\":{\"model\":\"iggq\",\"manufacturer\":\"eqfcbuulpy\",\"supportedVersions\":[{\"version\":\"jfshtujcyo\",\"vendorOsVersion\":\"gimwdcsklkqnqv\",\"vendorFirmwareVersion\":\"xn\",\"isDefault\":\"True\"}],\"supportedRoleTypes\":[\"CE\",\"Management\"],\"interfaces\":[{\"identifier\":\"wimbzayspzvr\",\"interfaceType\":\"tvfphmdzxplgtpvd\",\"supportedConnectorTypes\":[{},{}]},{\"identifier\":\"zmgschnzrsbkkzov\",\"interfaceType\":\"dmnfmfws\",\"supportedConnectorTypes\":[{}]},{\"identifier\":\"fuwori\",\"interfaceType\":\"ovzwdehkkm\",\"supportedConnectorTypes\":[{},{}]}],\"provisioningState\":\"Deleting\"},\"id\":\"anyrvaprtgelgwe\",\"name\":\"ikfyaqandm\",\"type\":\"mnqoqjum\"}],\"nextLink\":\"sfbpbvzop\"}") .toObject(NetworkDeviceSkusListResult.class); - Assertions.assertEquals("tvdhqnufbxwe", model.value().get(0).model()); - Assertions.assertEquals("bntojovfny", model.value().get(0).manufacturer()); - Assertions.assertEquals("uihaouwud", model.value().get(0).supportedVersions().get(0).version()); - Assertions.assertEquals("aorhjkehwvumo", model.value().get(0).supportedVersions().get(0).vendorOsVersion()); - Assertions.assertEquals("ircamqprlo", model.value().get(0).supportedVersions().get(0).vendorFirmwareVersion()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.value().get(0).supportedVersions().get(0).isDefault()); + Assertions.assertEquals("iggq", model.value().get(0).model()); + Assertions.assertEquals("eqfcbuulpy", model.value().get(0).manufacturer()); + Assertions.assertEquals("jfshtujcyo", model.value().get(0).supportedVersions().get(0).version()); + Assertions.assertEquals("gimwdcsklkqnqv", model.value().get(0).supportedVersions().get(0).vendorOsVersion()); + Assertions.assertEquals("xn", model.value().get(0).supportedVersions().get(0).vendorFirmwareVersion()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.value().get(0).supportedVersions().get(0).isDefault()); Assertions.assertEquals(NetworkDeviceRoleName.CE, model.value().get(0).supportedRoleTypes().get(0)); - Assertions.assertEquals("zizznyu", model.value().get(0).interfaces().get(0).identifier()); - Assertions.assertEquals("qz", model.value().get(0).interfaces().get(0).interfaceType()); - Assertions.assertEquals("zxkpyehhfdyld", model.nextLink()); + Assertions.assertEquals("wimbzayspzvr", model.value().get(0).interfaces().get(0).identifier()); + Assertions.assertEquals("tvfphmdzxplgtpvd", model.value().get(0).interfaces().get(0).interfaceType()); + Assertions.assertEquals("sfbpbvzop", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceUpgradeRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceUpgradeRequestTests.java index 4883b0c9f70c3..41e36ee699103 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceUpgradeRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkDeviceUpgradeRequestTests.java @@ -12,18 +12,18 @@ public final class NetworkDeviceUpgradeRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkDeviceUpgradeRequest model - = BinaryData.fromString("{\"version\":\"yresgzsdtmwbyorj\",\"rwDeviceConfigUrl\":\"bchycha\"}") + = BinaryData.fromString("{\"version\":\"mgsdaluyckhefrbh\",\"rwDeviceConfigUrl\":\"uerbgpxebjl\"}") .toObject(NetworkDeviceUpgradeRequest.class); - Assertions.assertEquals("yresgzsdtmwbyorj", model.version()); - Assertions.assertEquals("bchycha", model.rwDeviceConfigUrl()); + Assertions.assertEquals("mgsdaluyckhefrbh", model.version()); + Assertions.assertEquals("uerbgpxebjl", model.rwDeviceConfigUrl()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkDeviceUpgradeRequest model - = new NetworkDeviceUpgradeRequest().withVersion("yresgzsdtmwbyorj").withRwDeviceConfigUrl("bchycha"); + = new NetworkDeviceUpgradeRequest().withVersion("mgsdaluyckhefrbh").withRwDeviceConfigUrl("uerbgpxebjl"); model = BinaryData.fromObject(model).toObject(NetworkDeviceUpgradeRequest.class); - Assertions.assertEquals("yresgzsdtmwbyorj", model.version()); - Assertions.assertEquals("bchycha", model.rwDeviceConfigUrl()); + Assertions.assertEquals("mgsdaluyckhefrbh", model.version()); + Assertions.assertEquals("uerbgpxebjl", model.rwDeviceConfigUrl()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuInnerTests.java index 52d25bf617cdd..8805ee9c93a38 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuInnerTests.java @@ -12,9 +12,9 @@ public final class NetworkFabricSkuInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkFabricSkuInner model = BinaryData.fromString( - "{\"properties\":{\"type\":\"MultiRack\",\"maxComputeRacks\":1367645323,\"maximumServerCount\":1186435541,\"supportedVersions\":[\"iwfryawkchkap\",\"tsk\",\"hfyf\"],\"details\":\"ibjepzwhj\",\"provisioningState\":\"Succeeded\"},\"id\":\"gbggcjx\",\"name\":\"hblivwehsudym\",\"type\":\"mbhdo\"}") + "{\"properties\":{\"type\":\"MultiRack\",\"maxComputeRacks\":1566912696,\"maximumServerCount\":903315045,\"supportedVersions\":[\"rieikmwlaoklfnis\",\"xgucbmtredscnn\"],\"details\":\"jcyyuvtzrxzhcle\",\"provisioningState\":\"Accepted\"},\"id\":\"zqzcloyhyupgi\",\"name\":\"hzgyresgzsd\",\"type\":\"mwb\"}") .toObject(NetworkFabricSkuInner.class); - Assertions.assertEquals(1367645323, model.maxComputeRacks()); - Assertions.assertEquals(1186435541, model.maximumServerCount()); + Assertions.assertEquals(1566912696, model.maxComputeRacks()); + Assertions.assertEquals(903315045, model.maximumServerCount()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuPropertiesTests.java index 050f663c0c2d8..c1b3f70e33d6c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkuPropertiesTests.java @@ -12,9 +12,9 @@ public final class NetworkFabricSkuPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkFabricSkuProperties model = BinaryData.fromString( - "{\"type\":\"SingleRack\",\"maxComputeRacks\":91394578,\"maximumServerCount\":223502884,\"supportedVersions\":[\"xzduvxdmxexat\",\"dmnrsenxoirx\",\"ddmiploisjkzso\"],\"details\":\"nntwg\",\"provisioningState\":\"Deleting\"}") + "{\"type\":\"SingleRack\",\"maxComputeRacks\":1345633295,\"maximumServerCount\":1807547374,\"supportedVersions\":[\"ychakvy\",\"fbqvumkxqj\",\"iuepmaxfnzlpqmp\",\"t\"],\"details\":\"fvulb\",\"provisioningState\":\"Accepted\"}") .toObject(NetworkFabricSkuProperties.class); - Assertions.assertEquals(91394578, model.maxComputeRacks()); - Assertions.assertEquals(223502884, model.maximumServerCount()); + Assertions.assertEquals(1345633295, model.maxComputeRacks()); + Assertions.assertEquals(1807547374, model.maximumServerCount()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetWithResponseMockTests.java index 189aa85be64c2..62f978ccb6d07 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusGetWithResponseMockTests.java @@ -21,7 +21,7 @@ public final class NetworkFabricSkusGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"type\":\"MultiRack\",\"maxComputeRacks\":1929977189,\"maximumServerCount\":898198822,\"supportedVersions\":[\"xehmnizoybtehk\",\"tlnmmyznwrc\",\"qwkqulkzov\"],\"details\":\"hwiwhrqxjxlssosn\",\"provisioningState\":\"Deleting\"},\"id\":\"xnsjjjcdd\",\"name\":\"vg\",\"type\":\"bfn\"}"; + = "{\"properties\":{\"type\":\"MultiRack\",\"maxComputeRacks\":688772296,\"maximumServerCount\":1635172751,\"supportedVersions\":[\"zp\",\"hfejgpef\",\"boxvwtlnv\",\"shtujaqpkupnr\"],\"details\":\"jeypdk\",\"provisioningState\":\"Failed\"},\"id\":\"zsyn\",\"name\":\"d\",\"type\":\"q\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,9 +31,9 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkFabricSku response - = manager.networkFabricSkus().getWithResponse("cjighmkd", com.azure.core.util.Context.NONE).getValue(); + = manager.networkFabricSkus().getWithResponse("zyadafecwnufl", com.azure.core.util.Context.NONE).getValue(); - Assertions.assertEquals(1929977189, response.maxComputeRacks()); - Assertions.assertEquals(898198822, response.maximumServerCount()); + Assertions.assertEquals(688772296, response.maxComputeRacks()); + Assertions.assertEquals(1635172751, response.maximumServerCount()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListMockTests.java index f0c5f2592631d..7497e95e14444 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListMockTests.java @@ -22,7 +22,7 @@ public final class NetworkFabricSkusListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"type\":\"SingleRack\",\"maxComputeRacks\":1197175774,\"maximumServerCount\":1820484156,\"supportedVersions\":[\"majgczpdiod\",\"tjylimzvj\",\"jh\",\"t\"],\"details\":\"cwmabehr\",\"provisioningState\":\"Failed\"},\"id\":\"zwtghzvhzrxcaes\",\"name\":\"xoavlwwpvjrnjwvc\",\"type\":\"arqlceflgsndur\"}]}"; + = "{\"value\":[{\"properties\":{\"type\":\"SingleRack\",\"maxComputeRacks\":2117118008,\"maximumServerCount\":1394848740,\"supportedVersions\":[\"yebwgesov\",\"vjxnsorsolarhlyh\"],\"details\":\"isnfa\",\"provisioningState\":\"Canceled\"},\"id\":\"oafpyilojw\",\"name\":\"zarywtauskishhm\",\"type\":\"ypg\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,7 +33,7 @@ public void testList() throws Exception { PagedIterable response = manager.networkFabricSkus().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals(1197175774, response.iterator().next().maxComputeRacks()); - Assertions.assertEquals(1820484156, response.iterator().next().maximumServerCount()); + Assertions.assertEquals(2117118008, response.iterator().next().maxComputeRacks()); + Assertions.assertEquals(1394848740, response.iterator().next().maximumServerCount()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListResultTests.java index 64f4330e4dfec..55afa12ff1055 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkFabricSkusListResultTests.java @@ -12,10 +12,10 @@ public final class NetworkFabricSkusListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkFabricSkusListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"type\":\"SingleRack\",\"maxComputeRacks\":1477736921,\"maximumServerCount\":2104029750,\"supportedVersions\":[\"zwwy\",\"bdjzghximkg\",\"mxpqkjnpyriwn\"],\"details\":\"tcxmmqm\",\"provisioningState\":\"Accepted\"},\"id\":\"yjrexwdonbexfte\",\"name\":\"aubheeggzgrnqt\",\"type\":\"fozuumrtgjq\"}],\"nextLink\":\"cant\"}") + "{\"value\":[{\"properties\":{\"type\":\"MultiRack\",\"maxComputeRacks\":2002692689,\"maximumServerCount\":1521190874,\"supportedVersions\":[\"aeooifqdyw\"],\"details\":\"lobha\",\"provisioningState\":\"Updating\"},\"id\":\"mfecorkfrocgbmxl\",\"name\":\"j\",\"type\":\"zezbjes\"}],\"nextLink\":\"slurbqfygpny\"}") .toObject(NetworkFabricSkusListResult.class); - Assertions.assertEquals(1477736921, model.value().get(0).maxComputeRacks()); - Assertions.assertEquals(2104029750, model.value().get(0).maximumServerCount()); - Assertions.assertEquals("cant", model.nextLink()); + Assertions.assertEquals(2002692689, model.value().get(0).maxComputeRacks()); + Assertions.assertEquals(1521190874, model.value().get(0).maximumServerCount()); + Assertions.assertEquals("slurbqfygpny", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfaceInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfaceInnerTests.java index 7da46f7fe91d5..612670fc2fd67 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfaceInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfaceInnerTests.java @@ -17,25 +17,25 @@ public final class NetworkInterfaceInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkInterfaceInner model = BinaryData.fromString( - "{\"properties\":{\"physicalIdentifier\":\"fs\",\"connectedTo\":\"izhqikmgobl\",\"interfaceType\":\"Management\",\"ipv4Address\":\"cdiiisklbonx\",\"ipv6Address\":\"pjxvtrkfkg\",\"description\":\"jqnnpjwkosnyxi\",\"additionalDescription\":\"oujjcx\",\"lastOperation\":{\"details\":\"mrlhnzkwops\"},\"networkFabricId\":\"yinxu\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\",\"configurationState\":\"Provisioning\",\"annotation\":\"ezbfqployuek\"},\"identity\":{\"principalId\":\"vuftrsvjmnsvu\",\"tenantId\":\"jktvolef\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ampqocl\":{\"principalId\":\"pkdbx\",\"clientId\":\"fb\"}}},\"id\":\"nmxynlsuqbwzst\",\"name\":\"k\",\"type\":\"gvp\"}") + "{\"properties\":{\"physicalIdentifier\":\"gqb\",\"connectedTo\":\"xh\",\"interfaceType\":\"Data\",\"ipv4Address\":\"zxlermkmer\",\"ipv6Address\":\"skirhn\",\"description\":\"pkcbkfukdljq\",\"additionalDescription\":\"tsdyds\",\"lastOperation\":{\"details\":\"afyalo\"},\"networkFabricId\":\"wz\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"Succeeded\",\"operationalState\":\"Unknown\",\"annotation\":\"stifgufyjf\"},\"identity\":{\"principalId\":\"iyvndjokgwes\",\"tenantId\":\"zqhrqpfzlpejtznx\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"hydt\":{\"principalId\":\"jqbbgsimwejlw\",\"clientId\":\"bpjzobdwbcpraswk\"},\"kivdwgtqcume\":{\"principalId\":\"czkfwfat\",\"clientId\":\"wphn\"},\"k\":{\"principalId\":\"aaqgoqbdiuycs\",\"clientId\":\"kowkrbhzhr\"},\"uozkgyf\":{\"principalId\":\"mqowiuasfgqg\",\"clientId\":\"yhfaimqvd\"}}},\"id\":\"oehgfmqmskkixvlz\",\"name\":\"xplhpeva\",\"type\":\"yntvzjyielbq\"}") .toObject(NetworkInterfaceInner.class); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("oujjcx", model.additionalDescription()); - Assertions.assertEquals("ezbfqployuek", model.annotation()); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("tsdyds", model.additionalDescription()); + Assertions.assertEquals("stifgufyjf", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkInterfaceInner model = new NetworkInterfaceInner() - .withIdentity( - new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("ampqocl", new UserAssignedIdentity()))) - .withAdditionalDescription("oujjcx") - .withAnnotation("ezbfqployuek"); + NetworkInterfaceInner model = new NetworkInterfaceInner().withIdentity(new ManagedServiceIdentity() + .withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("hydt", new UserAssignedIdentity(), "kivdwgtqcume", + new UserAssignedIdentity(), "k", new UserAssignedIdentity(), "uozkgyf", new UserAssignedIdentity()))) + .withAdditionalDescription("tsdyds") + .withAnnotation("stifgufyjf"); model = BinaryData.fromObject(model).toObject(NetworkInterfaceInner.class); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("oujjcx", model.additionalDescription()); - Assertions.assertEquals("ezbfqployuek", model.annotation()); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("tsdyds", model.additionalDescription()); + Assertions.assertEquals("stifgufyjf", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchPropertiesTests.java index 913f188caa36e..ae96747d36c7d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchPropertiesTests.java @@ -12,18 +12,18 @@ public final class NetworkInterfacePatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkInterfacePatchProperties model - = BinaryData.fromString("{\"additionalDescription\":\"kixsps\",\"annotation\":\"gavkmv\"}") + = BinaryData.fromString("{\"additionalDescription\":\"ienezf\",\"annotation\":\"ennmf\"}") .toObject(NetworkInterfacePatchProperties.class); - Assertions.assertEquals("gavkmv", model.annotation()); - Assertions.assertEquals("kixsps", model.additionalDescription()); + Assertions.assertEquals("ennmf", model.annotation()); + Assertions.assertEquals("ienezf", model.additionalDescription()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkInterfacePatchProperties model - = new NetworkInterfacePatchProperties().withAnnotation("gavkmv").withAdditionalDescription("kixsps"); + = new NetworkInterfacePatchProperties().withAnnotation("ennmf").withAdditionalDescription("ienezf"); model = BinaryData.fromObject(model).toObject(NetworkInterfacePatchProperties.class); - Assertions.assertEquals("gavkmv", model.annotation()); - Assertions.assertEquals("kixsps", model.additionalDescription()); + Assertions.assertEquals("ennmf", model.annotation()); + Assertions.assertEquals("ienezf", model.additionalDescription()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchTests.java index 384afe2b035a1..b58c1fd7c16b5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePatchTests.java @@ -17,25 +17,24 @@ public final class NetworkInterfacePatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkInterfacePatch model = BinaryData.fromString( - "{\"properties\":{\"additionalDescription\":\"ejqfbi\",\"annotation\":\"pfjxdwdrpazq\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"zmecjjkmqenhai\":{\"principalId\":\"otfcuuugtjigpg\",\"clientId\":\"iawohfmhn\"},\"pijpkhc\":{\"principalId\":\"rpvsgloiovs\",\"clientId\":\"ivqsuvwtenb\"},\"nd\":{\"principalId\":\"aqxukuicjufte\",\"clientId\":\"oo\"},\"vzuaixc\":{\"principalId\":\"wfhvpxjhxzu\",\"clientId\":\"jzabbwz\"}}}}") + "{\"properties\":{\"additionalDescription\":\"dgjfc\",\"annotation\":\"rsvloy\"},\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ixhyoipnfdbgso\":{\"principalId\":\"juqwqajq\",\"clientId\":\"x\"}}}}") .toObject(NetworkInterfacePatch.class); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("ejqfbi", model.additionalDescription()); - Assertions.assertEquals("pfjxdwdrpazq", model.annotation()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("dgjfc", model.additionalDescription()); + Assertions.assertEquals("rsvloy", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkInterfacePatch model = new NetworkInterfacePatch().withIdentity(new ManagedServiceIdentityPatch() - .withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("zmecjjkmqenhai", new UserAssignedIdentity(), "pijpkhc", - new UserAssignedIdentity(), "nd", new UserAssignedIdentity(), "vzuaixc", new UserAssignedIdentity()))) - .withAdditionalDescription("ejqfbi") - .withAnnotation("pfjxdwdrpazq"); + NetworkInterfacePatch model = new NetworkInterfacePatch() + .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities(mapOf("ixhyoipnfdbgso", new UserAssignedIdentity()))) + .withAdditionalDescription("dgjfc") + .withAnnotation("rsvloy"); model = BinaryData.fromObject(model).toObject(NetworkInterfacePatch.class); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("ejqfbi", model.additionalDescription()); - Assertions.assertEquals("pfjxdwdrpazq", model.annotation()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("dgjfc", model.additionalDescription()); + Assertions.assertEquals("rsvloy", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePropertiesTests.java index dc4dff1ffd580..e5bc2855161ae 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacePropertiesTests.java @@ -12,18 +12,18 @@ public final class NetworkInterfacePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkInterfaceProperties model = BinaryData.fromString( - "{\"physicalIdentifier\":\"rgjjktfinfhoksmm\",\"connectedTo\":\"lwkqic\",\"interfaceType\":\"Management\",\"ipv4Address\":\"krjflsgaojb\",\"ipv6Address\":\"pqsdoc\",\"description\":\"zpujzflmcdsg\",\"additionalDescription\":\"elujiswl\",\"lastOperation\":{\"details\":\"nxhfwlfxzfwu\"},\"networkFabricId\":\"upcknecexkgrvfp\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"MAT\",\"configurationState\":\"Deprovisioning\",\"annotation\":\"tqpdzfyxcnwawoxc\"}") + "{\"physicalIdentifier\":\"vbqv\",\"connectedTo\":\"mpe\",\"interfaceType\":\"Data\",\"ipv4Address\":\"iqasif\",\"ipv6Address\":\"nsnst\",\"description\":\"wqpjnxjkhtupsvy\",\"additionalDescription\":\"weuiyx\",\"lastOperation\":{\"details\":\"ztsm\"},\"networkFabricId\":\"b\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\",\"configurationState\":\"PendingAdministrativeUpdate\",\"operationalState\":\"Down\",\"annotation\":\"qytkztadop\"}") .toObject(NetworkInterfaceProperties.class); - Assertions.assertEquals("tqpdzfyxcnwawoxc", model.annotation()); - Assertions.assertEquals("elujiswl", model.additionalDescription()); + Assertions.assertEquals("qytkztadop", model.annotation()); + Assertions.assertEquals("weuiyx", model.additionalDescription()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkInterfaceProperties model - = new NetworkInterfaceProperties().withAnnotation("tqpdzfyxcnwawoxc").withAdditionalDescription("elujiswl"); + = new NetworkInterfaceProperties().withAnnotation("qytkztadop").withAdditionalDescription("weuiyx"); model = BinaryData.fromObject(model).toObject(NetworkInterfaceProperties.class); - Assertions.assertEquals("tqpdzfyxcnwawoxc", model.annotation()); - Assertions.assertEquals("elujiswl", model.additionalDescription()); + Assertions.assertEquals("qytkztadop", model.annotation()); + Assertions.assertEquals("weuiyx", model.additionalDescription()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateMockTests.java index 177f550ba61a0..886eba7793841 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesCreateMockTests.java @@ -26,7 +26,7 @@ public final class NetworkInterfacesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"physicalIdentifier\":\"muwl\",\"connectedTo\":\"jwkpznsfbi\",\"interfaceType\":\"Management\",\"ipv4Address\":\"gpvdl\",\"ipv6Address\":\"yo\",\"description\":\"lcuxzlln\",\"additionalDescription\":\"gqcfggje\",\"lastOperation\":{\"details\":\"xmpgfspwhfhdgu\"},\"networkFabricId\":\"gav\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\",\"configurationState\":\"PendingCommit\",\"annotation\":\"zxemqnwpwrf\"},\"identity\":{\"principalId\":\"ggrm\",\"tenantId\":\"fhkoe\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"vrjhtpxydiuviup\":{\"principalId\":\"ichasaenta\",\"clientId\":\"vddei\"},\"qdjw\":{\"principalId\":\"tnsyrrybdyqiv\",\"clientId\":\"suhozihd\"},\"vzbdhrcepanhy\":{\"principalId\":\"wcpijga\",\"clientId\":\"afdjinwgirnjgs\"},\"ehzxzazo\":{\"principalId\":\"ahijbjjlx\",\"clientId\":\"jzbggsnanojty\"}}},\"id\":\"ons\",\"name\":\"jdga\",\"type\":\"mktnsowszbeflhxi\"}"; + = "{\"properties\":{\"physicalIdentifier\":\"bejxx\",\"connectedTo\":\"iff\",\"interfaceType\":\"Management\",\"ipv4Address\":\"yzsetrmvtqhnso\",\"ipv6Address\":\"ucprkqy\",\"description\":\"bxgayomse\",\"additionalDescription\":\"cxl\",\"lastOperation\":{\"details\":\"qfblsizxpolpsa\"},\"networkFabricId\":\"o\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\",\"configurationState\":\"Deprovisioning\",\"operationalState\":\"Up\",\"annotation\":\"xvhkobidhh\"},\"identity\":{\"principalId\":\"trddyriwa\",\"tenantId\":\"ydgmqsc\",\"type\":\"None\",\"userAssignedIdentities\":{\"ydehbvbexrbynnl\":{\"principalId\":\"lxgnzasvpmwso\",\"clientId\":\"ypvplmyzebvghh\"},\"wzzsicbbosacr\":{\"principalId\":\"d\",\"clientId\":\"k\"}}},\"id\":\"scfkefeltx\",\"name\":\"famimgjuvjv\",\"type\":\"gecehennledhouk\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,17 +36,17 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkInterface response = manager.networkInterfaces() - .define("aceoaboozxkdz") - .withExistingNetworkDevice("jxphwynimcp", "rakucgjre") + .define("xfcngef") + .withExistingNetworkDevice("wgom", "scsddlcnwbi") .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("jgmfyernckg", new UserAssignedIdentity()))) - .withAdditionalDescription("wcveqge") - .withAnnotation("jdonufqhqsniobe") + .withUserAssignedIdentities(mapOf("eqrnglgituae", new UserAssignedIdentity()))) + .withAdditionalDescription("fb") + .withAnnotation("emnryxnklf") .create(); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type()); - Assertions.assertEquals("gqcfggje", response.additionalDescription()); - Assertions.assertEquals("zxemqnwpwrf", response.annotation()); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("cxl", response.additionalDescription()); + Assertions.assertEquals("xvhkobidhh", response.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetWithResponseMockTests.java index 4aad004b4c355..d87627e819030 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesGetWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class NetworkInterfacesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"physicalIdentifier\":\"gomhs\",\"connectedTo\":\"d\",\"interfaceType\":\"Management\",\"ipv4Address\":\"wbijxfc\",\"ipv6Address\":\"effrg\",\"description\":\"dmrowhrrguvd\",\"additionalDescription\":\"gucwawlmsikl\",\"lastOperation\":{\"details\":\"dfcphg\"},\"networkFabricId\":\"ijzhrb\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\",\"configurationState\":\"Failed\",\"annotation\":\"uelf\"},\"identity\":{\"principalId\":\"b\",\"tenantId\":\"blpdwckmnpzub\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"emnryxnklf\":{\"principalId\":\"g\",\"clientId\":\"rgngcpbshqzzlc\"},\"dsuopcdi\":{\"principalId\":\"zsyigxsyx\",\"clientId\":\"gczabapeuqyz\"}}},\"id\":\"sspcutgkm\",\"name\":\"sqaqgllnhg\",\"type\":\"siwzzkaeqrnglgi\"}"; + = "{\"properties\":{\"physicalIdentifier\":\"dbvcxoamh\",\"connectedTo\":\"uhnbdlz\",\"interfaceType\":\"Data\",\"ipv4Address\":\"tzjjgv\",\"ipv6Address\":\"tqc\",\"description\":\"nkyvujhejytrv\",\"additionalDescription\":\"uysbrngnbqhm\",\"lastOperation\":{\"details\":\"zxkormrcj\"},\"networkFabricId\":\"tcfnbffd\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"MAT\",\"configurationState\":\"CommitStaged\",\"operationalState\":\"Unknown\",\"annotation\":\"ehuboq\"},\"identity\":{\"principalId\":\"nuxamxikhrxi\",\"tenantId\":\"l\",\"type\":\"None\",\"userAssignedIdentities\":{\"xeirjtwji\":{\"principalId\":\"eojecboggwtih\",\"clientId\":\"ywgtsod\"},\"uvoaxqo\":{\"principalId\":\"frh\",\"clientId\":\"g\"},\"vzuaxtbrqnyu\":{\"principalId\":\"lp\",\"clientId\":\"pbzyqbggxcyra\"},\"bj\":{\"principalId\":\"lpuwxs\",\"clientId\":\"qlgxxbnrurtn\"}}},\"id\":\"su\",\"name\":\"ckhfbmde\",\"type\":\"ohlshmaaoofltbs\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,11 +32,11 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkInterface response = manager.networkInterfaces() - .getWithResponse("rqnjush", "xhtvn", "cmrrgm", com.azure.core.util.Context.NONE) + .getWithResponse("ruldt", "ycnk", "rmiecfmqcxm", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("gucwawlmsikl", response.additionalDescription()); - Assertions.assertEquals("uelf", response.annotation()); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("uysbrngnbqhm", response.additionalDescription()); + Assertions.assertEquals("ehuboq", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceMockTests.java index 5cfe4f2644c31..da2a4d91165c3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListByNetworkDeviceMockTests.java @@ -23,7 +23,7 @@ public final class NetworkInterfacesListByNetworkDeviceMockTests { @Test public void testListByNetworkDevice() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"physicalIdentifier\":\"tfkkiupmdaj\",\"connectedTo\":\"dvvzb\",\"interfaceType\":\"Management\",\"ipv4Address\":\"okiffqpwdyzsetr\",\"ipv6Address\":\"tqhnsoijucprkqyw\",\"description\":\"xga\",\"additionalDescription\":\"msetzcxlisvqfbls\",\"lastOperation\":{\"details\":\"polpsap\"},\"networkFabricId\":\"exhimvlocdxvh\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\",\"configurationState\":\"Deprovisioned\",\"annotation\":\"pntrddyriwanv\"},\"identity\":{\"principalId\":\"mqsci\",\"tenantId\":\"fulxgnz\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ydehbvbexrbynnl\":{\"principalId\":\"wsooqypvplmyz\",\"clientId\":\"vghh\"},\"wzzsicbbosacr\":{\"principalId\":\"d\",\"clientId\":\"k\"},\"jvtgecehennledho\":{\"principalId\":\"scfkefeltx\",\"clientId\":\"amimgju\"}}},\"id\":\"fjwkctdnnqokq\",\"name\":\"uzsl\",\"type\":\"yj\"}]}"; + = "{\"value\":[{\"properties\":{\"physicalIdentifier\":\"nxyr\",\"connectedTo\":\"egabsfjrjzdqscgo\",\"interfaceType\":\"Management\",\"ipv4Address\":\"ibepgf\",\"ipv6Address\":\"ijoehhqwwsg\",\"description\":\"iwooet\",\"additionalDescription\":\"ssyazmmbuxqtokck\",\"lastOperation\":{\"details\":\"ftqk\"},\"networkFabricId\":\"ruheawucm\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"CommitRollbackFailed\",\"operationalState\":\"Degraded\",\"annotation\":\"lyve\"},\"identity\":{\"principalId\":\"jguwts\",\"tenantId\":\"jwiz\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"awsaskullvtsauj\":{\"principalId\":\"vixtykjrdxl\",\"clientId\":\"mvrblj\"}}},\"id\":\"htz\",\"name\":\"dzqrpfhzxkjygkui\",\"type\":\"gwdhawjcoz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,12 +32,12 @@ public void testListByNetworkDevice() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.networkInterfaces() - .listByNetworkDevice("uaefwdkpadkts", "ywaojr", com.azure.core.util.Context.NONE); + PagedIterable response + = manager.networkInterfaces().listByNetworkDevice("yvmwaejxzkqcm", "dc", com.azure.core.util.Context.NONE); Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals("msetzcxlisvqfbls", response.iterator().next().additionalDescription()); - Assertions.assertEquals("pntrddyriwanv", response.iterator().next().annotation()); + Assertions.assertEquals("ssyazmmbuxqtokck", response.iterator().next().additionalDescription()); + Assertions.assertEquals("lyve", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListTests.java index be5932dd352da..15d2881eb327e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkInterfacesListTests.java @@ -13,11 +13,12 @@ public final class NetworkInterfacesListTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkInterfacesList model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"physicalIdentifier\":\"erejrkpzj\",\"connectedTo\":\"etjx\",\"interfaceType\":\"Management\",\"ipv4Address\":\"taeitwhlbecgihz\",\"ipv6Address\":\"emnrrabovrwwxy\",\"description\":\"jhspboxhifpps\",\"additionalDescription\":\"eswyhh\",\"lastOperation\":{\"details\":\"juajxwwvcmmp\"},\"networkFabricId\":\"lyuqvcmlaexb\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"MAT\",\"configurationState\":\"Rejected\",\"annotation\":\"zsjz\"},\"identity\":{\"principalId\":\"ldrorhyogzmsimeh\",\"tenantId\":\"uuwdhtq\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"ovke\":{\"principalId\":\"imxt\",\"clientId\":\"ugisnomwnwngho\"},\"veywetkrhlolmcn\":{\"principalId\":\"micjixxfsf\",\"clientId\":\"rtnuguefxxijteb\"}}},\"id\":\"pfgsvbbvaqdljnp\",\"name\":\"tlrnrdet\",\"type\":\"wevxeh\"},{\"properties\":{\"physicalIdentifier\":\"kdxl\",\"connectedTo\":\"vdovbrb\",\"interfaceType\":\"Management\",\"ipv4Address\":\"prdaqcc\",\"ipv6Address\":\"cbnygd\",\"description\":\"cxwbp\",\"additionalDescription\":\"ykdigqzlrznda\",\"lastOperation\":{\"details\":\"id\"},\"networkFabricId\":\"q\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\",\"configurationState\":\"Provisioning\",\"annotation\":\"larh\"},\"identity\":{\"principalId\":\"v\",\"tenantId\":\"zekdzdzffzj\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"orywnvojtv\":{\"principalId\":\"pchggryelgfy\",\"clientId\":\"igfgfrrkdkncz\"}}},\"id\":\"evdlh\",\"name\":\"vbkar\",\"type\":\"pyhssrlvkpkpkoc\"}],\"nextLink\":\"ccebxxopyicyvspe\"}") + "{\"value\":[{\"properties\":{\"physicalIdentifier\":\"jnrtekw\",\"connectedTo\":\"thr\",\"interfaceType\":\"Management\",\"ipv4Address\":\"ud\",\"ipv6Address\":\"iurztv\",\"description\":\"jhf\",\"additionalDescription\":\"cqkoqyouerg\",\"lastOperation\":{\"details\":\"puzxkpyehhfdyldh\"},\"networkFabricId\":\"edzfzqiyuqhtdere\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Enabled\",\"configurationState\":\"PendingCommit\",\"operationalState\":\"Degraded\",\"annotation\":\"jlwyxedzn\"},\"identity\":{\"principalId\":\"fomckewv\",\"tenantId\":\"ifopxfjjtpdyz\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"wezygvadgaaqw\":{\"principalId\":\"pt\",\"clientId\":\"hgnu\"},\"rtbnu\":{\"principalId\":\"gjpytpmpvdnogehl\",\"clientId\":\"b\"}}},\"id\":\"faxzsvbxxyjissk\",\"name\":\"bqoclflioewyhx\",\"type\":\"ssmvrkdps\"},{\"properties\":{\"physicalIdentifier\":\"qfbdxmdses\",\"connectedTo\":\"ujbjppp\",\"interfaceType\":\"Management\",\"ipv4Address\":\"dibfmthi\",\"ipv6Address\":\"tnejrnminzqp\",\"description\":\"tkihonikzs\",\"additionalDescription\":\"f\",\"lastOperation\":{\"details\":\"ilzfbpnto\"},\"networkFabricId\":\"ensckhbmcarm\",\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\",\"configurationState\":\"Deprovisioned\",\"operationalState\":\"Degraded\",\"annotation\":\"qdndxly\"},\"identity\":{\"principalId\":\"gga\",\"tenantId\":\"dgtfpeersc\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"anmame\":{\"principalId\":\"njrcuf\",\"clientId\":\"gacnrgfdtncmsp\"},\"lqcskkqjmxptueip\":{\"principalId\":\"kqiq\",\"clientId\":\"fv\"}}},\"id\":\"gkwdr\",\"name\":\"mrpahuuonj\",\"type\":\"kxukguehvvpxjoe\"},{\"properties\":{\"physicalIdentifier\":\"jojlle\",\"connectedTo\":\"dpmtonvhgn\",\"interfaceType\":\"Management\",\"ipv4Address\":\"plhbpjbapmummmkv\",\"ipv6Address\":\"uc\",\"description\":\"iuaiqpm\",\"additionalDescription\":\"fzhrchx\",\"lastOperation\":{\"details\":\"zdmh\"},\"networkFabricId\":\"lvivj\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\",\"configurationState\":\"Provisioning\",\"operationalState\":\"Down\",\"annotation\":\"ipdviscotyxb\"},\"identity\":{\"principalId\":\"fefndslvrqoemwsi\",\"tenantId\":\"ailwdqmqfyd\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"g\":{\"principalId\":\"xlkdlgwgnamkuuy\",\"clientId\":\"yuafixlxic\"},\"ngtwyuskwgq\":{\"principalId\":\"hdcfm\",\"clientId\":\"cfasfodropal\"},\"yxlz\":{\"principalId\":\"taumd\",\"clientId\":\"jlvkrkegtyczupp\"},\"vsexduetb\":{\"principalId\":\"yddeeqz\",\"clientId\":\"abm\"}}},\"id\":\"fcze\",\"name\":\"xtrlqbpx\",\"type\":\"a\"}],\"nextLink\":\"jpir\"}") .toObject(NetworkInterfacesList.class); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.value().get(0).identity().type()); - Assertions.assertEquals("eswyhh", model.value().get(0).additionalDescription()); - Assertions.assertEquals("zsjz", model.value().get(0).annotation()); - Assertions.assertEquals("ccebxxopyicyvspe", model.nextLink()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, + model.value().get(0).identity().type()); + Assertions.assertEquals("cqkoqyouerg", model.value().get(0).additionalDescription()); + Assertions.assertEquals("jlwyxedzn", model.value().get(0).annotation()); + Assertions.assertEquals("jpir", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorInnerTests.java index d41c126a6dbcd..afd556d7595b9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorInnerTests.java @@ -22,75 +22,75 @@ public final class NetworkMonitorInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkMonitorInner model = BinaryData.fromString( - "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"btkogfggyl\",\"stationName\":\"olrvwsgseqjt\",\"stationIp\":\"axir\",\"stationPort\":633854741,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":221681582,\"probeInterval\":2015763467,\"probeCount\":1302418434},\"stationNetwork\":\"bamtarirdzd\",\"monitoredNetworks\":[\"oflzuk\",\"gougxpypbmz\",\"sxblmnxrxkuly\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"All\",\"vpnIpv4\",\"vpnIpv4\"]},\"lastOperation\":{\"details\":\"b\"},\"configurationState\":\"Failed\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Disabled\",\"annotation\":\"kfrxvlusedpn\"},\"location\":\"imqaxtmvmycvjpa\",\"tags\":{\"f\":\"qvvyjehyv\"},\"id\":\"ngoqmr\",\"name\":\"v\",\"type\":\"bgtuhw\"}") + "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"ikh\",\"stationName\":\"thypepxshmrd\",\"stationIp\":\"csdvkymktc\",\"stationPort\":1848448837,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":2056951301,\"probeInterval\":1050193932,\"probeCount\":1669309047},\"stationNetwork\":\"afnfgazaghddcozw\",\"monitoredNetworks\":[\"orru\",\"uhvemgxlss\",\"lqypvwxl\"],\"exportPolicy\":\"Post-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"vpnIpv4\",\"vpnIpv6\",\"All\",\"vpnIpv4\"]},\"lastOperation\":{\"details\":\"zfcmxmjpjakj\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\",\"annotation\":\"q\"},\"location\":\"xnyx\",\"tags\":{\"ikdipkxsq\":\"dsqniiont\"},\"id\":\"uzabrsoihataj\",\"name\":\"tacvs\",\"type\":\"nssxylsui\"}") .toObject(NetworkMonitorInner.class); - Assertions.assertEquals("imqaxtmvmycvjpa", model.location()); - Assertions.assertEquals("qvvyjehyv", model.tags().get("f")); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("xnyx", model.location()); + Assertions.assertEquals("dsqniiont", model.tags().get("ikdipkxsq")); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("btkogfggyl", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("olrvwsgseqjt", model.bmpConfiguration().stationName()); - Assertions.assertEquals("axir", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(633854741, model.bmpConfiguration().stationPort()); + Assertions.assertEquals("ikh", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("thypepxshmrd", model.bmpConfiguration().stationName()); + Assertions.assertEquals("csdvkymktc", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(1848448837, model.bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.ACTIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(221681582, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(2015763467, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1302418434, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("bamtarirdzd", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("oflzuk", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(2056951301, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(1050193932, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(1669309047, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("afnfgazaghddcozw", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("orru", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.bmpConfiguration().exportPolicy()); Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV4, model.bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("kfrxvlusedpn", model.annotation()); + Assertions.assertEquals("q", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkMonitorInner model - = new NetworkMonitorInner().withLocation("imqaxtmvmycvjpa") - .withTags(mapOf("f", "qvvyjehyv")) + = new NetworkMonitorInner().withLocation("xnyx") + .withTags(mapOf("ikdipkxsq", "dsqniiont")) .withBmpConfiguration(new BmpConfigurationProperties() - .withStationConfigurationState(StationConfigurationState.DISABLED) - .withScopeResourceId("btkogfggyl") - .withStationName("olrvwsgseqjt") - .withStationIp("axir") - .withStationPort(633854741) + .withStationConfigurationState(StationConfigurationState.ENABLED) + .withScopeResourceId("ikh") + .withStationName("thypepxshmrd") + .withStationIp("csdvkymktc") + .withStationPort(1848448837) .withStationConnectionMode(StationConnectionMode.ACTIVE) - .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(221681582) - .withProbeInterval(2015763467) - .withProbeCount(1302418434)) - .withStationNetwork("bamtarirdzd") - .withMonitoredNetworks(Arrays.asList("oflzuk", "gougxpypbmz", "sxblmnxrxkuly")) - .withExportPolicy(BmpExportPolicy.ALL) + .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(2056951301) + .withProbeInterval(1050193932) + .withProbeCount(1669309047)) + .withStationNetwork("afnfgazaghddcozw") + .withMonitoredNetworks(Arrays.asList("orru", "uhvemgxlss", "lqypvwxl")) + .withExportPolicy(BmpExportPolicy.POST_POLICY) .withExportPolicyConfiguration(new BmpExportPolicyProperties() - .withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.POST_POLICY))) + .withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY, BmpExportPolicy.LOCAL_RIB))) .withMonitoredAddressFamilies( - Arrays.asList(BmpMonitoredAddressFamily.IPV6UNICAST, BmpMonitoredAddressFamily.ALL, - BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.VPN_IPV4))) - .withAnnotation("kfrxvlusedpn"); + Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.VPN_IPV6, + BmpMonitoredAddressFamily.ALL, BmpMonitoredAddressFamily.VPN_IPV4))) + .withAnnotation("q"); model = BinaryData.fromObject(model).toObject(NetworkMonitorInner.class); - Assertions.assertEquals("imqaxtmvmycvjpa", model.location()); - Assertions.assertEquals("qvvyjehyv", model.tags().get("f")); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("xnyx", model.location()); + Assertions.assertEquals("dsqniiont", model.tags().get("ikdipkxsq")); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("btkogfggyl", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("olrvwsgseqjt", model.bmpConfiguration().stationName()); - Assertions.assertEquals("axir", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(633854741, model.bmpConfiguration().stationPort()); + Assertions.assertEquals("ikh", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("thypepxshmrd", model.bmpConfiguration().stationName()); + Assertions.assertEquals("csdvkymktc", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(1848448837, model.bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.ACTIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(221681582, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(2015763467, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1302418434, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("bamtarirdzd", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("oflzuk", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(2056951301, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(1050193932, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(1669309047, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("afnfgazaghddcozw", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("orru", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.bmpConfiguration().exportPolicy()); Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV4, model.bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("kfrxvlusedpn", model.annotation()); + Assertions.assertEquals("q", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorListResultTests.java index 10c6d6da5c9e1..3c81b991320f4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorListResultTests.java @@ -16,32 +16,32 @@ public final class NetworkMonitorListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkMonitorListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"ddj\",\"stationName\":\"pgom\",\"stationIp\":\"kjpajl\",\"stationPort\":913768239,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1447315290,\"probeInterval\":1948930166,\"probeCount\":982276770},\"stationNetwork\":\"cp\",\"monitoredNetworks\":[\"witafj\"],\"exportPolicy\":\"LocalRib\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"vkparskplqft\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\",\"annotation\":\"dcy\"},\"location\":\"ul\",\"tags\":{\"uxyqbm\":\"fwrm\"},\"id\":\"oubxlpkdsnbqoyms\",\"name\":\"lraduhgwa\",\"type\":\"zyrp\"},{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"jribeskkopbksrib\",\"stationName\":\"tmorikczer\",\"stationIp\":\"iq\",\"stationPort\":1031105777,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":583068147,\"probeInterval\":1602047687,\"probeCount\":655366294},\"stationNetwork\":\"ydgmdoqgruc\",\"monitoredNetworks\":[\"yjudhgwjqegly\",\"nrruwsqp\",\"yxkm\",\"mgexqcilfiulgnn\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"Pre-Policy\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"All\",\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"bamqrbbsnptm\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"kbyjuwhizcbqjxm\"},\"location\":\"dtunpc\",\"tags\":{\"wkoltjdauujjl\":\"lrfo\",\"ehplmqyoduksa\":\"yhddzeykudjzrim\",\"qkrbyyakrjgbnw\":\"znqqkqxkdglse\"},\"id\":\"okrl\",\"name\":\"becan\",\"type\":\"vxouhdcftptfcj\"},{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"xmcxhwkgihifoyo\",\"stationName\":\"gadhmqyufpfoww\",\"stationIp\":\"lszrtngiqc\",\"stationPort\":1748168426,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":494771165,\"probeInterval\":309044563,\"probeCount\":2050745582},\"stationNetwork\":\"ycigcb\",\"monitoredNetworks\":[\"hdtjfrpo\",\"ajzdj\",\"zbrwrfrmhouf\"],\"exportPolicy\":\"Pre-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"Post-Policy\",\"Pre-Policy\"]},\"monitoredAddressFamilies\":[\"vpnIpv4\"]},\"lastOperation\":{\"details\":\"nqunniklyxd\"},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"mvpehp\"},\"location\":\"vkyqhrplfqqnw\",\"tags\":{\"xnsvb\":\"rgc\",\"ytuecmgu\":\"hhaq\",\"ex\":\"ywdpuowl\",\"tcidcabn\":\"rpitqzqnbseujc\"},\"id\":\"xhcxct\",\"name\":\"hxoeftfo\",\"type\":\"ylx\"},{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"jzvqp\",\"stationName\":\"mtupyjtr\",\"stationIp\":\"zwdsnqhyef\",\"stationPort\":1642775628,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1024582735,\"probeInterval\":1076087917,\"probeCount\":1784688107},\"stationNetwork\":\"lytjxhx\",\"monitoredNetworks\":[\"ttl\",\"vukvupuplug\",\"lynvpdvctqdapyds\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\",\"Pre-Policy\",\"Post-Policy\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"vpnIpv6\",\"vpnIpv4\",\"ipv4Unicast\"]},\"lastOperation\":{\"details\":\"yrnzmjrgfbmps\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"u\"},\"location\":\"gaesmaxdwxrwqtbv\",\"tags\":{\"rlk\":\"takx\"},\"id\":\"jho\",\"name\":\"ywly\",\"type\":\"ghhuluqy\"}],\"nextLink\":\"gpqwgiq\"}") + "{\"value\":[{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"vsxfrwvlypztu\",\"stationName\":\"pncdocloepjz\",\"stationIp\":\"bod\",\"stationPort\":315264321,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":727201394,\"probeInterval\":118310316,\"probeCount\":1771169566},\"stationNetwork\":\"d\",\"monitoredNetworks\":[\"unngjoasnzlaw\",\"wqsni\",\"xwdqzu\"],\"exportPolicy\":\"Post-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"All\"]},\"monitoredAddressFamilies\":[\"vpnIpv4\",\"All\",\"vpnIpv4\",\"ipv6Unicast\"]},\"lastOperation\":{\"details\":\"eghtmqo\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"ecuvwate\"},\"location\":\"wbrnboxishkm\",\"tags\":{\"wrmhmifhfu\":\"bksksmqmw\",\"uqaemoyg\":\"jyxntmgt\",\"dqr\":\"axjy\"},\"id\":\"vgicxt\",\"name\":\"llqgnsydksvj\",\"type\":\"gxgdpivjkhcos\"}],\"nextLink\":\"ljjhcsgzooefzsdt\"}") .toObject(NetworkMonitorListResult.class); - Assertions.assertEquals("ul", model.value().get(0).location()); - Assertions.assertEquals("fwrm", model.value().get(0).tags().get("uxyqbm")); + Assertions.assertEquals("wbrnboxishkm", model.value().get(0).location()); + Assertions.assertEquals("bksksmqmw", model.value().get(0).tags().get("wrmhmifhfu")); Assertions.assertEquals(StationConfigurationState.DISABLED, model.value().get(0).bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("ddj", model.value().get(0).bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("pgom", model.value().get(0).bmpConfiguration().stationName()); - Assertions.assertEquals("kjpajl", model.value().get(0).bmpConfiguration().stationIp()); - Assertions.assertEquals(913768239, model.value().get(0).bmpConfiguration().stationPort()); + Assertions.assertEquals("vsxfrwvlypztu", model.value().get(0).bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("pncdocloepjz", model.value().get(0).bmpConfiguration().stationName()); + Assertions.assertEquals("bod", model.value().get(0).bmpConfiguration().stationIp()); + Assertions.assertEquals(315264321, model.value().get(0).bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, model.value().get(0).bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(1447315290, + Assertions.assertEquals(727201394, model.value().get(0).bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1948930166, + Assertions.assertEquals(118310316, model.value().get(0).bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(982276770, + Assertions.assertEquals(1771169566, model.value().get(0).bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("cp", model.value().get(0).bmpConfiguration().stationNetwork()); - Assertions.assertEquals("witafj", model.value().get(0).bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.value().get(0).bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals("d", model.value().get(0).bmpConfiguration().stationNetwork()); + Assertions.assertEquals("unngjoasnzlaw", model.value().get(0).bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, model.value().get(0).bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.ALL, model.value().get(0).bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV4, model.value().get(0).bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("dcy", model.value().get(0).annotation()); - Assertions.assertEquals("gpqwgiq", model.nextLink()); + Assertions.assertEquals("ecuvwate", model.value().get(0).annotation()); + Assertions.assertEquals("ljjhcsgzooefzsdt", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchPropertiesTests.java index 77ac8989c94ef..77e48edb78599 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchPropertiesTests.java @@ -20,22 +20,22 @@ public final class NetworkMonitorPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkMonitorPatchProperties model = BinaryData.fromString( - "{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"rkh\",\"stationName\":\"qcud\",\"stationIp\":\"m\",\"stationPort\":228131796,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1088953470,\"probeInterval\":1078348813,\"probeCount\":552936879},\"stationNetwork\":\"jfpxoygnmjniqwu\",\"monitoredNetworks\":[\"xfknjq\",\"stnwvravntvklkwq\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"Post-Policy\",\"LocalRib\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"vpnIpv6\",\"All\",\"vpnIpv4\",\"ipv4Unicast\"]}}") + "{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"zenkrdruesxexaw\",\"stationName\":\"ibdctjwfebqqq\",\"stationIp\":\"tsqaclczfrofy\",\"stationPort\":223925634,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":266099748,\"probeInterval\":722434304,\"probeCount\":27454201},\"stationNetwork\":\"amptldddorzlj\",\"monitoredNetworks\":[\"fkffngfpilloir\",\"vx\",\"bktuqnbcjk\",\"rqmznwwtkuy\"],\"exportPolicy\":\"Pre-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"vpnIpv6\",\"vpnIpv6\",\"vpnIpv4\",\"ipv4Unicast\"]}}") .toObject(NetworkMonitorPatchProperties.class); Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("rkh", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("qcud", model.bmpConfiguration().stationName()); - Assertions.assertEquals("m", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(228131796, model.bmpConfiguration().stationPort()); - Assertions.assertEquals(StationConnectionMode.ACTIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(1088953470, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1078348813, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(552936879, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("jfpxoygnmjniqwu", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("xfknjq", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals("zenkrdruesxexaw", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("ibdctjwfebqqq", model.bmpConfiguration().stationName()); + Assertions.assertEquals("tsqaclczfrofy", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(223925634, model.bmpConfiguration().stationPort()); + Assertions.assertEquals(StationConnectionMode.PASSIVE, model.bmpConfiguration().stationConnectionMode()); + Assertions.assertEquals(266099748, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(722434304, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(27454201, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("amptldddorzlj", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("fkffngfpilloir", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, model.bmpConfiguration().monitoredAddressFamilies().get(0)); @@ -45,39 +45,37 @@ public void testDeserialize() throws Exception { public void testSerialize() throws Exception { NetworkMonitorPatchProperties model = new NetworkMonitorPatchProperties().withBmpConfiguration( new BmpConfigurationPatchProperties().withStationConfigurationState(StationConfigurationState.ENABLED) - .withScopeResourceId("rkh") - .withStationName("qcud") - .withStationIp("m") - .withStationPort(228131796) - .withStationConnectionMode(StationConnectionMode.ACTIVE) - .withStationConnectionProperties( - new StationConnectionPatchProperties().withKeepaliveIdleTime(1088953470) - .withProbeInterval(1078348813) - .withProbeCount(552936879)) - .withStationNetwork("jfpxoygnmjniqwu") - .withMonitoredNetworks(Arrays.asList("xfknjq", "stnwvravntvklkwq")) - .withExportPolicy(BmpExportPolicy.ALL) - .withExportPolicyConfiguration( - new BmpExportPolicyPatchProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, - BmpExportPolicy.POST_POLICY, BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.POST_POLICY))) + .withScopeResourceId("zenkrdruesxexaw") + .withStationName("ibdctjwfebqqq") + .withStationIp("tsqaclczfrofy") + .withStationPort(223925634) + .withStationConnectionMode(StationConnectionMode.PASSIVE) + .withStationConnectionProperties(new StationConnectionPatchProperties().withKeepaliveIdleTime(266099748) + .withProbeInterval(722434304) + .withProbeCount(27454201)) + .withStationNetwork("amptldddorzlj") + .withMonitoredNetworks(Arrays.asList("fkffngfpilloir", "vx", "bktuqnbcjk", "rqmznwwtkuy")) + .withExportPolicy(BmpExportPolicy.PRE_POLICY) + .withExportPolicyConfiguration(new BmpExportPolicyPatchProperties() + .withExportPolicies(Arrays.asList(BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.POST_POLICY))) .withMonitoredAddressFamilies( - Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV6, BmpMonitoredAddressFamily.ALL, + Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV6, BmpMonitoredAddressFamily.VPN_IPV6, BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.IPV4UNICAST))); model = BinaryData.fromObject(model).toObject(NetworkMonitorPatchProperties.class); Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("rkh", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("qcud", model.bmpConfiguration().stationName()); - Assertions.assertEquals("m", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(228131796, model.bmpConfiguration().stationPort()); - Assertions.assertEquals(StationConnectionMode.ACTIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(1088953470, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1078348813, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(552936879, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("jfpxoygnmjniqwu", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("xfknjq", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals("zenkrdruesxexaw", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("ibdctjwfebqqq", model.bmpConfiguration().stationName()); + Assertions.assertEquals("tsqaclczfrofy", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(223925634, model.bmpConfiguration().stationPort()); + Assertions.assertEquals(StationConnectionMode.PASSIVE, model.bmpConfiguration().stationConnectionMode()); + Assertions.assertEquals(266099748, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(722434304, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(27454201, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("amptldddorzlj", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("fkffngfpilloir", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, model.bmpConfiguration().monitoredAddressFamilies().get(0)); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchTests.java index a98bcf02055aa..1e8234fb1525b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPatchTests.java @@ -22,67 +22,65 @@ public final class NetworkMonitorPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkMonitorPatch model = BinaryData.fromString( - "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"qcqyzmrtfdl\",\"stationName\":\"ryyjlikalbcyuwah\",\"stationIp\":\"agvaidzceph\",\"stationPort\":1247830495,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":276088276,\"probeInterval\":867682398,\"probeCount\":1584995270},\"stationNetwork\":\"mrwpe\",\"monitoredNetworks\":[\"rjbpertjpair\",\"wjmcgi\",\"sywpejt\",\"qopugrse\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"vpnIpv4\",\"ipv4Unicast\"]}},\"tags\":{\"cbcendidhue\":\"td\",\"asgukq\":\"ikwcx\",\"kiwmqnwmytcc\":\"kiynbf\",\"mcgvjb\":\"irgyutexnzh\"}}") + "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"pxtsdy\",\"stationName\":\"gef\",\"stationIp\":\"gwphw\",\"stationPort\":625644465,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":74444128,\"probeInterval\":1109318809,\"probeCount\":2110666337},\"stationNetwork\":\"uhhzwrsj\",\"monitoredNetworks\":[\"kjsvkbtmlixalph\",\"gmin\",\"e\"],\"exportPolicy\":\"Pre-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"vpnIpv6\"]}},\"tags\":{\"i\":\"uyrlk\",\"sabcylzz\":\"mmrmrjpjthi\"}}") .toObject(NetworkMonitorPatch.class); - Assertions.assertEquals("td", model.tags().get("cbcendidhue")); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("uyrlk", model.tags().get("i")); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("qcqyzmrtfdl", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("ryyjlikalbcyuwah", model.bmpConfiguration().stationName()); - Assertions.assertEquals("agvaidzceph", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(1247830495, model.bmpConfiguration().stationPort()); + Assertions.assertEquals("pxtsdy", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("gef", model.bmpConfiguration().stationName()); + Assertions.assertEquals("gwphw", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(625644465, model.bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(276088276, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(867682398, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1584995270, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("mrwpe", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("rjbpertjpair", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(74444128, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(1109318809, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(2110666337, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("uhhzwrsj", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("kjsvkbtmlixalph", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicy()); Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, model.bmpConfiguration().monitoredAddressFamilies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkMonitorPatch model = new NetworkMonitorPatch() - .withTags(mapOf("cbcendidhue", "td", "asgukq", "ikwcx", "kiwmqnwmytcc", "kiynbf", "mcgvjb", "irgyutexnzh")) + NetworkMonitorPatch model = new NetworkMonitorPatch().withTags(mapOf("i", "uyrlk", "sabcylzz", "mmrmrjpjthi")) .withBmpConfiguration(new BmpConfigurationPatchProperties() - .withStationConfigurationState(StationConfigurationState.DISABLED) - .withScopeResourceId("qcqyzmrtfdl") - .withStationName("ryyjlikalbcyuwah") - .withStationIp("agvaidzceph") - .withStationPort(1247830495) + .withStationConfigurationState(StationConfigurationState.ENABLED) + .withScopeResourceId("pxtsdy") + .withStationName("gef") + .withStationIp("gwphw") + .withStationPort(625644465) .withStationConnectionMode(StationConnectionMode.PASSIVE) - .withStationConnectionProperties(new StationConnectionPatchProperties().withKeepaliveIdleTime(276088276) - .withProbeInterval(867682398) - .withProbeCount(1584995270)) - .withStationNetwork("mrwpe") - .withMonitoredNetworks(Arrays.asList("rjbpertjpair", "wjmcgi", "sywpejt", "qopugrse")) - .withExportPolicy(BmpExportPolicy.ALL) - .withExportPolicyConfiguration( - new BmpExportPolicyPatchProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.ALL))) - .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.IPV6UNICAST, - BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.IPV4UNICAST))); + .withStationConnectionProperties(new StationConnectionPatchProperties().withKeepaliveIdleTime(74444128) + .withProbeInterval(1109318809) + .withProbeCount(2110666337)) + .withStationNetwork("uhhzwrsj") + .withMonitoredNetworks(Arrays.asList("kjsvkbtmlixalph", "gmin", "e")) + .withExportPolicy(BmpExportPolicy.PRE_POLICY) + .withExportPolicyConfiguration(new BmpExportPolicyPatchProperties() + .withExportPolicies(Arrays.asList(BmpExportPolicy.ALL, BmpExportPolicy.LOCAL_RIB))) + .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV6))); model = BinaryData.fromObject(model).toObject(NetworkMonitorPatch.class); - Assertions.assertEquals("td", model.tags().get("cbcendidhue")); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("uyrlk", model.tags().get("i")); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("qcqyzmrtfdl", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("ryyjlikalbcyuwah", model.bmpConfiguration().stationName()); - Assertions.assertEquals("agvaidzceph", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(1247830495, model.bmpConfiguration().stationPort()); + Assertions.assertEquals("pxtsdy", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("gef", model.bmpConfiguration().stationName()); + Assertions.assertEquals("gwphw", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(625644465, model.bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(276088276, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(867682398, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1584995270, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("mrwpe", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("rjbpertjpair", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(74444128, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(1109318809, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(2110666337, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("uhhzwrsj", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("kjsvkbtmlixalph", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicy()); Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV6, model.bmpConfiguration().monitoredAddressFamilies().get(0)); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPropertiesTests.java index 4e2392e1c09b6..7c9171496c937 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorPropertiesTests.java @@ -20,66 +20,67 @@ public final class NetworkMonitorPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkMonitorProperties model = BinaryData.fromString( - "{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"enbphy\",\"stationName\":\"uzgzr\",\"stationIp\":\"dusebkcfetxp\",\"stationPort\":1241849051,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":370909009,\"probeInterval\":1471026300,\"probeCount\":1624743024},\"stationNetwork\":\"n\",\"monitoredNetworks\":[\"ubqwxvsxrbiyzjl\",\"rwjbsycukbocsits\"],\"exportPolicy\":\"Pre-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\"]},\"monitoredAddressFamilies\":[\"All\"]},\"lastOperation\":{\"details\":\"xjkctyqstta\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\",\"annotation\":\"mubplzoepeqlhb\"}") + "{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"sjyiehkxgfuzq\",\"stationName\":\"zkwlxqdsxi\",\"stationIp\":\"nlbyitfz\",\"stationPort\":1107163168,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":570247573,\"probeInterval\":872818467,\"probeCount\":2041681060},\"stationNetwork\":\"xacrktjoygyn\",\"monitoredNetworks\":[\"gzbbnuglquarbruv\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Pre-Policy\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"ipv6Unicast\",\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"zbhg\"},\"configurationState\":\"CommitStageFailed\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\",\"annotation\":\"cx\"}") .toObject(NetworkMonitorProperties.class); - Assertions.assertEquals("mubplzoepeqlhb", model.annotation()); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("cx", model.annotation()); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("enbphy", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("uzgzr", model.bmpConfiguration().stationName()); - Assertions.assertEquals("dusebkcfetxp", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(1241849051, model.bmpConfiguration().stationPort()); - Assertions.assertEquals(StationConnectionMode.PASSIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(370909009, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1471026300, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1624743024, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("n", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("ubqwxvsxrbiyzjl", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, + Assertions.assertEquals("sjyiehkxgfuzq", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("zkwlxqdsxi", model.bmpConfiguration().stationName()); + Assertions.assertEquals("nlbyitfz", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(1107163168, model.bmpConfiguration().stationPort()); + Assertions.assertEquals(StationConnectionMode.ACTIVE, model.bmpConfiguration().stationConnectionMode()); + Assertions.assertEquals(570247573, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(872818467, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(2041681060, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("xacrktjoygyn", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("gzbbnuglquarbruv", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.ALL, + Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, model.bmpConfiguration().monitoredAddressFamilies().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkMonitorProperties model - = new NetworkMonitorProperties().withAnnotation("mubplzoepeqlhb") + = new NetworkMonitorProperties().withAnnotation("cx") .withBmpConfiguration(new BmpConfigurationProperties() - .withStationConfigurationState(StationConfigurationState.DISABLED) - .withScopeResourceId("enbphy") - .withStationName("uzgzr") - .withStationIp("dusebkcfetxp") - .withStationPort(1241849051) - .withStationConnectionMode(StationConnectionMode.PASSIVE) - .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(370909009) - .withProbeInterval(1471026300) - .withProbeCount(1624743024)) - .withStationNetwork("n") - .withMonitoredNetworks(Arrays.asList("ubqwxvsxrbiyzjl", "rwjbsycukbocsits")) - .withExportPolicy(BmpExportPolicy.PRE_POLICY) + .withStationConfigurationState(StationConfigurationState.ENABLED) + .withScopeResourceId("sjyiehkxgfuzq") + .withStationName("zkwlxqdsxi") + .withStationIp("nlbyitfz") + .withStationPort(1107163168) + .withStationConnectionMode(StationConnectionMode.ACTIVE) + .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(570247573) + .withProbeInterval(872818467) + .withProbeCount(2041681060)) + .withStationNetwork("xacrktjoygyn") + .withMonitoredNetworks(Arrays.asList("gzbbnuglquarbruv")) + .withExportPolicy(BmpExportPolicy.ALL) .withExportPolicyConfiguration( - new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.LOCAL_RIB))) - .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.ALL))); + new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY))) + .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.IPV6UNICAST, + BmpMonitoredAddressFamily.IPV6UNICAST, BmpMonitoredAddressFamily.VPN_IPV6))); model = BinaryData.fromObject(model).toObject(NetworkMonitorProperties.class); - Assertions.assertEquals("mubplzoepeqlhb", model.annotation()); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("cx", model.annotation()); + Assertions.assertEquals(StationConfigurationState.ENABLED, model.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("enbphy", model.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("uzgzr", model.bmpConfiguration().stationName()); - Assertions.assertEquals("dusebkcfetxp", model.bmpConfiguration().stationIp()); - Assertions.assertEquals(1241849051, model.bmpConfiguration().stationPort()); - Assertions.assertEquals(StationConnectionMode.PASSIVE, model.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(370909009, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1471026300, model.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1624743024, model.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("n", model.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("ubqwxvsxrbiyzjl", model.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, + Assertions.assertEquals("sjyiehkxgfuzq", model.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("zkwlxqdsxi", model.bmpConfiguration().stationName()); + Assertions.assertEquals("nlbyitfz", model.bmpConfiguration().stationIp()); + Assertions.assertEquals(1107163168, model.bmpConfiguration().stationPort()); + Assertions.assertEquals(StationConnectionMode.ACTIVE, model.bmpConfiguration().stationConnectionMode()); + Assertions.assertEquals(570247573, model.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); + Assertions.assertEquals(872818467, model.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(2041681060, model.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("xacrktjoygyn", model.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("gzbbnuglquarbruv", model.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.ALL, model.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, model.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.ALL, + Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, model.bmpConfiguration().monitoredAddressFamilies().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateMockTests.java index 5687de3412bf8..91fdf98d5a9ca 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsCreateMockTests.java @@ -31,7 +31,7 @@ public final class NetworkMonitorsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"zbp\",\"stationName\":\"kg\",\"stationIp\":\"spxhhnv\",\"stationPort\":1247096611,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":837373700,\"probeInterval\":1404952445,\"probeCount\":2030531187},\"stationNetwork\":\"efstize\",\"monitoredNetworks\":[\"gzc\"],\"exportPolicy\":\"LocalRib\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\",\"All\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"ipv4Unicast\",\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"jjpxpw\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\",\"annotation\":\"goeillszdg\"},\"location\":\"ozkm\",\"tags\":{\"dvbux\":\"uilyn\",\"vwmybokqpfhs\":\"jiqyrwdmgrfhvew\"},\"id\":\"bpjzoyzy\",\"name\":\"ly\",\"type\":\"zthpnwzpkisefygd\"}"; + = "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"jzqggwarb\",\"stationName\":\"latvb\",\"stationIp\":\"qytodgis\",\"stationPort\":362507221,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":412356057,\"probeInterval\":722520308,\"probeCount\":358450628},\"stationNetwork\":\"nfjwktiyhiykatva\",\"monitoredNetworks\":[\"f\",\"pdafuft\",\"ops\"],\"exportPolicy\":\"LocalRib\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"All\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"vpnIpv6\",\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"wuxygpdm\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\",\"annotation\":\"aswgvo\"},\"location\":\"utdthloafhhiyk\",\"tags\":{\"ptefdvjgbemrjb\":\"sebcuynqdl\",\"pdprjethyhbnoye\":\"vqu\"},\"id\":\"uivdrzxobtekl\",\"name\":\"iqoiblaumog\",\"type\":\"zxwmwrjmtpgkybdk\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -42,53 +42,51 @@ public void testCreate() throws Exception { NetworkMonitor response = manager.networkMonitors() - .define("ulvkisyhnfqne") - .withRegion("r") - .withExistingResourceGroup("kwridroidh") - .withTags(mapOf("xdi", "ecktcwgnkxjd", "wotpiaklefw", "ndz")) + .define("nrmgefxkattpkkw") + .withRegion("ppxthsfux") + .withExistingResourceGroup("lbq") + .withTags(mapOf("xdlewhb", "oexudnbfoorg", "gkwoommqvzzo", "vrip")) .withBmpConfiguration(new BmpConfigurationProperties() - .withStationConfigurationState(StationConfigurationState.DISABLED) - .withScopeResourceId("deahfg") - .withStationName("ahnsmktkhlq") - .withStationIp("jd") - .withStationPort(488618854) - .withStationConnectionMode(StationConnectionMode.ACTIVE) - .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(1813104290) - .withProbeInterval(470891326) - .withProbeCount(2030199154)) - .withStationNetwork("r") - .withMonitoredNetworks(Arrays.asList("ntcbl", "bzoqtfb")) - .withExportPolicy(BmpExportPolicy.LOCAL_RIB) - .withExportPolicyConfiguration( - new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.POST_POLICY, - BmpExportPolicy.POST_POLICY, BmpExportPolicy.PRE_POLICY, BmpExportPolicy.LOCAL_RIB))) + .withStationConfigurationState(StationConfigurationState.ENABLED) + .withScopeResourceId("ig") + .withStationName("kgoptbjooqobpnk") + .withStationIp("uwjrxbbxkhveqb") + .withStationPort(865074486) + .withStationConnectionMode(StationConnectionMode.PASSIVE) + .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(1832891937) + .withProbeInterval(1711878897) + .withProbeCount(1679580347)) + .withStationNetwork("imgzimtzzyjhy") + .withMonitoredNetworks(Arrays.asList("xrwfuxxalvdhm", "ms")) + .withExportPolicy(BmpExportPolicy.PRE_POLICY) + .withExportPolicyConfiguration(new BmpExportPolicyProperties() + .withExportPolicies(Arrays.asList(BmpExportPolicy.LOCAL_RIB, BmpExportPolicy.PRE_POLICY))) .withMonitoredAddressFamilies( - Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.IPV6UNICAST, - BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.VPN_IPV4))) - .withAnnotation("wmmqzb") + Arrays.asList(BmpMonitoredAddressFamily.VPN_IPV4, BmpMonitoredAddressFamily.IPV6UNICAST))) + .withAnnotation("e") .create(); - Assertions.assertEquals("ozkm", response.location()); - Assertions.assertEquals("uilyn", response.tags().get("dvbux")); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("utdthloafhhiyk", response.location()); + Assertions.assertEquals("sebcuynqdl", response.tags().get("ptefdvjgbemrjb")); + Assertions.assertEquals(StationConfigurationState.ENABLED, response.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("zbp", response.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("kg", response.bmpConfiguration().stationName()); - Assertions.assertEquals("spxhhnv", response.bmpConfiguration().stationIp()); - Assertions.assertEquals(1247096611, response.bmpConfiguration().stationPort()); - Assertions.assertEquals(StationConnectionMode.PASSIVE, response.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(837373700, + Assertions.assertEquals("jzqggwarb", response.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("latvb", response.bmpConfiguration().stationName()); + Assertions.assertEquals("qytodgis", response.bmpConfiguration().stationIp()); + Assertions.assertEquals(362507221, response.bmpConfiguration().stationPort()); + Assertions.assertEquals(StationConnectionMode.ACTIVE, response.bmpConfiguration().stationConnectionMode()); + Assertions.assertEquals(412356057, response.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1404952445, response.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(2030531187, response.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("efstize", response.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("gzc", response.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(722520308, response.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(358450628, response.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("nfjwktiyhiykatva", response.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("f", response.bmpConfiguration().monitoredNetworks().get(0)); Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, response.bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, + Assertions.assertEquals(BmpExportPolicy.POST_POLICY, response.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, response.bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("goeillszdg", response.annotation()); + Assertions.assertEquals("aswgvo", response.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupWithResponseMockTests.java index 0edaace19c137..ce2e132ae4ec6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsGetByResourceGroupWithResponseMockTests.java @@ -25,7 +25,7 @@ public final class NetworkMonitorsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"jh\",\"stationName\":\"nyoktcgmcthjgb\",\"stationIp\":\"mxqskemtajjfmkw\",\"stationPort\":81177491,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1566020904,\"probeInterval\":380519040,\"probeCount\":1486559764},\"stationNetwork\":\"cmjiibtvwa\",\"monitoredNetworks\":[\"woptiqf\",\"iavtapc\",\"smapddmmwylr\"],\"exportPolicy\":\"LocalRib\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"LocalRib\",\"All\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"vpnIpv4\",\"All\",\"ipv4Unicast\"]},\"lastOperation\":{\"details\":\"mtnrcvovhyqexuj\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"qbsythycdckcpfom\"},\"location\":\"fwxthrcmgsimgos\",\"tags\":{\"asenye\":\"jgckkb\",\"sahgcchz\":\"mwzgfankeolor\"},\"id\":\"apkhfhuuizyey\",\"name\":\"kinidyjf\",\"type\":\"puuykyvbpneyml\"}"; + = "{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"ppphwvduuzpiooa\",\"stationName\":\"xsofsirit\",\"stationIp\":\"qp\",\"stationPort\":2040835394,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1910448297,\"probeInterval\":196241301,\"probeCount\":148331213},\"stationNetwork\":\"cjnfyubc\",\"monitoredNetworks\":[\"fnqqnum\",\"navfpkleie\"],\"exportPolicy\":\"Pre-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\"]},\"monitoredAddressFamilies\":[\"ipv4Unicast\",\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"dhnbofeucctppbgz\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"vvwd\"},\"location\":\"rqsobusur\",\"tags\":{\"tknywxpmef\":\"dxlbsnskcksf\",\"ugbi\":\"nccbvchozkmifyxd\",\"tqdrkwridro\":\"fn\"},\"id\":\"dhbulvkisy\",\"name\":\"nfqnekpx\",\"type\":\"ddeahfgdjahnsmk\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,29 +35,29 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkMonitor response = manager.networkMonitors() - .getByResourceGroupWithResponse("bsaaxstnziv", "ccgtujiwzbzed", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("dzruuscbs", "tjdioevifzqqs", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("fwxthrcmgsimgos", response.location()); - Assertions.assertEquals("jgckkb", response.tags().get("asenye")); + Assertions.assertEquals("rqsobusur", response.location()); + Assertions.assertEquals("dxlbsnskcksf", response.tags().get("tknywxpmef")); Assertions.assertEquals(StationConfigurationState.ENABLED, response.bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("jh", response.bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("nyoktcgmcthjgb", response.bmpConfiguration().stationName()); - Assertions.assertEquals("mxqskemtajjfmkw", response.bmpConfiguration().stationIp()); - Assertions.assertEquals(81177491, response.bmpConfiguration().stationPort()); + Assertions.assertEquals("ppphwvduuzpiooa", response.bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("xsofsirit", response.bmpConfiguration().stationName()); + Assertions.assertEquals("qp", response.bmpConfiguration().stationIp()); + Assertions.assertEquals(2040835394, response.bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, response.bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(1566020904, + Assertions.assertEquals(1910448297, response.bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(380519040, response.bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(1486559764, response.bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("cmjiibtvwa", response.bmpConfiguration().stationNetwork()); - Assertions.assertEquals("woptiqf", response.bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, response.bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.ALL, + Assertions.assertEquals(196241301, response.bmpConfiguration().stationConnectionProperties().probeInterval()); + Assertions.assertEquals(148331213, response.bmpConfiguration().stationConnectionProperties().probeCount()); + Assertions.assertEquals("cjnfyubc", response.bmpConfiguration().stationNetwork()); + Assertions.assertEquals("fnqqnum", response.bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.PRE_POLICY, response.bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, response.bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, + Assertions.assertEquals(BmpMonitoredAddressFamily.IPV4UNICAST, response.bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("qbsythycdckcpfom", response.annotation()); + Assertions.assertEquals("vvwd", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupMockTests.java index dccf657434089..3ff6a0996534e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListByResourceGroupMockTests.java @@ -26,7 +26,7 @@ public final class NetworkMonitorsListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"axuvazzptlda\",\"stationName\":\"glxhb\",\"stationIp\":\"y\",\"stationPort\":361870828,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":256996951,\"probeInterval\":1733397082,\"probeCount\":136668240},\"stationNetwork\":\"tvnedcclpb\",\"monitoredNetworks\":[\"oiviue\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"Post-Policy\",\"LocalRib\"]},\"monitoredAddressFamilies\":[\"ipv4Unicast\",\"vpnIpv6\"]},\"lastOperation\":{\"details\":\"dtnllkyiqjtxvxgr\"},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\",\"annotation\":\"vhivvoczsry\"},\"location\":\"vii\",\"tags\":{\"bbxkeygmq\":\"qp\",\"cwfcbug\":\"uyusnhnnekhfdlbc\",\"ftp\":\"cccydldavozmibtk\"},\"id\":\"l\",\"name\":\"srran\",\"type\":\"xxwt\"}]}"; + = "{\"value\":[{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"rgxnlaurviyntcb\",\"stationName\":\"bzoqtfb\",\"stationIp\":\"bfktelblbungrkj\",\"stationPort\":2059356347,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":1615310481,\"probeInterval\":1474293082,\"probeCount\":549792700},\"stationNetwork\":\"pijf\",\"monitoredNetworks\":[\"mqzbznrjwsec\",\"tcwg\",\"kxjd\"],\"exportPolicy\":\"LocalRib\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"LocalRib\"]},\"monitoredAddressFamilies\":[\"ipv6Unicast\",\"ipv6Unicast\",\"vpnIpv4\",\"ipv6Unicast\"]},\"lastOperation\":{\"details\":\"klefwaia\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Enabled\",\"annotation\":\"aw\"},\"location\":\"eudcgdljbn\",\"tags\":{\"bpgskgpwspxhhnv\":\"ffnngiu\"},\"id\":\"pzjtiktgmdlw\",\"name\":\"fstizemakgzcmbg\",\"type\":\"llnmddflck\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,31 +36,33 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.networkMonitors().listByResourceGroup("tnnsjc", com.azure.core.util.Context.NONE); + = manager.networkMonitors().listByResourceGroup("khlqdxjdo", com.azure.core.util.Context.NONE); - Assertions.assertEquals("vii", response.iterator().next().location()); - Assertions.assertEquals("qp", response.iterator().next().tags().get("bbxkeygmq")); - Assertions.assertEquals(StationConfigurationState.DISABLED, + Assertions.assertEquals("eudcgdljbn", response.iterator().next().location()); + Assertions.assertEquals("ffnngiu", response.iterator().next().tags().get("bpgskgpwspxhhnv")); + Assertions.assertEquals(StationConfigurationState.ENABLED, response.iterator().next().bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("axuvazzptlda", response.iterator().next().bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("glxhb", response.iterator().next().bmpConfiguration().stationName()); - Assertions.assertEquals("y", response.iterator().next().bmpConfiguration().stationIp()); - Assertions.assertEquals(361870828, response.iterator().next().bmpConfiguration().stationPort()); + Assertions.assertEquals("rgxnlaurviyntcb", response.iterator().next().bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("bzoqtfb", response.iterator().next().bmpConfiguration().stationName()); + Assertions.assertEquals("bfktelblbungrkj", response.iterator().next().bmpConfiguration().stationIp()); + Assertions.assertEquals(2059356347, response.iterator().next().bmpConfiguration().stationPort()); Assertions.assertEquals(StationConnectionMode.PASSIVE, response.iterator().next().bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(256996951, + Assertions.assertEquals(1615310481, response.iterator().next().bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1733397082, + Assertions.assertEquals(1474293082, response.iterator().next().bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(136668240, + Assertions.assertEquals(549792700, response.iterator().next().bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("tvnedcclpb", response.iterator().next().bmpConfiguration().stationNetwork()); - Assertions.assertEquals("oiviue", response.iterator().next().bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.ALL, response.iterator().next().bmpConfiguration().exportPolicy()); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, + Assertions.assertEquals("pijf", response.iterator().next().bmpConfiguration().stationNetwork()); + Assertions.assertEquals("mqzbznrjwsec", + response.iterator().next().bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, + response.iterator().next().bmpConfiguration().exportPolicy()); + Assertions.assertEquals(BmpExportPolicy.LOCAL_RIB, response.iterator().next().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.IPV4UNICAST, + Assertions.assertEquals(BmpMonitoredAddressFamily.IPV6UNICAST, response.iterator().next().bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("vhivvoczsry", response.iterator().next().annotation()); + Assertions.assertEquals("aw", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListMockTests.java index 50703b5ee3805..78d7ce12eb789 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkMonitorsListMockTests.java @@ -26,7 +26,7 @@ public final class NetworkMonitorsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Enabled\",\"scopeResourceId\":\"lkgzczjwizrulrk\",\"stationName\":\"ldttggc\",\"stationIp\":\"mkpobenaahdjnmy\",\"stationPort\":1522172955,\"stationConnectionMode\":\"Passive\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":76390565,\"probeInterval\":1049683223,\"probeCount\":795609687},\"stationNetwork\":\"bv\",\"monitoredNetworks\":[\"hpphjimoecqpqk\",\"nvsu\",\"izxdlrjspx\"],\"exportPolicy\":\"Post-Policy\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"Post-Policy\"]},\"monitoredAddressFamilies\":[\"All\",\"ipv4Unicast\",\"All\"]},\"lastOperation\":{\"details\":\"dsftmllc\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\",\"annotation\":\"g\"},\"location\":\"cforuwqbendz\",\"tags\":{\"qqsvofocppph\":\"scbsttjdioevif\",\"xsofsirit\":\"vduuzpiooac\",\"nouxevizzcjnf\":\"qqpynr\",\"numpna\":\"ubctwnfnq\"},\"id\":\"fpkleieafpvbslly\",\"name\":\"riad\",\"type\":\"nbofeucctppbgzf\"}]}"; + = "{\"value\":[{\"properties\":{\"bmpConfiguration\":{\"stationConfigurationState\":\"Disabled\",\"scopeResourceId\":\"xpwxabvxwoagoe\",\"stationName\":\"lszd\",\"stationIp\":\"xozkmvbzuily\",\"stationPort\":1176971227,\"stationConnectionMode\":\"Active\",\"stationConnectionProperties\":{\"keepaliveIdleTime\":913176702,\"probeInterval\":252027638,\"probeCount\":842213432},\"stationNetwork\":\"wdmgrfhvewgvw\",\"monitoredNetworks\":[\"okqpfh\",\"wbpj\",\"oyzyd\",\"yszthpnwzpkisefy\"],\"exportPolicy\":\"All\",\"exportPolicyConfiguration\":{\"exportPolicies\":[\"All\",\"All\"]},\"monitoredAddressFamilies\":[\"vpnIpv4\",\"vpnIpv4\",\"All\",\"All\"]},\"lastOperation\":{\"details\":\"qkasxiczv\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Enabled\",\"annotation\":\"exbksafnecwyrtl\"},\"location\":\"jye\",\"tags\":{\"iwiaqrc\":\"gpszwvooxieyyww\",\"w\":\"fybktbviaqvzzszc\"},\"id\":\"rxo\",\"name\":\"vygdefpy\",\"type\":\"twwaxx\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,31 +37,29 @@ public void testList() throws Exception { PagedIterable response = manager.networkMonitors().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("cforuwqbendz", response.iterator().next().location()); - Assertions.assertEquals("scbsttjdioevif", response.iterator().next().tags().get("qqsvofocppph")); - Assertions.assertEquals(StationConfigurationState.ENABLED, + Assertions.assertEquals("jye", response.iterator().next().location()); + Assertions.assertEquals("gpszwvooxieyyww", response.iterator().next().tags().get("iwiaqrc")); + Assertions.assertEquals(StationConfigurationState.DISABLED, response.iterator().next().bmpConfiguration().stationConfigurationState()); - Assertions.assertEquals("lkgzczjwizrulrk", response.iterator().next().bmpConfiguration().scopeResourceId()); - Assertions.assertEquals("ldttggc", response.iterator().next().bmpConfiguration().stationName()); - Assertions.assertEquals("mkpobenaahdjnmy", response.iterator().next().bmpConfiguration().stationIp()); - Assertions.assertEquals(1522172955, response.iterator().next().bmpConfiguration().stationPort()); - Assertions.assertEquals(StationConnectionMode.PASSIVE, + Assertions.assertEquals("xpwxabvxwoagoe", response.iterator().next().bmpConfiguration().scopeResourceId()); + Assertions.assertEquals("lszd", response.iterator().next().bmpConfiguration().stationName()); + Assertions.assertEquals("xozkmvbzuily", response.iterator().next().bmpConfiguration().stationIp()); + Assertions.assertEquals(1176971227, response.iterator().next().bmpConfiguration().stationPort()); + Assertions.assertEquals(StationConnectionMode.ACTIVE, response.iterator().next().bmpConfiguration().stationConnectionMode()); - Assertions.assertEquals(76390565, + Assertions.assertEquals(913176702, response.iterator().next().bmpConfiguration().stationConnectionProperties().keepaliveIdleTime()); - Assertions.assertEquals(1049683223, + Assertions.assertEquals(252027638, response.iterator().next().bmpConfiguration().stationConnectionProperties().probeInterval()); - Assertions.assertEquals(795609687, + Assertions.assertEquals(842213432, response.iterator().next().bmpConfiguration().stationConnectionProperties().probeCount()); - Assertions.assertEquals("bv", response.iterator().next().bmpConfiguration().stationNetwork()); - Assertions.assertEquals("hpphjimoecqpqk", - response.iterator().next().bmpConfiguration().monitoredNetworks().get(0)); - Assertions.assertEquals(BmpExportPolicy.POST_POLICY, - response.iterator().next().bmpConfiguration().exportPolicy()); + Assertions.assertEquals("wdmgrfhvewgvw", response.iterator().next().bmpConfiguration().stationNetwork()); + Assertions.assertEquals("okqpfh", response.iterator().next().bmpConfiguration().monitoredNetworks().get(0)); + Assertions.assertEquals(BmpExportPolicy.ALL, response.iterator().next().bmpConfiguration().exportPolicy()); Assertions.assertEquals(BmpExportPolicy.ALL, response.iterator().next().bmpConfiguration().exportPolicyConfiguration().exportPolicies().get(0)); - Assertions.assertEquals(BmpMonitoredAddressFamily.ALL, + Assertions.assertEquals(BmpMonitoredAddressFamily.VPN_IPV4, response.iterator().next().bmpConfiguration().monitoredAddressFamilies().get(0)); - Assertions.assertEquals("g", response.iterator().next().annotation()); + Assertions.assertEquals("exbksafnecwyrtl", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerInnerTests.java index dada8091355ed..407fdb4189401 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerInnerTests.java @@ -17,27 +17,31 @@ public final class NetworkPacketBrokerInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkPacketBrokerInner model = BinaryData.fromString( - "{\"properties\":{\"networkFabricId\":\"oqwb\",\"networkDeviceIds\":[\"lqbzbwb\",\"wzhbhflj\",\"yodpiovnlhrwy\",\"kzu\"],\"sourceInterfaceIds\":[\"pwxsvdeatjiobni\"],\"networkTapIds\":[\"extqd\",\"wtgntimznupb\",\"tbsetko\",\"sqvhe\"],\"neighborGroupIds\":[\"kghcrzmmmj\",\"vdhdgdiwmlgs\"],\"lastOperation\":{\"details\":\"etqjisjm\"},\"provisioningState\":\"Deleting\",\"configurationState\":\"Rejected\"},\"identity\":{\"principalId\":\"kakhgkrv\",\"tenantId\":\"ycvytv\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"zvoortc\":{\"principalId\":\"wfusqp\",\"clientId\":\"xkczbdypbbimhjb\"},\"lkv\":{\"principalId\":\"h\",\"clientId\":\"cyuzlybqscibv\"},\"viulbyl\":{\"principalId\":\"cafn\",\"clientId\":\"hawvc\"}}},\"location\":\"jzrycwpb\",\"tags\":{\"pucknsastlp\":\"whm\",\"j\":\"mgomicttrvlv\",\"xamqecjrzvlcivqx\":\"xok\"},\"id\":\"emklphx\",\"name\":\"wwlojkbgnf\",\"type\":\"rzjv\"}") + "{\"properties\":{\"networkFabricId\":\"bempf\",\"networkDeviceIds\":[\"qnmelyksy\"],\"sourceInterfaceIds\":[\"iclm\",\"lnu\",\"kqvzlbbbajdexq\"],\"networkTapIds\":[\"ex\",\"zbf\",\"etji\",\"w\"],\"neighborGroupIds\":[\"bm\",\"jvvyxtvvxnakzix\",\"kaybfmlngf\",\"hrmvla\"],\"sourceNetworkTapRuleId\":\"ujmwxnrzblxna\",\"lastOperation\":{\"details\":\"mfndcbsyhludzj\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"Accepted\"},\"identity\":{\"principalId\":\"v\",\"tenantId\":\"jfdvtdurmdtacnt\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"wriglbqtrefecl\":{\"principalId\":\"hvqiiasbtwskkf\",\"clientId\":\"yikmxhhqsxjbjk\"},\"cjptnn\":{\"principalId\":\"xcjffzwncvd\",\"clientId\":\"xonzt\"}}},\"location\":\"rcjqpzj\",\"tags\":{\"h\":\"jr\",\"agwviqehmdqvaoli\":\"gsjbi\",\"m\":\"xdfsfvkjc\",\"rkd\":\"rsvxphtjnhptj\"},\"id\":\"yzhimm\",\"name\":\"dtdtft\",\"type\":\"izuzjd\"}") .toObject(NetworkPacketBrokerInner.class); - Assertions.assertEquals("jzrycwpb", model.location()); - Assertions.assertEquals("whm", model.tags().get("pucknsastlp")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); - Assertions.assertEquals("oqwb", model.networkFabricId()); + Assertions.assertEquals("rcjqpzj", model.location()); + Assertions.assertEquals("jr", model.tags().get("h")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("bempf", model.networkFabricId()); + Assertions.assertEquals("ujmwxnrzblxna", model.sourceNetworkTapRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkPacketBrokerInner model = new NetworkPacketBrokerInner().withLocation("jzrycwpb") - .withTags(mapOf("pucknsastlp", "whm", "j", "mgomicttrvlv", "xamqecjrzvlcivqx", "xok")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) - .withUserAssignedIdentities(mapOf("zvoortc", new UserAssignedIdentity(), "lkv", - new UserAssignedIdentity(), "viulbyl", new UserAssignedIdentity()))) - .withNetworkFabricId("oqwb"); + NetworkPacketBrokerInner model = new NetworkPacketBrokerInner().withLocation("rcjqpzj") + .withTags(mapOf("h", "jr", "agwviqehmdqvaoli", "gsjbi", "m", "xdfsfvkjc", "rkd", "rsvxphtjnhptj")) + .withIdentity( + new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf("wriglbqtrefecl", new UserAssignedIdentity(), "cjptnn", new UserAssignedIdentity()))) + .withNetworkFabricId("bempf") + .withSourceNetworkTapRuleId("ujmwxnrzblxna"); model = BinaryData.fromObject(model).toObject(NetworkPacketBrokerInner.class); - Assertions.assertEquals("jzrycwpb", model.location()); - Assertions.assertEquals("whm", model.tags().get("pucknsastlp")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); - Assertions.assertEquals("oqwb", model.networkFabricId()); + Assertions.assertEquals("rcjqpzj", model.location()); + Assertions.assertEquals("jr", model.tags().get("h")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("bempf", model.networkFabricId()); + Assertions.assertEquals("ujmwxnrzblxna", model.sourceNetworkTapRuleId()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchPropertiesTests.java new file mode 100644 index 0000000000000..a65baa7e6d0ab --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchPropertiesTests.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatchProperties; +import org.junit.jupiter.api.Assertions; + +public final class NetworkPacketBrokerPatchPropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + NetworkPacketBrokerPatchProperties model = BinaryData.fromString("{\"sourceNetworkTapRuleId\":\"n\"}") + .toObject(NetworkPacketBrokerPatchProperties.class); + Assertions.assertEquals("n", model.sourceNetworkTapRuleId()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + NetworkPacketBrokerPatchProperties model + = new NetworkPacketBrokerPatchProperties().withSourceNetworkTapRuleId("n"); + model = BinaryData.fromObject(model).toObject(NetworkPacketBrokerPatchProperties.class); + Assertions.assertEquals("n", model.sourceNetworkTapRuleId()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchTests.java index 182f0ab004384..1ece9f8c5566e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPatchTests.java @@ -8,6 +8,7 @@ import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch; import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType; import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatch; +import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatchProperties; import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity; import java.util.HashMap; import java.util.Map; @@ -17,20 +18,24 @@ public final class NetworkPacketBrokerPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkPacketBrokerPatch model = BinaryData.fromString( - "{\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"xnyprijyoxxj\":{\"principalId\":\"fbgynzfwv\",\"clientId\":\"teqjmyqxuhgk\"}}},\"tags\":{\"pjmspau\":\"owrrlcckly\"}}") + "{\"properties\":{\"sourceNetworkTapRuleId\":\"hwesrtja\"},\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"piobnhrfbrjokjwq\":{\"principalId\":\"cypm\",\"clientId\":\"vspsaneyvae\"},\"djwlzseodtqfdr\":{\"principalId\":\"raq\",\"clientId\":\"lppqcaigazwfwlr\"}}},\"tags\":{\"uhytjwgetfi\":\"ymqxserwy\"}}") .toObject(NetworkPacketBrokerPatch.class); - Assertions.assertEquals("owrrlcckly", model.tags().get("pjmspau")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("ymqxserwy", model.tags().get("uhytjwgetfi")); + Assertions.assertEquals("hwesrtja", model.properties().sourceNetworkTapRuleId()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkPacketBrokerPatch model = new NetworkPacketBrokerPatch().withTags(mapOf("pjmspau", "owrrlcckly")) - .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("xnyprijyoxxj", new UserAssignedIdentity()))); + NetworkPacketBrokerPatch model = new NetworkPacketBrokerPatch().withTags(mapOf("uhytjwgetfi", "ymqxserwy")) + .withProperties(new NetworkPacketBrokerPatchProperties().withSourceNetworkTapRuleId("hwesrtja")) + .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities(mapOf("piobnhrfbrjokjwq", new UserAssignedIdentity(), "djwlzseodtqfdr", + new UserAssignedIdentity()))); model = BinaryData.fromObject(model).toObject(NetworkPacketBrokerPatch.class); - Assertions.assertEquals("owrrlcckly", model.tags().get("pjmspau")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("ymqxserwy", model.tags().get("uhytjwgetfi")); + Assertions.assertEquals("hwesrtja", model.properties().sourceNetworkTapRuleId()); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPropertiesTests.java index 28828f0a4ac35..7799c6443c632 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokerPropertiesTests.java @@ -12,15 +12,18 @@ public final class NetworkPacketBrokerPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkPacketBrokerProperties model = BinaryData.fromString( - "{\"networkFabricId\":\"sunhaevlah\",\"networkDeviceIds\":[\"ywywuahwcorewcn\",\"aaxqjfda\"],\"sourceInterfaceIds\":[\"gim\"],\"networkTapIds\":[\"gewdqbxexfyzn\"],\"neighborGroupIds\":[\"suqkslwsfx\",\"yzqbye\"],\"lastOperation\":{\"details\":\"mohnrtl\"},\"provisioningState\":\"Updating\",\"configurationState\":\"ErrorProvisioning\"}") + "{\"networkFabricId\":\"rgyzcslazp\",\"networkDeviceIds\":[\"oyimxpggktteag\",\"gacnqp\"],\"sourceInterfaceIds\":[\"tvudeylpbybki\"],\"networkTapIds\":[\"ifm\"],\"neighborGroupIds\":[\"pwdj\",\"au\",\"fshznu\"],\"sourceNetworkTapRuleId\":\"tuhaaaxxdcdjmdk\",\"lastOperation\":{\"details\":\"frmbecxstow\"},\"provisioningState\":\"Failed\",\"configurationState\":\"Deprovisioned\"}") .toObject(NetworkPacketBrokerProperties.class); - Assertions.assertEquals("sunhaevlah", model.networkFabricId()); + Assertions.assertEquals("rgyzcslazp", model.networkFabricId()); + Assertions.assertEquals("tuhaaaxxdcdjmdk", model.sourceNetworkTapRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkPacketBrokerProperties model = new NetworkPacketBrokerProperties().withNetworkFabricId("sunhaevlah"); + NetworkPacketBrokerProperties model = new NetworkPacketBrokerProperties().withNetworkFabricId("rgyzcslazp") + .withSourceNetworkTapRuleId("tuhaaaxxdcdjmdk"); model = BinaryData.fromObject(model).toObject(NetworkPacketBrokerProperties.class); - Assertions.assertEquals("sunhaevlah", model.networkFabricId()); + Assertions.assertEquals("rgyzcslazp", model.networkFabricId()); + Assertions.assertEquals("tuhaaaxxdcdjmdk", model.sourceNetworkTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateMockTests.java index 98dfd5f0de107..651b887d1b78f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersCreateMockTests.java @@ -26,7 +26,7 @@ public final class NetworkPacketBrokersCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"networkFabricId\":\"sjxf\",\"networkDeviceIds\":[\"oartvkhufktqgtjf\",\"ctreotzgkokfztrv\"],\"sourceInterfaceIds\":[\"tnnwamk\"],\"networkTapIds\":[\"skmhdwsbz\"],\"neighborGroupIds\":[\"gerwotlp\"],\"lastOperation\":{\"details\":\"oslqmftkqzafjy\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Accepted\"},\"identity\":{\"principalId\":\"aboee\",\"tenantId\":\"lecqyzdyz\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ksoqzzyrovvnac\":{\"principalId\":\"kbtnhiaqegjvhyv\",\"clientId\":\"bhclb\"},\"gvydtjebb\":{\"principalId\":\"jmhclhcqcjngwmb\",\"clientId\":\"gsidasovlrj\"}}},\"location\":\"scirztsapxxbkx\",\"tags\":{\"mlgsghcnyb\":\"fhecpstfekbsly\",\"zogs\":\"vzltbgwjaepjmkr\"},\"id\":\"zoqjbnfaxcdcmqej\",\"name\":\"sirotj\",\"type\":\"ltugobscpt\"}"; + = "{\"properties\":{\"networkFabricId\":\"ajqnsrcqd\",\"networkDeviceIds\":[\"lqa\",\"dlcukdmrvr\"],\"sourceInterfaceIds\":[\"cclsnprdartq\",\"abbxexacgmtpk\",\"bwobovexsnmwwhbm\",\"jlsztpygqwkdlx\"],\"networkTapIds\":[\"mkc\",\"mksfejzmyvlbz\",\"n\",\"xzpdnb\"],\"neighborGroupIds\":[\"hddvtnbtvlgkjfk\",\"oewimyiz\",\"glzzaufinwvyx\"],\"sourceNetworkTapRuleId\":\"ykng\",\"lastOperation\":{\"details\":\"gpyvjgsjyjn\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Provisioned\"},\"identity\":{\"principalId\":\"nc\",\"tenantId\":\"zuerrvpamfpin\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"sollrquul\":{\"principalId\":\"kmfb\",\"clientId\":\"uhylqgeovnlbj\"},\"ppvpgsrfshk\":{\"principalId\":\"xrc\",\"clientId\":\"hicvrmwbgpcalqb\"},\"xibrooogijiqwxwp\":{\"principalId\":\"spb\",\"clientId\":\"ev\"}}},\"location\":\"d\",\"tags\":{\"vruhdjzivlaxii\":\"pr\"},\"id\":\"qnqmbf\",\"name\":\"tzixmksxxbdtjvv\",\"type\":\"gnvkkzulmqxf\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,20 +36,22 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkPacketBroker response = manager.networkPacketBrokers() - .define("myr") - .withRegion("qekqtiuveaz") - .withExistingResourceGroup("qegerxmlfnug") - .withNetworkFabricId("rt") - .withTags(mapOf("lspih", "wbiwygwpwquxiqg", "fizef", "xgvviotvoolk", "fwaehs", "brndaquxvuf")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE) - .withUserAssignedIdentities(mapOf("nrys", new UserAssignedIdentity(), "ddvnobesowbtnfq", - new UserAssignedIdentity(), "ajiotlcxofqjninr", new UserAssignedIdentity()))) + .define("tdbe") + .withRegion("azztvotf") + .withExistingResourceGroup("zvzqhvzjdsn") + .withNetworkFabricId("nigozjrcx") + .withTags(mapOf("oszcmfmynljigj", "yfxkfgxxefzliguw", "dmwtiv", "nk")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("xazuboigorwpbbjz", new UserAssignedIdentity(), "tyypercazcchvww", + new UserAssignedIdentity()))) + .withSourceNetworkTapRuleId("e") .create(); - Assertions.assertEquals("scirztsapxxbkx", response.location()); - Assertions.assertEquals("fhecpstfekbsly", response.tags().get("mlgsghcnyb")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type()); - Assertions.assertEquals("sjxf", response.networkFabricId()); + Assertions.assertEquals("d", response.location()); + Assertions.assertEquals("pr", response.tags().get("vruhdjzivlaxii")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); + Assertions.assertEquals("ajqnsrcqd", response.networkFabricId()); + Assertions.assertEquals("ykng", response.sourceNetworkTapRuleId()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupWithResponseMockTests.java index 99d2a6e0ed157..60e245da3a348 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersGetByResourceGroupWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class NetworkPacketBrokersGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"networkFabricId\":\"nkkxoicb\",\"networkDeviceIds\":[\"fv\",\"tbocqhvtp\",\"vppvgrigjegr\"],\"sourceInterfaceIds\":[\"oqbzrclar\",\"tfmfkuvybemo\"],\"networkTapIds\":[\"shqvkuqkzvzqh\",\"z\"],\"neighborGroupIds\":[\"nvtdbeani\",\"ozjrc\",\"aq\"],\"lastOperation\":{\"details\":\"almzpfylqevwwvz\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Provisioning\"},\"identity\":{\"principalId\":\"ropzgjleec\",\"tenantId\":\"bhqkvbins\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"bpatwbb\":{\"principalId\":\"egoupdqeflvd\",\"clientId\":\"qcqlexobeekzy\"},\"y\":{\"principalId\":\"dfl\",\"clientId\":\"wohlcahhf\"},\"uzeeb\":{\"principalId\":\"dhitavgayuspz\",\"clientId\":\"vibp\"},\"lhsxeasxs\":{\"principalId\":\"fepwkhruzzwgb\",\"clientId\":\"zivfoyqv\"}}},\"location\":\"uvvscbpkmohd\",\"tags\":{\"uzvmorsyirf\":\"rqyib\"},\"id\":\"xazuboigorwpbbjz\",\"name\":\"vaqoilgkznn\",\"type\":\"pvjwegoviceqyraj\"}"; + = "{\"properties\":{\"networkFabricId\":\"kf\",\"networkDeviceIds\":[\"scndbklsc\",\"kafaqqipvnvdz\",\"sssncghgi\",\"qkotxodbxzhadm\"],\"sourceInterfaceIds\":[\"nootcyyupa\",\"d\"],\"networkTapIds\":[\"hnzkmjoybyogwjr\",\"snryk\",\"hxawohsj\",\"wxphnlw\"],\"neighborGroupIds\":[\"vrixcveser\"],\"sourceNetworkTapRuleId\":\"lhcjgjuopvkrmspk\",\"lastOperation\":{\"details\":\"dmbxfy\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"DeferredControl\"},\"identity\":{\"principalId\":\"fyvkxgoxsv\",\"tenantId\":\"ucuxwnoj\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ngguucp\":{\"principalId\":\"mbnfvygtt\",\"clientId\":\"fjalpsycvcksz\"}}},\"location\":\"sxnujwffthbzii\",\"tags\":{\"c\":\"lbcc\",\"bdevjrbgcdx\":\"au\"},\"id\":\"gsteeksbksvvyvo\",\"name\":\"bvvuqwljmzpyuk\",\"type\":\"w\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,12 +32,13 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkPacketBroker response = manager.networkPacketBrokers() - .getByResourceGroupWithResponse("hhtttyhypid", "jjjfcysk", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("hljtkuyvytfuq", "stqbxpyfawkjei", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("uvvscbpkmohd", response.location()); - Assertions.assertEquals("rqyib", response.tags().get("uzvmorsyirf")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("nkkxoicb", response.networkFabricId()); + Assertions.assertEquals("sxnujwffthbzii", response.location()); + Assertions.assertEquals("lbcc", response.tags().get("c")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type()); + Assertions.assertEquals("kf", response.networkFabricId()); + Assertions.assertEquals("lhcjgjuopvkrmspk", response.sourceNetworkTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupMockTests.java index d5a127359f203..81887d8d6c4d1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListByResourceGroupMockTests.java @@ -23,7 +23,7 @@ public final class NetworkPacketBrokersListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkFabricId\":\"rcazcc\",\"networkDeviceIds\":[\"wc\",\"azztvotf\"],\"sourceInterfaceIds\":[\"yfxkfgxxefzliguw\",\"oszcmfmynljigj\"],\"networkTapIds\":[\"a\",\"m\",\"tivsknewpnp\"],\"neighborGroupIds\":[\"vjbnhbxvvuf\",\"ukjuo\",\"ajqnsrcqd\",\"hmlqamdlcukdm\"],\"lastOperation\":{\"details\":\"ya\"},\"provisioningState\":\"Updating\",\"configurationState\":\"PendingCommit\"},\"identity\":{\"principalId\":\"r\",\"tenantId\":\"r\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"whbmujlsztp\":{\"principalId\":\"bxexacgmtpkxbwo\",\"clientId\":\"vexsnm\"},\"mkc\":{\"principalId\":\"q\",\"clientId\":\"dlxsn\"},\"nb\":{\"principalId\":\"ksfejzmyv\",\"clientId\":\"zmngxzp\"},\"imyizdglzzaufin\":{\"principalId\":\"vhddvtnbtv\",\"clientId\":\"kjfkaoe\"}}},\"location\":\"yxy\",\"tags\":{\"nhwbbhwrncxw\":\"ngntjgpyvjgsjy\",\"piniopbfkmfbru\":\"uerrvpam\"},\"id\":\"hylqgeovnlb\",\"name\":\"fsol\",\"type\":\"rqu\"}]}"; + = "{\"value\":[{\"properties\":{\"networkFabricId\":\"bkceb\",\"networkDeviceIds\":[\"pu\",\"mtjsklkw\"],\"sourceInterfaceIds\":[\"qiqckmfxld\",\"tmandejne\",\"rfqjhcdpw\",\"ezb\"],\"networkTapIds\":[\"llqpcijyxcmqcgg\",\"srorxejfharphltl\",\"traylxzdu\"],\"neighborGroupIds\":[\"hbaogfwbk\",\"dha\",\"egysq\",\"mlbzixpdat\"],\"sourceNetworkTapRuleId\":\"dvwwej\",\"lastOperation\":{\"details\":\"wyrioqwmhcpuj\"},\"provisioningState\":\"Failed\",\"configurationState\":\"PendingAdministrativeUpdate\"},\"identity\":{\"principalId\":\"gbssqthcywyoqxp\",\"tenantId\":\"ocfxlrzjjff\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"yuxqdrphi\":{\"principalId\":\"ljf\",\"clientId\":\"lwlzekygnep\"},\"pfzsf\":{\"principalId\":\"jq\",\"clientId\":\"npztlac\"},\"vyhsorcavkfhyoi\":{\"principalId\":\"a\",\"clientId\":\"brwvio\"}}},\"location\":\"wedfteratvpkg\",\"tags\":{\"zdmhepfjdiwzgw\":\"muj\",\"chvqwhscvaqdxgel\":\"um\"},\"id\":\"j\",\"name\":\"ftqkg\",\"type\":\"vgoul\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,12 +33,13 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.networkPacketBrokers().listByResourceGroup("vvsaatyyp", com.azure.core.util.Context.NONE); + = manager.networkPacketBrokers().listByResourceGroup("vhcgtctnqdcg", com.azure.core.util.Context.NONE); - Assertions.assertEquals("yxy", response.iterator().next().location()); - Assertions.assertEquals("ngntjgpyvjgsjy", response.iterator().next().tags().get("nhwbbhwrncxw")); + Assertions.assertEquals("wedfteratvpkg", response.iterator().next().location()); + Assertions.assertEquals("muj", response.iterator().next().tags().get("zdmhepfjdiwzgw")); Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals("rcazcc", response.iterator().next().networkFabricId()); + Assertions.assertEquals("bkceb", response.iterator().next().networkFabricId()); + Assertions.assertEquals("dvwwej", response.iterator().next().sourceNetworkTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListMockTests.java index c75b595deb50c..0db94f6d2cca5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListMockTests.java @@ -23,7 +23,7 @@ public final class NetworkPacketBrokersListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkFabricId\":\"lnhxr\",\"networkDeviceIds\":[\"hicvrmwbgpcalqb\",\"ppvpgsrfshk\",\"gspboaevtxibroo\"],\"sourceInterfaceIds\":[\"jiqwxwpub\",\"hqnprbvruhdjziv\",\"axiimqnqmbfptz\"],\"networkTapIds\":[\"ksxxbdtjvv\",\"gnvkkzulmqxf\",\"cinwij\",\"eyxt\"],\"neighborGroupIds\":[\"xttobosjxbnyt\",\"e\"],\"lastOperation\":{\"details\":\"ditumyycvtya\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"ErrorDeprovisioning\"},\"identity\":{\"principalId\":\"pjqhivxblq\",\"tenantId\":\"hj\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"drdxoutkgezuln\":{\"principalId\":\"eoutqo\",\"clientId\":\"btqibqbougcwzgd\"},\"poeoywykhhavwhr\":{\"principalId\":\"pbarejxjhl\",\"clientId\":\"lj\"},\"eearbbxaneviqk\":{\"principalId\":\"vzrccy\",\"clientId\":\"xlsypwu\"},\"jhdlx\":{\"principalId\":\"pvidzhjcppqcgbp\",\"clientId\":\"ni\"}}},\"location\":\"tbtlhar\",\"tags\":{\"ngdulvdenhg\":\"kpasuug\",\"snljduwkbozlmrh\":\"vaimkoyrp\",\"tevvowiyp\":\"ghvlvdjxbjqiab\",\"cfta\":\"ljzkxkdfyv\"},\"id\":\"ydcrjlh\",\"name\":\"neykxewemtazmrej\",\"type\":\"px\"}]}"; + = "{\"value\":[{\"properties\":{\"networkFabricId\":\"xpay\",\"networkDeviceIds\":[\"astbkskkzi\"],\"sourceInterfaceIds\":[\"wyod\",\"mplgdxdtxbrdbw\",\"qtxpf\"],\"networkTapIds\":[\"fvhbbnoevkkrlkdo\",\"kqscmdsjgows\",\"lgu\"],\"neighborGroupIds\":[\"qlhhmbyfacex\"],\"sourceNetworkTapRuleId\":\"pqykicesqpvmoxil\",\"lastOperation\":{\"details\":\"qiqsriubem\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"PendingAdministrativeUpdate\"},\"identity\":{\"principalId\":\"enrbngcafmophtky\",\"tenantId\":\"gayngmowvcnvfgqx\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"cbamto\":{\"principalId\":\"apdnslroqxrvy\",\"clientId\":\"dniomggyxmpms\"},\"dsxilefi\":{\"principalId\":\"eamoyxd\",\"clientId\":\"kggzmylqhqeos\"}}},\"location\":\"tdawgk\",\"tags\":{\"ttyh\":\"h\",\"kxoicbxsmfvltbo\":\"pidzjjjfcyskpn\",\"grlgkoqbzrclarr\":\"qhvtpmvppvgrigj\"},\"id\":\"fmfkuvybem\",\"name\":\"ramsh\",\"type\":\"vkuq\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,10 +35,10 @@ public void testList() throws Exception { PagedIterable response = manager.networkPacketBrokers().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("tbtlhar", response.iterator().next().location()); - Assertions.assertEquals("kpasuug", response.iterator().next().tags().get("ngdulvdenhg")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, - response.iterator().next().identity().type()); - Assertions.assertEquals("lnhxr", response.iterator().next().networkFabricId()); + Assertions.assertEquals("tdawgk", response.iterator().next().location()); + Assertions.assertEquals("h", response.iterator().next().tags().get("ttyh")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.iterator().next().identity().type()); + Assertions.assertEquals("xpay", response.iterator().next().networkFabricId()); + Assertions.assertEquals("pqykicesqpvmoxil", response.iterator().next().sourceNetworkTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListResultTests.java index f1f27b5ebdbc6..1f45472ced3c3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkPacketBrokersListResultTests.java @@ -13,12 +13,14 @@ public final class NetworkPacketBrokersListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkPacketBrokersListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"networkFabricId\":\"qom\",\"networkDeviceIds\":[\"lknuyapvibzicyvi\",\"hcaptkhjx\",\"rkbn\",\"fcck\"],\"sourceInterfaceIds\":[\"znfgvlx\"],\"networkTapIds\":[\"nctigpksywi\",\"k\"],\"neighborGroupIds\":[\"gk\"],\"lastOperation\":{\"details\":\"tqjytdc\"},\"provisioningState\":\"Updating\",\"configurationState\":\"Deprovisioned\"},\"identity\":{\"principalId\":\"wbvjsbgmlamoa\",\"tenantId\":\"ayt\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"bvepvlryszfhd\":{\"principalId\":\"pbltc\",\"clientId\":\"exheeocnqo\"},\"slcof\":{\"principalId\":\"fhxohz\",\"clientId\":\"hhavzfuxnvk\"}}},\"location\":\"tfuehouisak\",\"tags\":{\"sspmjvailfauyv\":\"fddxqfussub\",\"wlkqdgwbztrthl\":\"p\",\"dhg\":\"wvoglff\"},\"id\":\"lor\",\"name\":\"hbtofc\",\"type\":\"xk\"},{\"properties\":{\"networkFabricId\":\"lhcnsdylmnqunk\",\"networkDeviceIds\":[\"ptmsgk\",\"edw\",\"xtzhgbgbhud\",\"rpjimvrrqfi\"],\"sourceInterfaceIds\":[\"wmam\",\"lfi\",\"judd\"],\"networkTapIds\":[\"hupngyhylqyafew\"],\"neighborGroupIds\":[\"dxwuuy\"],\"lastOperation\":{\"details\":\"xrqxrtzea\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"ErrorProvisioning\"},\"identity\":{\"principalId\":\"bjhmvpjxs\",\"tenantId\":\"w\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"mwg\":{\"principalId\":\"bffqc\",\"clientId\":\"ynepkt\"},\"okbskkyporsy\":{\"principalId\":\"onysebjijfhpxni\",\"clientId\":\"uoxfa\"},\"tvjfqreeoxvqj\":{\"principalId\":\"eunbydlg\",\"clientId\":\"phwuubwtsayn\"}}},\"location\":\"nblihs\",\"tags\":{\"miaoaweacfx\":\"bmdivixzhpjgq\",\"dckhsq\":\"ubuhruetcnxriqz\",\"rxmyokohlsf\":\"rrjsurnowobw\",\"uvkqxqkvadmj\":\"fouqjpzhea\"},\"id\":\"ymudj\",\"name\":\"aajzdebhsermcl\",\"type\":\"qwwuhyqkaaptbs\"},{\"properties\":{\"networkFabricId\":\"vkbcbptwyb\",\"networkDeviceIds\":[\"cuhp\"],\"sourceInterfaceIds\":[\"bnsshvq\"],\"networkTapIds\":[\"zbeuybutcdzjf\",\"tvpeyxdyuxurxr\",\"tqmmijgpqfkwna\",\"ikczscymqfv\"],\"neighborGroupIds\":[\"pqnyumzapdok\"],\"lastOperation\":{\"details\":\"pe\"},\"provisioningState\":\"Failed\",\"configurationState\":\"ErrorProvisioning\"},\"identity\":{\"principalId\":\"zbflbqmhbiyxx\",\"tenantId\":\"edhagqbbse\",\"type\":\"None\",\"userAssignedIdentities\":{\"bo\":{\"principalId\":\"flmsy\",\"clientId\":\"dcrolrze\"},\"uszbdjrdfeuj\":{\"principalId\":\"h\",\"clientId\":\"ymunwjivt\"},\"zmdahyclxrs\":{\"principalId\":\"dalisdeqn\",\"clientId\":\"aydzinlooulp\"},\"rtnhrevimxmax\":{\"principalId\":\"oebld\",\"clientId\":\"iaffj\"}}},\"location\":\"ppitygvd\",\"tags\":{\"nqekwankl\":\"oqtbfkvuozbzc\",\"rwiyndurdonkgobx\":\"urlcydjhtkjs\",\"olenrswknpdr\":\"lr\",\"fqckie\":\"nmzaofro\"},\"id\":\"yr\",\"name\":\"jyoybkqftusdw\",\"type\":\"nrtv\"}],\"nextLink\":\"ucnnrovom\"}") + "{\"value\":[{\"properties\":{\"networkFabricId\":\"jxzi\",\"networkDeviceIds\":[\"jrahgdstu\",\"wggxzsshxl\",\"qmsckwhfm\"],\"sourceInterfaceIds\":[\"iyobqzwjalwr\"],\"networkTapIds\":[\"xcacrmvjfmrsuydl\",\"prel\"],\"neighborGroupIds\":[\"k\"],\"sourceNetworkTapRuleId\":\"ztirjvqxvwkiocxo\",\"lastOperation\":{\"details\":\"wbuocqflmnlrlqx\"},\"provisioningState\":\"Failed\",\"configurationState\":\"Deprovisioned\"},\"identity\":{\"principalId\":\"yozdbc\",\"tenantId\":\"nlsjxcscnitodmra\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"bnhi\":{\"principalId\":\"odnvltcvma\",\"clientId\":\"uwkup\"},\"simtfcqmmy\":{\"principalId\":\"hyzhrcqdfwbifn\",\"clientId\":\"lsfo\"},\"nfu\":{\"principalId\":\"rpelpfijtezg\",\"clientId\":\"peszamadlerz\"}}},\"location\":\"czktllxswt\",\"tags\":{\"c\":\"smirmnrijefmrtw\",\"hgffmwtblgm\":\"vdsp\"},\"id\":\"okqoikx\",\"name\":\"efwlnm\",\"type\":\"kffcnuestbsl\"},{\"properties\":{\"networkFabricId\":\"e\",\"networkDeviceIds\":[\"ccote\",\"ikjiytehhxt\"],\"sourceInterfaceIds\":[\"dwbymuqlngncrd\",\"rctysecpekhxdb\"],\"networkTapIds\":[\"tzcvimmwckoz\",\"lfymtrts\"],\"neighborGroupIds\":[\"pqtz\",\"k\"],\"sourceNetworkTapRuleId\":\"cbkgnrfrjsc\",\"lastOperation\":{\"details\":\"nc\"},\"provisioningState\":\"Deleting\",\"configurationState\":\"Failed\"},\"identity\":{\"principalId\":\"bgd\",\"tenantId\":\"imorzolxosgiht\",\"type\":\"None\",\"userAssignedIdentities\":{\"shesgcsqose\":{\"principalId\":\"bmxqfgvz\",\"clientId\":\"qs\"},\"mfxzspf\":{\"principalId\":\"lngoufp\",\"clientId\":\"p\"}}},\"location\":\"slazipplxgtdu\",\"tags\":{\"axozqthkwxf\":\"ycildrzn\"},\"id\":\"gfzizyxduy\",\"name\":\"nqzbrq\",\"type\":\"akmfc\"}],\"nextLink\":\"iyjucamnsbqoi\"}") .toObject(NetworkPacketBrokersListResult.class); - Assertions.assertEquals("tfuehouisak", model.value().get(0).location()); - Assertions.assertEquals("fddxqfussub", model.value().get(0).tags().get("sspmjvailfauyv")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.value().get(0).identity().type()); - Assertions.assertEquals("qom", model.value().get(0).networkFabricId()); - Assertions.assertEquals("ucnnrovom", model.nextLink()); + Assertions.assertEquals("czktllxswt", model.value().get(0).location()); + Assertions.assertEquals("smirmnrijefmrtw", model.value().get(0).tags().get("c")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, + model.value().get(0).identity().type()); + Assertions.assertEquals("jxzi", model.value().get(0).networkFabricId()); + Assertions.assertEquals("ztirjvqxvwkiocxo", model.value().get(0).sourceNetworkTapRuleId()); + Assertions.assertEquals("iyjucamnsbqoi", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackInnerTests.java index 53e8612720060..df023ac307834 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackInnerTests.java @@ -15,29 +15,29 @@ public final class NetworkRackInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkRackInner model = BinaryData.fromString( - "{\"properties\":{\"networkRackType\":\"Combined\",\"networkFabricId\":\"wsicvwqzoc\",\"networkDevices\":[\"hennmsgpywdib\",\"gvnrgalvwrhr\",\"ibrbknuubxc\",\"ojtu\"],\"lastOperation\":{\"details\":\"vnpyeevffifujgtd\"},\"provisioningState\":\"Updating\",\"configurationState\":\"Provisioning\",\"annotation\":\"efc\"},\"location\":\"bpchrtc\",\"tags\":{\"djlgkuirxxeuwii\":\"cujyznvyrj\",\"dviw\":\"rcvnfg\",\"xbvxgx\":\"ohktxagfujdbqjny\",\"asfeooq\":\"q\"},\"id\":\"tpvev\",\"name\":\"arp\",\"type\":\"klqlii\"}") + "{\"properties\":{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"mucjiuh\",\"networkDevices\":[\"vehyklel\",\"qdvpqfbxgycudusd\"],\"lastOperation\":{\"details\":\"qlefnohey\"},\"provisioningState\":\"Canceled\",\"configurationState\":\"Provisioned\",\"annotation\":\"yllre\"},\"location\":\"nj\",\"tags\":{\"wxhqhgkh\":\"msfwtwrsvevcneq\",\"t\":\"bzvulqevvjncpmy\",\"fbcyjrtalqeebud\":\"gdmvghcmixmlwkf\"},\"id\":\"yimooaezkto\",\"name\":\"sgoihlqwbyw\",\"type\":\"azbaeeekfztvn\"}") .toObject(NetworkRackInner.class); - Assertions.assertEquals("bpchrtc", model.location()); - Assertions.assertEquals("cujyznvyrj", model.tags().get("djlgkuirxxeuwii")); - Assertions.assertEquals(NetworkRackType.COMBINED, model.networkRackType()); - Assertions.assertEquals("wsicvwqzoc", model.networkFabricId()); - Assertions.assertEquals("efc", model.annotation()); + Assertions.assertEquals("nj", model.location()); + Assertions.assertEquals("msfwtwrsvevcneq", model.tags().get("wxhqhgkh")); + Assertions.assertEquals(NetworkRackType.AGGREGATE, model.networkRackType()); + Assertions.assertEquals("mucjiuh", model.networkFabricId()); + Assertions.assertEquals("yllre", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkRackInner model = new NetworkRackInner().withLocation("bpchrtc") + NetworkRackInner model = new NetworkRackInner().withLocation("nj") .withTags( - mapOf("djlgkuirxxeuwii", "cujyznvyrj", "dviw", "rcvnfg", "xbvxgx", "ohktxagfujdbqjny", "asfeooq", "q")) - .withNetworkRackType(NetworkRackType.COMBINED) - .withNetworkFabricId("wsicvwqzoc") - .withAnnotation("efc"); + mapOf("wxhqhgkh", "msfwtwrsvevcneq", "t", "bzvulqevvjncpmy", "fbcyjrtalqeebud", "gdmvghcmixmlwkf")) + .withNetworkRackType(NetworkRackType.AGGREGATE) + .withNetworkFabricId("mucjiuh") + .withAnnotation("yllre"); model = BinaryData.fromObject(model).toObject(NetworkRackInner.class); - Assertions.assertEquals("bpchrtc", model.location()); - Assertions.assertEquals("cujyznvyrj", model.tags().get("djlgkuirxxeuwii")); - Assertions.assertEquals(NetworkRackType.COMBINED, model.networkRackType()); - Assertions.assertEquals("wsicvwqzoc", model.networkFabricId()); - Assertions.assertEquals("efc", model.annotation()); + Assertions.assertEquals("nj", model.location()); + Assertions.assertEquals("msfwtwrsvevcneq", model.tags().get("wxhqhgkh")); + Assertions.assertEquals(NetworkRackType.AGGREGATE, model.networkRackType()); + Assertions.assertEquals("mucjiuh", model.networkFabricId()); + Assertions.assertEquals("yllre", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPatchTests.java index e8f4e3628a870..2bdba16eb6b06 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPatchTests.java @@ -13,18 +13,16 @@ public final class NetworkRackPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - NetworkRackPatch model = BinaryData.fromString( - "{\"tags\":{\"jogcphivfhrmte\":\"edogzougxbxx\",\"usrjzhdtrsyfezf\":\"fdvdoeary\",\"jdzyyrwnmwtq\":\"my\",\"fphfxaqjyihjcww\":\"ljknnkynkstdtfwh\"}}") - .toObject(NetworkRackPatch.class); - Assertions.assertEquals("edogzougxbxx", model.tags().get("jogcphivfhrmte")); + NetworkRackPatch model + = BinaryData.fromString("{\"tags\":{\"jwblxphtoz\":\"iyrxowvhufcmu\"}}").toObject(NetworkRackPatch.class); + Assertions.assertEquals("iyrxowvhufcmu", model.tags().get("jwblxphtoz")); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkRackPatch model = new NetworkRackPatch().withTags(mapOf("jogcphivfhrmte", "edogzougxbxx", - "usrjzhdtrsyfezf", "fdvdoeary", "jdzyyrwnmwtq", "my", "fphfxaqjyihjcww", "ljknnkynkstdtfwh")); + NetworkRackPatch model = new NetworkRackPatch().withTags(mapOf("jwblxphtoz", "iyrxowvhufcmu")); model = BinaryData.fromObject(model).toObject(NetworkRackPatch.class); - Assertions.assertEquals("edogzougxbxx", model.tags().get("jogcphivfhrmte")); + Assertions.assertEquals("iyrxowvhufcmu", model.tags().get("jwblxphtoz")); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPropertiesTests.java index a358bd6441cda..954752f1867c0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRackPropertiesTests.java @@ -13,21 +13,21 @@ public final class NetworkRackPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkRackProperties model = BinaryData.fromString( - "{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"n\",\"networkDevices\":[\"jno\"],\"lastOperation\":{\"details\":\"jydgseb\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"PendingAdministrativeUpdate\",\"annotation\":\"vaebzmwywhrjke\"}") + "{\"networkRackType\":\"Compute\",\"networkFabricId\":\"bbt\",\"networkDevices\":[\"oljdkxhmew\",\"aol\",\"lzxkrdpuyyt\"],\"lastOperation\":{\"details\":\"rpkhqetpoe\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"Rejected\",\"annotation\":\"fpc\"}") .toObject(NetworkRackProperties.class); - Assertions.assertEquals("vaebzmwywhrjke", model.annotation()); - Assertions.assertEquals(NetworkRackType.AGGREGATE, model.networkRackType()); - Assertions.assertEquals("n", model.networkFabricId()); + Assertions.assertEquals("fpc", model.annotation()); + Assertions.assertEquals(NetworkRackType.COMPUTE, model.networkRackType()); + Assertions.assertEquals("bbt", model.networkFabricId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkRackProperties model = new NetworkRackProperties().withAnnotation("vaebzmwywhrjke") - .withNetworkRackType(NetworkRackType.AGGREGATE) - .withNetworkFabricId("n"); + NetworkRackProperties model = new NetworkRackProperties().withAnnotation("fpc") + .withNetworkRackType(NetworkRackType.COMPUTE) + .withNetworkFabricId("bbt"); model = BinaryData.fromObject(model).toObject(NetworkRackProperties.class); - Assertions.assertEquals("vaebzmwywhrjke", model.annotation()); - Assertions.assertEquals(NetworkRackType.AGGREGATE, model.networkRackType()); - Assertions.assertEquals("n", model.networkFabricId()); + Assertions.assertEquals("fpc", model.annotation()); + Assertions.assertEquals(NetworkRackType.COMPUTE, model.networkRackType()); + Assertions.assertEquals("bbt", model.networkFabricId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateMockTests.java index 9f4194d809eb6..bef7c667fb4f4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksCreateMockTests.java @@ -24,7 +24,7 @@ public final class NetworkRacksCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"networkRackType\":\"Combined\",\"networkFabricId\":\"t\",\"networkDevices\":[\"edlmfw\",\"b\"],\"lastOperation\":{\"details\":\"we\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Provisioning\",\"annotation\":\"sxidazslwhuyik\"},\"location\":\"cilinbuokp\",\"tags\":{\"hqrdvqvalo\":\"rheiplzms\"},\"id\":\"u\",\"name\":\"woigofumbpmzed\",\"type\":\"fjgklmyomav\"}"; + = "{\"properties\":{\"networkRackType\":\"Compute\",\"networkFabricId\":\"ecqyzdyzilo\",\"networkDevices\":[\"btnhiaqegj\",\"hyvnqbhclbbk\",\"oqzzyrovvna\",\"xmjmhclhcqcjn\"],\"lastOperation\":{\"details\":\"bwqgs\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Accepted\",\"annotation\":\"lrjggvydtjebbacs\"},\"location\":\"rzts\",\"tags\":{\"tfekbsly\":\"xbkxwhsfhecp\",\"vzltbgwjaepjmkr\":\"mlgsghcnyb\",\"zoqjbnfaxcdcmqej\":\"zogs\",\"ltugobscpt\":\"sirotj\"},\"id\":\"kgqyuvhlpmjpzgjn\",\"name\":\"ifoznfdboumpks\",\"type\":\"kdjpfsmdg\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,20 +34,21 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkRack response = manager.networkRacks() - .define("gbmzdnyrmolmae") - .withRegion("s") - .withExistingResourceGroup("lmdosiyzfdcczk") - .withNetworkFabricId("umckcbsakoucss") - .withTags(mapOf("emlozjyovrllv", "vpagwohkromzs", "ez", "bgkgjp", "nan", "hflgpsal")) - .withNetworkRackType(NetworkRackType.AGGREGATE) - .withAnnotation("pvwx") + .define("xofqjninrskq") + .withRegion("vpys") + .withExistingResourceGroup("cmeuuuajiotl") + .withNetworkFabricId("tiuveazuciwbi") + .withTags(mapOf("qsjxfmhi", "eblkgupgns", "ktqgtjffct", "artvkhu", "fztrvonbtnnwamk", "eotzgko", + "wotlpsswoslqmftk", "gyskmhdwsbznjnge")) + .withNetworkRackType(NetworkRackType.COMBINED) + .withAnnotation("oso") .create(); - Assertions.assertEquals("cilinbuokp", response.location()); - Assertions.assertEquals("rheiplzms", response.tags().get("hqrdvqvalo")); - Assertions.assertEquals(NetworkRackType.COMBINED, response.networkRackType()); - Assertions.assertEquals("t", response.networkFabricId()); - Assertions.assertEquals("sxidazslwhuyik", response.annotation()); + Assertions.assertEquals("rzts", response.location()); + Assertions.assertEquals("xbkxwhsfhecp", response.tags().get("tfekbsly")); + Assertions.assertEquals(NetworkRackType.COMPUTE, response.networkRackType()); + Assertions.assertEquals("ecqyzdyzilo", response.networkFabricId()); + Assertions.assertEquals("lrjggvydtjebbacs", response.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupWithResponseMockTests.java index 5e3dcd2359966..c6abf5cfc1653 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksGetByResourceGroupWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class NetworkRacksGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"jpfsmdgrhd\",\"networkDevices\":[\"ehhqxyj\",\"bkwvrrptbls\"],\"lastOperation\":{\"details\":\"kzgryfxwwqbey\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"Succeeded\",\"annotation\":\"jieskuim\"},\"location\":\"iyicxnxcimalvz\",\"tags\":{\"ifbi\":\"npaesraire\",\"ev\":\"ljhgqqjmfrm\",\"lg\":\"cbrmmweeuyohjhpx\"},\"id\":\"urmlirnadqeqf\",\"name\":\"zcxvpo\",\"type\":\"rtk\"}"; + = "{\"properties\":{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"xttobosjxbnyt\",\"networkDevices\":[\"ruditumyycvtya\",\"lyimhspj\",\"hivxblqvwhjgtbh\",\"eoutqo\"],\"lastOperation\":{\"details\":\"tqibqbougcwzgdfd\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"CommitStageFailed\",\"annotation\":\"kgezulnntpbarej\"},\"location\":\"hlxoljbpoeoywykh\",\"tags\":{\"xlsypwu\":\"whrivvzrccyf\",\"upvidzhjcppq\":\"eearbbxaneviqk\",\"xup\":\"gbpcenirjhd\"},\"id\":\"btlharjbakp\",\"name\":\"suugcngd\",\"type\":\"lvdenhguvaimko\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,13 +32,13 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkRack response = manager.networkRacks() - .getByResourceGroupWithResponse("kgqyuvhlpmjpzgjn", "ifoznfdboumpks", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("cinwij", "eyxt", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("iyicxnxcimalvz", response.location()); - Assertions.assertEquals("npaesraire", response.tags().get("ifbi")); + Assertions.assertEquals("hlxoljbpoeoywykh", response.location()); + Assertions.assertEquals("whrivvzrccyf", response.tags().get("xlsypwu")); Assertions.assertEquals(NetworkRackType.AGGREGATE, response.networkRackType()); - Assertions.assertEquals("jpfsmdgrhd", response.networkFabricId()); - Assertions.assertEquals("jieskuim", response.annotation()); + Assertions.assertEquals("xttobosjxbnyt", response.networkFabricId()); + Assertions.assertEquals("kgezulnntpbarej", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupMockTests.java index e05ef55b9c258..706a0c34c3efd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListByResourceGroupMockTests.java @@ -23,7 +23,7 @@ public final class NetworkRacksListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"wsyqxfowfnsyyeyt\",\"networkDevices\":[\"ojhmgvmee\",\"jazqlmigkxtgs\",\"a\",\"nholkoyxm\"],\"lastOperation\":{\"details\":\"dsqwvzunrqvu\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"ErrorProvisioning\",\"annotation\":\"qzdfjwo\"},\"location\":\"zifrmoftilhoyemh\",\"tags\":{\"rcdtkv\":\"pgdd\",\"ubmhsxtry\":\"rifcqmfv\"},\"id\":\"rvwmmuovturdhnn\",\"name\":\"hrizwmptsygqztn\",\"type\":\"vuei\"}]}"; + = "{\"value\":[{\"properties\":{\"networkRackType\":\"Combined\",\"networkFabricId\":\"kbozlmrhnghvl\",\"networkDevices\":[\"xbjqiabitevv\",\"wiypyljzk\",\"kdfyvgcftaqydcr\"],\"lastOperation\":{\"details\":\"mneykxewem\"},\"provisioningState\":\"Accepted\",\"configurationState\":\"Succeeded\",\"annotation\":\"jzpxo\"},\"location\":\"gerxmlfnuglmyrkr\",\"tags\":{\"grsnitlmca\":\"poxz\"},\"id\":\"hjhwk\",\"name\":\"fjzqqgypanwejbn\",\"type\":\"ojnakswy\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,12 +33,12 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.networkRacks().listByResourceGroup("itkwokefdeep", com.azure.core.util.Context.NONE); + = manager.networkRacks().listByResourceGroup("rppsnlj", com.azure.core.util.Context.NONE); - Assertions.assertEquals("zifrmoftilhoyemh", response.iterator().next().location()); - Assertions.assertEquals("pgdd", response.iterator().next().tags().get("rcdtkv")); - Assertions.assertEquals(NetworkRackType.AGGREGATE, response.iterator().next().networkRackType()); - Assertions.assertEquals("wsyqxfowfnsyyeyt", response.iterator().next().networkFabricId()); - Assertions.assertEquals("qzdfjwo", response.iterator().next().annotation()); + Assertions.assertEquals("gerxmlfnuglmyrkr", response.iterator().next().location()); + Assertions.assertEquals("poxz", response.iterator().next().tags().get("grsnitlmca")); + Assertions.assertEquals(NetworkRackType.COMBINED, response.iterator().next().networkRackType()); + Assertions.assertEquals("kbozlmrhnghvl", response.iterator().next().networkFabricId()); + Assertions.assertEquals("jzpxo", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListMockTests.java index 7f5da95f94339..367f546088718 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListMockTests.java @@ -23,7 +23,7 @@ public final class NetworkRacksListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkRackType\":\"Combined\",\"networkFabricId\":\"pgqxekbv\",\"networkDevices\":[\"umqoqwv\",\"b\"],\"lastOperation\":{\"details\":\"eigngrzvegxm\"},\"provisioningState\":\"Canceled\",\"configurationState\":\"Deprovisioned\",\"annotation\":\"zewlww\"},\"location\":\"pvpc\",\"tags\":{\"vfctsfujdapc\":\"ovzkwhdtf\",\"tddydbat\":\"gamgbnktg\",\"rwsdy\":\"xkwcolna\"},\"id\":\"ahnidpcpmv\",\"name\":\"zhdsaqmekgtkoj\",\"type\":\"ruhzvveerwlehs\"}]}"; + = "{\"value\":[{\"properties\":{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"tfoaa\",\"networkDevices\":[\"ormfhruhwxmnrdfj\",\"bhrvonea\",\"pjmjigypbdfrtasa\"],\"lastOperation\":{\"details\":\"to\"},\"provisioningState\":\"Deleting\",\"configurationState\":\"CommitStageFailed\",\"annotation\":\"jttsyrxynnfskny\"},\"location\":\"sshcpxftyhfcduq\",\"tags\":{\"frztpnrys\":\"rfqaawryctzs\",\"cighl\":\"xajr\"},\"id\":\"ddvnobesowbtnfq\",\"name\":\"wcaxj\",\"type\":\"hteho\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,10 +34,10 @@ public void testList() throws Exception { PagedIterable response = manager.networkRacks().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("pvpc", response.iterator().next().location()); - Assertions.assertEquals("ovzkwhdtf", response.iterator().next().tags().get("vfctsfujdapc")); - Assertions.assertEquals(NetworkRackType.COMBINED, response.iterator().next().networkRackType()); - Assertions.assertEquals("pgqxekbv", response.iterator().next().networkFabricId()); - Assertions.assertEquals("zewlww", response.iterator().next().annotation()); + Assertions.assertEquals("sshcpxftyhfcduq", response.iterator().next().location()); + Assertions.assertEquals("rfqaawryctzs", response.iterator().next().tags().get("frztpnrys")); + Assertions.assertEquals(NetworkRackType.AGGREGATE, response.iterator().next().networkRackType()); + Assertions.assertEquals("tfoaa", response.iterator().next().networkFabricId()); + Assertions.assertEquals("jttsyrxynnfskny", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListResultTests.java index 2d565fa579e4a..1bdb9e45cad67 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkRacksListResultTests.java @@ -13,13 +13,13 @@ public final class NetworkRacksListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkRacksListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"networkRackType\":\"Aggregate\",\"networkFabricId\":\"ckfavhkh\",\"networkDevices\":[\"wweifdy\",\"aoex\",\"guwnrdpuzlai\",\"sujtgg\"],\"lastOperation\":{\"details\":\"zam\"},\"provisioningState\":\"Succeeded\",\"configurationState\":\"Provisioned\",\"annotation\":\"dcliqwzu\"},\"location\":\"yelrnh\",\"tags\":{\"syovqmqc\":\"vhqsz\"},\"id\":\"dp\",\"name\":\"oqwrnfckjthlok\",\"type\":\"xw\"}],\"nextLink\":\"fubkngejjx\"}") + "{\"value\":[{\"properties\":{\"networkRackType\":\"Combined\",\"networkFabricId\":\"wtnnsvrfajyni\",\"networkDevices\":[\"bufgzqzhl\",\"ctblfehb\"],\"lastOperation\":{\"details\":\"yohrcmeqljxdum\"},\"provisioningState\":\"Updating\",\"configurationState\":\"Deprovisioned\",\"annotation\":\"ebldxagmdfjwc\"},\"location\":\"kwx\",\"tags\":{\"vgzacrzhnsby\":\"quvohufzdtsrpj\"},\"id\":\"gmgbhuqcz\",\"name\":\"uanbfulvc\",\"type\":\"glxoqwbztilqb\"}],\"nextLink\":\"wbgwzhbhf\"}") .toObject(NetworkRacksListResult.class); - Assertions.assertEquals("yelrnh", model.value().get(0).location()); - Assertions.assertEquals("vhqsz", model.value().get(0).tags().get("syovqmqc")); - Assertions.assertEquals(NetworkRackType.AGGREGATE, model.value().get(0).networkRackType()); - Assertions.assertEquals("ckfavhkh", model.value().get(0).networkFabricId()); - Assertions.assertEquals("dcliqwzu", model.value().get(0).annotation()); - Assertions.assertEquals("fubkngejjx", model.nextLink()); + Assertions.assertEquals("kwx", model.value().get(0).location()); + Assertions.assertEquals("quvohufzdtsrpj", model.value().get(0).tags().get("vgzacrzhnsby")); + Assertions.assertEquals(NetworkRackType.COMBINED, model.value().get(0).networkRackType()); + Assertions.assertEquals("wtnnsvrfajyni", model.value().get(0).networkFabricId()); + Assertions.assertEquals("ebldxagmdfjwc", model.value().get(0).annotation()); + Assertions.assertEquals("wbgwzhbhf", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapInnerTests.java index 6c6c63c092349..3de6a0c33cda6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapInnerTests.java @@ -23,73 +23,74 @@ public final class NetworkTapInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapInner model = BinaryData.fromString( - "{\"properties\":{\"networkPacketBrokerId\":\"qswsychdcj\",\"sourceTapRuleId\":\"cmpncjqbgbnoqn\",\"networkFabricIds\":[\"fxeytzgwjekyqi\"],\"destinations\":[{\"name\":\"cpo\",\"destinationType\":\"Direct\",\"destinationId\":\"vgppp\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"xlfhlzzga\"]},\"destinationTapRuleId\":\"pxwwblscrmzqu\"},{\"name\":\"zywkgouxn\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"yhthesywywnvgyo\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"cwuejmxlfzln\",\"yrgr\",\"hchraunjovlx\"]},\"destinationTapRuleId\":\"vm\"},{\"name\":\"zpniqwx\",\"destinationType\":\"Direct\",\"destinationId\":\"gmnkgtlh\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"ioiyecz\",\"vzmsvzngheq\"]},\"destinationTapRuleId\":\"ehgvmmnoyz\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"pluzypkf\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\",\"annotation\":\"vxotnoilqc\"},\"identity\":{\"principalId\":\"yefqhxytsqmbwca\",\"tenantId\":\"aaq\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"qlreqbrcmmdts\":{\"principalId\":\"y\",\"clientId\":\"xra\"},\"owrcyrnm\":{\"principalId\":\"umxu\",\"clientId\":\"nba\"},\"phr\":{\"principalId\":\"ko\",\"clientId\":\"qzkkagvejhmn\"}}},\"location\":\"mpe\",\"tags\":{\"mzfntteyrf\":\"zypavam\",\"pjdr\":\"xytja\"},\"id\":\"lijk\",\"name\":\"vbfaehjji\",\"type\":\"vjqxav\"}") + "{\"properties\":{\"networkPacketBrokerId\":\"xjftecgprz\",\"sourceTapRuleId\":\"mpdqcakzbyqhaa\",\"networkFabricIds\":[\"oyxuucol\",\"syruxrzhhlhrvmg\"],\"destinations\":[{\"name\":\"pgmncrvtp\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"oromppzsauqmeu\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"puaiugoceqtl\",\"spjymwiccurnc\"]},\"destinationTapRuleId\":\"nla\"},{\"name\":\"gixhqjqhgqwbb\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"wtwfgoclalvem\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"bkyy\"]},\"destinationTapRuleId\":\"y\"},{\"name\":\"eohl\",\"destinationType\":\"Direct\",\"destinationId\":\"snvon\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"cdopnseptvdticc\",\"fl\",\"zwkopxd\",\"btwoqhgp\"]},\"destinationTapRuleId\":\"xnikfzrxxf\"},{\"name\":\"duvqzjnnuww\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"zrfxajtbcqj\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"rxrjwyzrieitq\",\"lzuwtbdzqajxkmp\"]},\"destinationTapRuleId\":\"f\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"hbdj\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\",\"annotation\":\"eszunb\"},\"identity\":{\"principalId\":\"moub\",\"tenantId\":\"q\",\"type\":\"None\",\"userAssignedIdentities\":{\"hzbjecdsysxnkuhv\":{\"principalId\":\"rnobvvequ\",\"clientId\":\"tapgz\"},\"dqe\":{\"principalId\":\"lsevzc\",\"clientId\":\"wnkkgdwqymxsfqea\"},\"vvzfzn\":{\"principalId\":\"vmsaqhviawg\",\"clientId\":\"wu\"}}},\"location\":\"pbcbkcpym\",\"tags\":{\"fusrgnoskkhbmj\":\"ieasklkqcl\",\"yeikbv\":\"hlyyuah\"},\"id\":\"zrurgbqau\",\"name\":\"pck\",\"type\":\"jnohafwm\"}") .toObject(NetworkTapInner.class); - Assertions.assertEquals("mpe", model.location()); - Assertions.assertEquals("zypavam", model.tags().get("mzfntteyrf")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("qswsychdcj", model.networkPacketBrokerId()); - Assertions.assertEquals("cpo", model.destinations().get(0).name()); - Assertions.assertEquals(DestinationType.DIRECT, model.destinations().get(0).destinationType()); - Assertions.assertEquals("vgppp", model.destinations().get(0).destinationId()); + Assertions.assertEquals("pbcbkcpym", model.location()); + Assertions.assertEquals("ieasklkqcl", model.tags().get("fusrgnoskkhbmj")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); + Assertions.assertEquals("xjftecgprz", model.networkPacketBrokerId()); + Assertions.assertEquals("pgmncrvtp", model.destinations().get(0).name()); + Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); + Assertions.assertEquals("oromppzsauqmeu", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.GRE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("xlfhlzzga", + Assertions.assertEquals("puaiugoceqtl", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("pxwwblscrmzqu", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("nla", model.destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PULL, model.pollingType()); - Assertions.assertEquals("vxotnoilqc", model.annotation()); + Assertions.assertEquals("eszunb", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapInner model - = new NetworkTapInner().withLocation("mpe") - .withTags(mapOf("mzfntteyrf", "zypavam", "pjdr", "xytja")) - .withIdentity(new ManagedServiceIdentity() - .withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("qlreqbrcmmdts", new UserAssignedIdentity(), "owrcyrnm", - new UserAssignedIdentity(), "phr", new UserAssignedIdentity()))) - .withNetworkPacketBrokerId("qswsychdcj") - .withDestinations(Arrays.asList(new DestinationProperties() - .withName("cpo") + NetworkTapInner model = new NetworkTapInner().withLocation("pbcbkcpym") + .withTags(mapOf("fusrgnoskkhbmj", "ieasklkqcl", "yeikbv", "hlyyuah")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE) + .withUserAssignedIdentities(mapOf("hzbjecdsysxnkuhv", new UserAssignedIdentity(), "dqe", + new UserAssignedIdentity(), "vvzfzn", new UserAssignedIdentity()))) + .withNetworkPacketBrokerId("xjftecgprz") + .withDestinations(Arrays.asList( + new DestinationProperties().withName("pgmncrvtp") + .withDestinationType(DestinationType.ISOLATION_DOMAIN) + .withDestinationId("oromppzsauqmeu") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("puaiugoceqtl", "spjymwiccurnc"))) + .withDestinationTapRuleId("nla"), + new DestinationProperties().withName("gixhqjqhgqwbb") + .withDestinationType(DestinationType.ISOLATION_DOMAIN) + .withDestinationId("wtwfgoclalvem") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("bkyy"))) + .withDestinationTapRuleId("y"), + new DestinationProperties().withName("eohl") .withDestinationType(DestinationType.DIRECT) - .withDestinationId("vgppp") - .withIsolationDomainProperties( - new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("xlfhlzzga"))) - .withDestinationTapRuleId("pxwwblscrmzqu"), - new DestinationProperties().withName("zywkgouxn") - .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("yhthesywywnvgyo") - .withIsolationDomainProperties(new IsolationDomainProperties() - .withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("cwuejmxlfzln", "yrgr", "hchraunjovlx"))) - .withDestinationTapRuleId("vm"), - new DestinationProperties().withName("zpniqwx") - .withDestinationType(DestinationType.DIRECT) - .withDestinationId("gmnkgtlh") - .withIsolationDomainProperties( - new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("ioiyecz", "vzmsvzngheq"))) - .withDestinationTapRuleId("ehgvmmnoyz"))) - .withPollingType(PollingType.PULL) - .withAnnotation("vxotnoilqc"); + .withDestinationId("snvon") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) + .withNeighborGroupIds(Arrays.asList("cdopnseptvdticc", "fl", "zwkopxd", "btwoqhgp"))) + .withDestinationTapRuleId("xnikfzrxxf"), + new DestinationProperties().withName("duvqzjnnuww") + .withDestinationType(DestinationType.ISOLATION_DOMAIN) + .withDestinationId("zrfxajtbcqj") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("rxrjwyzrieitq", "lzuwtbdzqajxkmp"))) + .withDestinationTapRuleId("f"))) + .withPollingType(PollingType.PULL) + .withAnnotation("eszunb"); model = BinaryData.fromObject(model).toObject(NetworkTapInner.class); - Assertions.assertEquals("mpe", model.location()); - Assertions.assertEquals("zypavam", model.tags().get("mzfntteyrf")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("qswsychdcj", model.networkPacketBrokerId()); - Assertions.assertEquals("cpo", model.destinations().get(0).name()); - Assertions.assertEquals(DestinationType.DIRECT, model.destinations().get(0).destinationType()); - Assertions.assertEquals("vgppp", model.destinations().get(0).destinationId()); + Assertions.assertEquals("pbcbkcpym", model.location()); + Assertions.assertEquals("ieasklkqcl", model.tags().get("fusrgnoskkhbmj")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); + Assertions.assertEquals("xjftecgprz", model.networkPacketBrokerId()); + Assertions.assertEquals("pgmncrvtp", model.destinations().get(0).name()); + Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); + Assertions.assertEquals("oromppzsauqmeu", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.GRE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("xlfhlzzga", + Assertions.assertEquals("puaiugoceqtl", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("pxwwblscrmzqu", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("nla", model.destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PULL, model.pollingType()); - Assertions.assertEquals("vxotnoilqc", model.annotation()); + Assertions.assertEquals("eszunb", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchPropertiesTests.java index 03f31bb9ff041..9c09d810a594b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchPropertiesTests.java @@ -18,61 +18,40 @@ public final class NetworkTapPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapPatchProperties model = BinaryData.fromString( - "{\"pollingType\":\"Push\",\"destinations\":[{\"name\":\"mjkykqflkm\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"mysmkbndnrihpj\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"ejnoignyd\"]},\"destinationTapRuleId\":\"rnpsbnmrmhkipjar\"},{\"name\":\"dpfg\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"iae\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"clun\",\"dvjlpbjszqjfs\"]},\"destinationTapRuleId\":\"vaycxrwk\"},{\"name\":\"bghyp\",\"destinationType\":\"Direct\",\"destinationId\":\"iypzcyh\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"p\",\"vutbsusfd\"]},\"destinationTapRuleId\":\"qrqco\"},{\"name\":\"endgr\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"lxqqnugt\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"n\"]},\"destinationTapRuleId\":\"d\"}],\"annotation\":\"jticw\"}") + "{\"pollingType\":\"Pull\",\"destinations\":[{\"name\":\"eedvpmod\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"tydvvgkmorbpc\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"uztnsvms\",\"kkgygf\",\"hrme\"]},\"destinationTapRuleId\":\"lclpkr\"}],\"annotation\":\"cbmjjviutivr\"}") .toObject(NetworkTapPatchProperties.class); - Assertions.assertEquals("jticw", model.annotation()); - Assertions.assertEquals(PollingType.PUSH, model.pollingType()); - Assertions.assertEquals("mjkykqflkm", model.destinations().get(0).name()); + Assertions.assertEquals("cbmjjviutivr", model.annotation()); + Assertions.assertEquals(PollingType.PULL, model.pollingType()); + Assertions.assertEquals("eedvpmod", model.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); - Assertions.assertEquals("mysmkbndnrihpj", model.destinations().get(0).destinationId()); + Assertions.assertEquals("tydvvgkmorbpc", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.GRE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("ejnoignyd", + Assertions.assertEquals("uztnsvms", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("rnpsbnmrmhkipjar", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("lclpkr", model.destinations().get(0).destinationTapRuleId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapPatchProperties model = new NetworkTapPatchProperties().withAnnotation("jticw") - .withPollingType(PollingType.PUSH) - .withDestinations(Arrays.asList(new DestinationPatchProperties().withName("mjkykqflkm") + NetworkTapPatchProperties model = new NetworkTapPatchProperties().withAnnotation("cbmjjviutivr") + .withPollingType(PollingType.PULL) + .withDestinations(Arrays.asList(new DestinationPatchProperties().withName("eedvpmod") .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("mysmkbndnrihpj") + .withDestinationId("tydvvgkmorbpc") .withIsolationDomainProperties(new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("ejnoignyd"))) - .withDestinationTapRuleId("rnpsbnmrmhkipjar"), - new DestinationPatchProperties().withName("dpfg") - .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("iae") - .withIsolationDomainProperties( - new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("clun", "dvjlpbjszqjfs"))) - .withDestinationTapRuleId("vaycxrwk"), - new DestinationPatchProperties().withName("bghyp") - .withDestinationType(DestinationType.DIRECT) - .withDestinationId("iypzcyh") - .withIsolationDomainProperties( - new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("p", "vutbsusfd"))) - .withDestinationTapRuleId("qrqco"), - new DestinationPatchProperties().withName("endgr") - .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("lxqqnugt") - .withIsolationDomainProperties( - new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("n"))) - .withDestinationTapRuleId("d"))); + .withNeighborGroupIds(Arrays.asList("uztnsvms", "kkgygf", "hrme"))) + .withDestinationTapRuleId("lclpkr"))); model = BinaryData.fromObject(model).toObject(NetworkTapPatchProperties.class); - Assertions.assertEquals("jticw", model.annotation()); - Assertions.assertEquals(PollingType.PUSH, model.pollingType()); - Assertions.assertEquals("mjkykqflkm", model.destinations().get(0).name()); + Assertions.assertEquals("cbmjjviutivr", model.annotation()); + Assertions.assertEquals(PollingType.PULL, model.pollingType()); + Assertions.assertEquals("eedvpmod", model.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); - Assertions.assertEquals("mysmkbndnrihpj", model.destinations().get(0).destinationId()); + Assertions.assertEquals("tydvvgkmorbpc", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.GRE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("ejnoignyd", + Assertions.assertEquals("uztnsvms", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("rnpsbnmrmhkipjar", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("lclpkr", model.destinations().get(0).destinationTapRuleId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchTests.java index 0eeee876521b6..bfec96b3573ce 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPatchTests.java @@ -23,61 +23,53 @@ public final class NetworkTapPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapPatch model = BinaryData.fromString( - "{\"properties\":{\"pollingType\":\"Push\",\"destinations\":[{\"name\":\"xrdeexw\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"uvnxbohpzur\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"beadyfen\",\"ozoijoxcbpkiw\",\"eacbtaxdrp\"]},\"destinationTapRuleId\":\"hsxw\"},{\"name\":\"rztdacrqcwk\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"syajmmczupd\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"sdbk\"]},\"destinationTapRuleId\":\"kdium\"}],\"annotation\":\"ivxwkscwbshfih\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"yi\":{\"principalId\":\"lau\",\"clientId\":\"ue\"},\"fyhsb\":{\"principalId\":\"ztyecxd\",\"clientId\":\"spgnnd\"},\"vzr\":{\"principalId\":\"wlvsvsyl\",\"clientId\":\"prqtfk\"}}},\"tags\":{\"kkmvz\":\"onxdwfcuhbgftfvq\",\"dqrjylwqqsemjhh\":\"neg\",\"hztb\":\"lsub\",\"zwufi\":\"jrdzwyktdp\"}}") + "{\"properties\":{\"pollingType\":\"Push\",\"destinations\":[{\"name\":\"wapndmtqvmk\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"gqx\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"fqgtodgkllefmi\",\"dcsrvbbnas\",\"fyxhsxcgqbm\",\"bpqcnx\"]},\"destinationTapRuleId\":\"ehojvmazu\"}],\"annotation\":\"fpiuufhp\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"cduyrgca\":{\"principalId\":\"givbhmn\",\"clientId\":\"jlyhbjfnmmibg\"},\"igsqzmfkiaag\":{\"principalId\":\"umqeobrwreu\",\"clientId\":\"sawha\"},\"jfkxnwtzsroeqcr\":{\"principalId\":\"rxjkc\",\"clientId\":\"enubrf\"}}},\"tags\":{\"nhdikatzmtuvfn\":\"jskqsfnmiwapd\",\"cuiaun\":\"itjkbibxlwzlvkc\",\"psvax\":\"odincfbaoboiahk\"}}") .toObject(NetworkTapPatch.class); - Assertions.assertEquals("onxdwfcuhbgftfvq", model.tags().get("kkmvz")); + Assertions.assertEquals("jskqsfnmiwapd", model.tags().get("nhdikatzmtuvfn")); Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); Assertions.assertEquals(PollingType.PUSH, model.pollingType()); - Assertions.assertEquals("xrdeexw", model.destinations().get(0).name()); + Assertions.assertEquals("wapndmtqvmk", model.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); - Assertions.assertEquals("uvnxbohpzur", model.destinations().get(0).destinationId()); + Assertions.assertEquals("gqx", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.NONE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("beadyfen", + Assertions.assertEquals("fqgtodgkllefmi", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("hsxw", model.destinations().get(0).destinationTapRuleId()); - Assertions.assertEquals("ivxwkscwbshfih", model.annotation()); + Assertions.assertEquals("ehojvmazu", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("fpiuufhp", model.annotation()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkTapPatch model = new NetworkTapPatch() - .withTags( - mapOf("kkmvz", "onxdwfcuhbgftfvq", "dqrjylwqqsemjhh", "neg", "hztb", "lsub", "zwufi", "jrdzwyktdp")) + .withTags(mapOf("nhdikatzmtuvfn", "jskqsfnmiwapd", "cuiaun", "itjkbibxlwzlvkc", "psvax", "odincfbaoboiahk")) .withIdentity( new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("yi", new UserAssignedIdentity(), "fyhsb", - new UserAssignedIdentity(), "vzr", new UserAssignedIdentity()))) + .withUserAssignedIdentities(mapOf("cduyrgca", new UserAssignedIdentity(), "igsqzmfkiaag", + new UserAssignedIdentity(), "jfkxnwtzsroeqcr", new UserAssignedIdentity()))) .withPollingType(PollingType.PUSH) - .withDestinations(Arrays.asList( - new DestinationPatchProperties().withName("xrdeexw") + .withDestinations( + Arrays.asList(new DestinationPatchProperties().withName("wapndmtqvmk") .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("uvnxbohpzur") - .withIsolationDomainProperties( - new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("beadyfen", "ozoijoxcbpkiw", "eacbtaxdrp"))) - .withDestinationTapRuleId("hsxw"), - new DestinationPatchProperties().withName("rztdacrqcwk") - .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("syajmmczupd") - .withIsolationDomainProperties( - new IsolationDomainPatchProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("sdbk"))) - .withDestinationTapRuleId("kdium"))) - .withAnnotation("ivxwkscwbshfih"); + .withDestinationId("gqx") + .withIsolationDomainProperties(new IsolationDomainPatchProperties() + .withEncapsulation(Encapsulation.NONE) + .withNeighborGroupIds(Arrays.asList("fqgtodgkllefmi", "dcsrvbbnas", "fyxhsxcgqbm", "bpqcnx"))) + .withDestinationTapRuleId("ehojvmazu"))) + .withAnnotation("fpiuufhp"); model = BinaryData.fromObject(model).toObject(NetworkTapPatch.class); - Assertions.assertEquals("onxdwfcuhbgftfvq", model.tags().get("kkmvz")); + Assertions.assertEquals("jskqsfnmiwapd", model.tags().get("nhdikatzmtuvfn")); Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); Assertions.assertEquals(PollingType.PUSH, model.pollingType()); - Assertions.assertEquals("xrdeexw", model.destinations().get(0).name()); + Assertions.assertEquals("wapndmtqvmk", model.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); - Assertions.assertEquals("uvnxbohpzur", model.destinations().get(0).destinationId()); + Assertions.assertEquals("gqx", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.NONE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("beadyfen", + Assertions.assertEquals("fqgtodgkllefmi", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("hsxw", model.destinations().get(0).destinationTapRuleId()); - Assertions.assertEquals("ivxwkscwbshfih", model.annotation()); + Assertions.assertEquals("ehojvmazu", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("fpiuufhp", model.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPropertiesTests.java index 4e23e7edb19b2..74ebf9e77531a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapPropertiesTests.java @@ -18,50 +18,57 @@ public final class NetworkTapPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapProperties model = BinaryData.fromString( - "{\"networkPacketBrokerId\":\"mdmracfsffdralih\",\"sourceTapRuleId\":\"scygyzhcvlavyr\",\"networkFabricIds\":[\"dxrmyzvti\",\"jtpdru\",\"xaxoyj\",\"h\"],\"destinations\":[{\"name\":\"we\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"givkteccxfnatntm\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"mfhjikqcnbd\",\"itgh\",\"melzvrch\",\"yucgrmwyvhdiypl\"]},\"destinationTapRuleId\":\"qqgrbrhhvipgti\"},{\"name\":\"aaoylwhfmkbwe\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"gypjixdmobadydw\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"clsxdqdchnzibix\",\"gsrwxxqkwarg\",\"b\"]},\"destinationTapRuleId\":\"gosijiqexqwqy\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"flhdhoxu\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"MAT\",\"annotation\":\"hwtamvmbg\"}") + "{\"networkPacketBrokerId\":\"pgjl\",\"sourceTapRuleId\":\"tugpeametsdwxfa\",\"networkFabricIds\":[\"cc\",\"egsavbg\",\"oucvkandh\"],\"destinations\":[{\"name\":\"ima\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"mqfwbgdmfv\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"talopfi\"]},\"destinationTapRuleId\":\"xxtrcod\"},{\"name\":\"qe\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"ldmxxbjh\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"xrwqlwdflgqrplz\",\"q\",\"v\"]},\"destinationTapRuleId\":\"b\"},{\"name\":\"ffgxtaelxtpfc\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"tbxdwrv\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"vztshnugfbpe\",\"gkflv\",\"vriqtuzwbkqcgz\",\"gtdjhtbarptxurs\"]},\"destinationTapRuleId\":\"yyumhzpst\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"vttyhpbiln\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\",\"annotation\":\"uusydscizv\"}") .toObject(NetworkTapProperties.class); - Assertions.assertEquals("hwtamvmbg", model.annotation()); - Assertions.assertEquals("mdmracfsffdralih", model.networkPacketBrokerId()); - Assertions.assertEquals("we", model.destinations().get(0).name()); + Assertions.assertEquals("uusydscizv", model.annotation()); + Assertions.assertEquals("pgjl", model.networkPacketBrokerId()); + Assertions.assertEquals("ima", model.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); - Assertions.assertEquals("givkteccxfnatntm", model.destinations().get(0).destinationId()); + Assertions.assertEquals("mqfwbgdmfv", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.GRE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("mfhjikqcnbd", + Assertions.assertEquals("talopfi", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("qqgrbrhhvipgti", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("xxtrcod", model.destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PULL, model.pollingType()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapProperties model = new NetworkTapProperties().withAnnotation("hwtamvmbg") - .withNetworkPacketBrokerId("mdmracfsffdralih") + NetworkTapProperties model = new NetworkTapProperties().withAnnotation("uusydscizv") + .withNetworkPacketBrokerId("pgjl") .withDestinations(Arrays.asList( - new DestinationProperties().withName("we") + new DestinationProperties().withName("ima") .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("givkteccxfnatntm") + .withDestinationId("mqfwbgdmfv") .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) - .withNeighborGroupIds(Arrays.asList("mfhjikqcnbd", "itgh", "melzvrch", "yucgrmwyvhdiypl"))) - .withDestinationTapRuleId("qqgrbrhhvipgti"), - new DestinationProperties().withName("aaoylwhfmkbwe") + .withNeighborGroupIds(Arrays.asList("talopfi"))) + .withDestinationTapRuleId("xxtrcod"), + new DestinationProperties().withName("qe") .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("gypjixdmobadydw") + .withDestinationId("ldmxxbjh") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("xrwqlwdflgqrplz", "q", "v"))) + .withDestinationTapRuleId("b"), + new DestinationProperties().withName("ffgxtaelxtpfc") + .withDestinationType(DestinationType.ISOLATION_DOMAIN) + .withDestinationId("tbxdwrv") .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("clsxdqdchnzibix", "gsrwxxqkwarg", "b"))) - .withDestinationTapRuleId("gosijiqexqwqy"))) + .withNeighborGroupIds( + Arrays.asList("vztshnugfbpe", "gkflv", "vriqtuzwbkqcgz", "gtdjhtbarptxurs"))) + .withDestinationTapRuleId("yyumhzpst"))) .withPollingType(PollingType.PULL); model = BinaryData.fromObject(model).toObject(NetworkTapProperties.class); - Assertions.assertEquals("hwtamvmbg", model.annotation()); - Assertions.assertEquals("mdmracfsffdralih", model.networkPacketBrokerId()); - Assertions.assertEquals("we", model.destinations().get(0).name()); + Assertions.assertEquals("uusydscizv", model.annotation()); + Assertions.assertEquals("pgjl", model.networkPacketBrokerId()); + Assertions.assertEquals("ima", model.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, model.destinations().get(0).destinationType()); - Assertions.assertEquals("givkteccxfnatntm", model.destinations().get(0).destinationId()); + Assertions.assertEquals("mqfwbgdmfv", model.destinations().get(0).destinationId()); Assertions.assertEquals(Encapsulation.GRE, model.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("mfhjikqcnbd", + Assertions.assertEquals("talopfi", model.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("qqgrbrhhvipgti", model.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("xxtrcod", model.destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PULL, model.pollingType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionPatchTests.java index bbcfebb7929e7..b1fd9817c6237 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionPatchTests.java @@ -14,27 +14,27 @@ public final class NetworkTapRuleActionPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleActionPatch model = BinaryData.fromString( - "{\"type\":\"Drop\",\"truncate\":\"kmzv\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"fblsxyfqgtodg\",\"matchConfigurationName\":\"lefmizdcsr\"}") + "{\"type\":\"Goto\",\"truncate\":\"pirnbnlqyvdsq\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"dz\",\"matchConfigurationName\":\"irzyudrq\"}") .toObject(NetworkTapRuleActionPatch.class); - Assertions.assertEquals(TapRuleActionType.DROP, model.type()); - Assertions.assertEquals("kmzv", model.truncate()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.isTimestampEnabled()); - Assertions.assertEquals("fblsxyfqgtodg", model.destinationId()); - Assertions.assertEquals("lefmizdcsr", model.matchConfigurationName()); + Assertions.assertEquals(TapRuleActionType.GOTO, model.type()); + Assertions.assertEquals("pirnbnlqyvdsq", model.truncate()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.isTimestampEnabled()); + Assertions.assertEquals("dz", model.destinationId()); + Assertions.assertEquals("irzyudrq", model.matchConfigurationName()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapRuleActionPatch model = new NetworkTapRuleActionPatch().withType(TapRuleActionType.DROP) - .withTruncate("kmzv") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("fblsxyfqgtodg") - .withMatchConfigurationName("lefmizdcsr"); + NetworkTapRuleActionPatch model = new NetworkTapRuleActionPatch().withType(TapRuleActionType.GOTO) + .withTruncate("pirnbnlqyvdsq") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("dz") + .withMatchConfigurationName("irzyudrq"); model = BinaryData.fromObject(model).toObject(NetworkTapRuleActionPatch.class); - Assertions.assertEquals(TapRuleActionType.DROP, model.type()); - Assertions.assertEquals("kmzv", model.truncate()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.isTimestampEnabled()); - Assertions.assertEquals("fblsxyfqgtodg", model.destinationId()); - Assertions.assertEquals("lefmizdcsr", model.matchConfigurationName()); + Assertions.assertEquals(TapRuleActionType.GOTO, model.type()); + Assertions.assertEquals("pirnbnlqyvdsq", model.truncate()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.isTimestampEnabled()); + Assertions.assertEquals("dz", model.destinationId()); + Assertions.assertEquals("irzyudrq", model.matchConfigurationName()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionTests.java index e853714e81e9f..b26c433901bbf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleActionTests.java @@ -14,27 +14,27 @@ public final class NetworkTapRuleActionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleAction model = BinaryData.fromString( - "{\"type\":\"Redirect\",\"truncate\":\"law\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"qabjropxfqdmllz\",\"matchConfigurationName\":\"jyuwq\"}") + "{\"type\":\"Replicate\",\"truncate\":\"lsrvq\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"sosrnjlvgrghnh\",\"matchConfigurationName\":\"xrqhj\"}") .toObject(NetworkTapRuleAction.class); - Assertions.assertEquals(TapRuleActionType.REDIRECT, model.type()); - Assertions.assertEquals("law", model.truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.isTimestampEnabled()); - Assertions.assertEquals("qabjropxfqdmllz", model.destinationId()); - Assertions.assertEquals("jyuwq", model.matchConfigurationName()); + Assertions.assertEquals(TapRuleActionType.REPLICATE, model.type()); + Assertions.assertEquals("lsrvq", model.truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.isTimestampEnabled()); + Assertions.assertEquals("sosrnjlvgrghnh", model.destinationId()); + Assertions.assertEquals("xrqhj", model.matchConfigurationName()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapRuleAction model = new NetworkTapRuleAction().withType(TapRuleActionType.REDIRECT) - .withTruncate("law") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("qabjropxfqdmllz") - .withMatchConfigurationName("jyuwq"); + NetworkTapRuleAction model = new NetworkTapRuleAction().withType(TapRuleActionType.REPLICATE) + .withTruncate("lsrvq") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("sosrnjlvgrghnh") + .withMatchConfigurationName("xrqhj"); model = BinaryData.fromObject(model).toObject(NetworkTapRuleAction.class); - Assertions.assertEquals(TapRuleActionType.REDIRECT, model.type()); - Assertions.assertEquals("law", model.truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.isTimestampEnabled()); - Assertions.assertEquals("qabjropxfqdmllz", model.destinationId()); - Assertions.assertEquals("jyuwq", model.matchConfigurationName()); + Assertions.assertEquals(TapRuleActionType.REPLICATE, model.type()); + Assertions.assertEquals("lsrvq", model.truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.isTimestampEnabled()); + Assertions.assertEquals("sosrnjlvgrghnh", model.destinationId()); + Assertions.assertEquals("xrqhj", model.matchConfigurationName()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleInnerTests.java index c733a9d2d1348..c62a63873b8f4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleInnerTests.java @@ -37,229 +37,204 @@ public final class NetworkTapRuleInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"owynj\",\"configurationType\":\"File\",\"tapRulesUrl\":\"zmxuktdrsjtmnk\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"w\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"dtstia\",\"sequenceNumber\":6699511414705281945,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"layer4Protocol\":\"UDP\"},\"protocolTypes\":[\"qbcmlroiomme\",\"soq\",\"blcyeqdobobaq\",\"abebckc\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"layer4Protocol\":\"UDP\"},\"protocolTypes\":[\"pjcxbjgfm\",\"qyyfrridzfpsfyak\",\"dfhmlx\",\"q\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Mirror\",\"truncate\":\"afzvptriysjrg\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"puqpsrcekdvvo\",\"matchConfigurationName\":\"wedggwgc\"}]},{\"matchConfigurationName\":\"bwatz\",\"sequenceNumber\":2676877168964118174,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"layer4Protocol\":\"SCTP\"},\"protocolTypes\":[\"rwiemzcyni\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"layer4Protocol\":\"UDP\"},\"protocolTypes\":[\"rqw\",\"pz\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Replicate\",\"truncate\":\"tkmlfupjzcxx\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"yxjg\",\"matchConfigurationName\":\"xuerrda\"},{\"type\":\"Goto\",\"truncate\":\"tkbcer\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"pvfqjckmpwyv\",\"matchConfigurationName\":\"nhhcikh\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"ylsacagif\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"otohzwtoidhbx\"]},{\"name\":\"rapwzhlutjsj\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"iemv\",\"pmeakosysycv\",\"de\",\"hcbsaipusuo\"]}],\"vlanGroups\":[{\"name\":\"bvbbdledff\",\"vlans\":[\"sluazz\",\"f\",\"veugpx\"]},{\"name\":\"empupbscboxra\",\"vlans\":[\"zmrjgo\",\"ekxeheowseca\",\"drzzbskiwrjsb\"]}],\"portGroups\":[{\"name\":\"eesacuicnvqiqsu\",\"ports\":[\"r\",\"aptndrmmnlhnk\",\"xrqkekcdavi\"]},{\"name\":\"beqrfzavqymcwts\",\"ports\":[\"eplbrzgkuorwpqbs\",\"weobptscr\",\"ykk\",\"elayynoyjyfls\"]},{\"name\":\"bnlyoifgdfzj\",\"ports\":[\"ykcv\",\"evcw\",\"zotkx\"]},{\"name\":\"wwooxgbsdzcg\",\"ports\":[\"pjhubdmgo\"]}]},{\"ipGroups\":[{\"name\":\"ujcqgzwvxwiu\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"jklqrljdcukyla\",\"rjiqoqovqhgphgxu\",\"ud\"]},{\"name\":\"yqruvumryddnqiva\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"njze\",\"picciyoypoe\",\"ks\",\"w\"]},{\"name\":\"bpybqeigxuyxsxte\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"nf\",\"fnhcg\",\"aqsr\",\"rfqd\"]}],\"vlanGroups\":[{\"name\":\"g\",\"vlans\":[\"obpmgqlw\",\"qznbb\",\"zposzfu\"]},{\"name\":\"pbygbnbcmoiq\",\"vlans\":[\"pvqewflwz\",\"xzuxerxh\",\"wl\",\"kqsqvvdkfp\"]}],\"portGroups\":[{\"name\":\"jd\",\"ports\":[\"mxxyfrdjid\",\"etfvgwfw\",\"ld\",\"gwouppvyddqsvc\"]},{\"name\":\"snxfrppwwqc\",\"ports\":[\"mtfx\",\"epzpxzxlcqzfxai\",\"iqmcjb\",\"mkirpqn\"]},{\"name\":\"udmhkcomeobwk\",\"ports\":[\"ltenlbfxlm\",\"ozesn\",\"oduomtxjbrixym\"]},{\"name\":\"ikkqyvurhwishyfm\",\"ports\":[\"qfev\",\"kyakcktehognsddj\",\"kde\",\"esu\"]}]},{\"ipGroups\":[{\"name\":\"fcnxc\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"tcqxmyvkxixypavi\"]},{\"name\":\"czgo\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"wichmxczby\"]},{\"name\":\"ocgmzdcts\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"rngtwgxr\",\"lwvpl\",\"sdksut\"]}],\"vlanGroups\":[{\"name\":\"tih\",\"vlans\":[\"shbvjh\"]},{\"name\":\"pmqququxl\",\"vlans\":[\"grxlexoweorocrqi\"]}],\"portGroups\":[{\"name\":\"tgbqpfyrv\",\"ports\":[\"ijvwmrgcnzhrp\",\"cxfmbzquuutqmhb\",\"qyzycgcm\",\"kygvxjdqosxzmd\"]},{\"name\":\"ybqfufkekzfkicxh\",\"ports\":[\"mnkg\",\"hvsr\",\"jokvlwvbjsa\",\"xsv\"]},{\"name\":\"pabwbpzgfgqpudhg\",\"ports\":[\"eabbfpxxavlo\",\"ukgsn\",\"hw\",\"xj\"]}]}],\"networkTapId\":\"maxcebnb\",\"networkTapIds\":[\"kemqqerwqx\",\"jpvemdfkht\",\"uo\"],\"pollingIntervalInSeconds\":1810756619,\"lastSyncedTime\":\"2021-07-05T17:18:43Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"bjkjge\"},\"lastOperation\":{\"details\":\"t\"},\"networkFabricIds\":[\"bvbmnhtwofxfmhl\",\"yqnslbqrmlqkiekh\",\"gq\"],\"configurationState\":\"Provisioned\",\"provisioningState\":\"Failed\",\"administrativeState\":\"MAT\"},\"identity\":{\"principalId\":\"c\",\"tenantId\":\"msptluwozfvzas\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"cmcgmlmpnvq\":{\"principalId\":\"gx\",\"clientId\":\"wioq\"},\"xo\":{\"principalId\":\"yiarzn\",\"clientId\":\"qseypdlmajpu\"}}},\"location\":\"rmzgccynb\",\"tags\":{\"hedmm\":\"si\",\"xtzayqwddig\":\"oneeyrxpa\",\"wwveeozbjkjq\":\"blsplzdss\",\"ltssjdywbnklge\":\"izdnuehx\"},\"id\":\"xa\",\"name\":\"tsawv\",\"type\":\"cimpth\"}") + "{\"properties\":{\"annotation\":\"eyodpiovnl\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"yakzuafapwxsvd\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"iobnirgoextqdnwt\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"mznupbmtbsetkods\",\"sequenceNumber\":5443545049910494070,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"layer4Protocol\":\"TCP\"},\"protocolTypes\":[\"mmjyvdhdgdiwm\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"layer4Protocol\":\"TCP\"},\"protocolTypes\":[\"jisjmolzca\",\"fkakhgkrvtyycvy\",\"v\",\"ejqaw\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"layer4Protocol\":\"SCTP\"},\"protocolTypes\":[\"czbdypbbimh\",\"bozvo\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Mirror\",\"truncate\":\"jcyuzlybqsci\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"kvck\",\"matchConfigurationName\":\"fnwqhawvc\"}]},{\"matchConfigurationName\":\"iulby\",\"sequenceNumber\":1126810171320096552,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"layer4Protocol\":\"SCTP\"},\"protocolTypes\":[\"whm\",\"pucknsastlp\",\"mgomicttrvlv\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"layer4Protocol\":\"UDP\"},\"protocolTypes\":[\"mqecjrzvlcivqxd\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Redirect\",\"truncate\":\"wwlojkbgnf\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"vfsunhaevla\",\"matchConfigurationName\":\"czywywuahwc\"},{\"type\":\"Redirect\",\"truncate\":\"cnnaaxqjfda\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"imomggewdqbxex\",\"matchConfigurationName\":\"z\"},{\"type\":\"Goto\",\"truncate\":\"suqkslwsfx\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"byeywpmohnrtli\",\"matchConfigurationName\":\"fydztkqrfb\"},{\"type\":\"Goto\",\"truncate\":\"fwvzdteqjm\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"hgkaxnyprijyoxx\",\"matchConfigurationName\":\"bs\"}]},{\"matchConfigurationName\":\"rrlccklyfpjmspa\",\"sequenceNumber\":3879372568638321233,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"layer4Protocol\":\"TCP\"},\"protocolTypes\":[\"apvibzi\",\"yvichcap\",\"khjxnrkbn\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Count\",\"truncate\":\"znfgvlx\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"ctigp\",\"matchConfigurationName\":\"ywicklktgkdprtq\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"efuhb\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"sbgmlamoaxcaytnp\"]},{\"name\":\"bpbltcwsexh\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"qoubvepvlryszf\",\"dxyfhxoh\",\"bzhha\",\"zf\"]}],\"vlanGroups\":[{\"name\":\"kdslcofuvtfu\",\"vlans\":[\"uisaklhjfddxqfu\",\"subzsspmj\"]},{\"name\":\"ilfauyvxpq\",\"vlans\":[\"qdgwbztrthldwvog\",\"ffjdhgslormhbt\",\"fcvxkylhc\"]}],\"portGroups\":[{\"name\":\"lmnqunkygbptmsgk\",\"ports\":[\"wlxtzh\",\"bgbh\"]},{\"name\":\"hrpji\",\"ports\":[\"rqfibpkw\"]}]}],\"networkTapId\":\"mrlfizjuddndi\",\"networkTapIds\":[\"ngy\",\"ylqya\",\"ewcmodxwuuytxnxr\"],\"pollingIntervalInSeconds\":1138800670,\"lastSyncedTime\":\"2021-05-25T02:39:07Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"vf\"},\"lastOperation\":{\"details\":\"bjhmvpjxs\"},\"networkFabricIds\":[\"eignybffqc\"],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"mwg\",\"tenantId\":\"onysebjijfhpxni\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"por\":{\"principalId\":\"falo\",\"clientId\":\"skk\"},\"wuubwtsaynrtv\":{\"principalId\":\"nieu\",\"clientId\":\"ydlgfap\"},\"mrnblihs\":{\"principalId\":\"qreeo\",\"clientId\":\"q\"},\"buhruetc\":{\"principalId\":\"fbmdivixzhpjgq\",\"clientId\":\"iaoaweacfxa\"}}},\"location\":\"riqzzdc\",\"tags\":{\"urnowobwxrxmyo\":\"qdrrj\",\"uqjpzh\":\"ohlsfjf\",\"mud\":\"ahuvkqxqkvadmjh\"},\"id\":\"maajzd\",\"name\":\"bhsermclyqwwu\",\"type\":\"yqkaaptb\"}") .toObject(NetworkTapRuleInner.class); - Assertions.assertEquals("rmzgccynb", model.location()); - Assertions.assertEquals("si", model.tags().get("hedmm")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("owynj", model.annotation()); - Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); - Assertions.assertEquals("zmxuktdrsjtmnk", model.tapRulesUrl()); + Assertions.assertEquals("riqzzdc", model.location()); + Assertions.assertEquals("qdrrj", model.tags().get("urnowobwxrxmyo")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("eyodpiovnl", model.annotation()); + Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); + Assertions.assertEquals("yakzuafapwxsvd", model.tapRulesUrl()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("w", model.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("dtstia", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(6699511414705281945L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("iobnirgoextqdnwt", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("mznupbmtbsetkods", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5443545049910494070L, model.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("qbcmlroiomme", + Assertions.assertEquals("mmjyvdhdgdiwm", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(Layer4Protocol.UDP, + Assertions.assertEquals(Layer4Protocol.TCP, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().layer4Protocol()); Assertions.assertEquals(TapRuleActionType.MIRROR, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("afzvptriysjrg", model.matchConfigurations().get(0).actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals("jcyuzlybqsci", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("puqpsrcekdvvo", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("wedggwgc", + Assertions.assertEquals("kvck", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("fnwqhawvc", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("ylsacagif", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals("efuhb", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); Assertions.assertEquals(IpAddressType.IPV6, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("otohzwtoidhbx", + Assertions.assertEquals("sbgmlamoaxcaytnp", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("bvbbdledff", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("sluazz", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("eesacuicnvqiqsu", + Assertions.assertEquals("kdslcofuvtfu", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("uisaklhjfddxqfu", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("lmnqunkygbptmsgk", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("r", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); - Assertions.assertEquals(1810756619, model.pollingIntervalInSeconds()); + Assertions.assertEquals("wlxtzh", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); + Assertions.assertEquals(1138800670, model.pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("bjkjge", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("vf", model.globalNetworkTapRuleActions().truncate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkTapRuleInner model - = new NetworkTapRuleInner().withLocation("rmzgccynb") - .withTags(mapOf("hedmm", "si", "xtzayqwddig", "oneeyrxpa", "wwveeozbjkjq", "blsplzdss", - "ltssjdywbnklge", "izdnuehx")) - .withIdentity( - new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities( - mapOf("cmcgmlmpnvq", new UserAssignedIdentity(), "xo", new UserAssignedIdentity()))) - .withAnnotation("owynj") - .withConfigurationType(ConfigurationType.FILE) - .withTapRulesUrl("zmxuktdrsjtmnk") + = new NetworkTapRuleInner().withLocation("riqzzdc") + .withTags(mapOf("urnowobwxrxmyo", "qdrrj", "uqjpzh", "ohlsfjf", "mud", "ahuvkqxqkvadmjh")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities( + mapOf("por", new UserAssignedIdentity(), "wuubwtsaynrtv", new UserAssignedIdentity(), + "mrnblihs", new UserAssignedIdentity(), "buhruetc", new UserAssignedIdentity()))) + .withAnnotation("eyodpiovnl") + .withConfigurationType(ConfigurationType.INLINE) + .withTapRulesUrl("yakzuafapwxsvd") .withIdentitySelector( new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("w")) + .withUserAssignedIdentityResourceId("iobnirgoextqdnwt")) .withMatchConfigurations( - Arrays - .asList( - new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("dtstia") - .withSequenceNumber(6699511414705281945L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchCondition() - .withProtocolTypes( - Arrays.asList("qbcmlroiomme", "soq", "blcyeqdobobaq", "abebckc")) - .withVlanMatchCondition(new VlanMatchCondition()) - .withIpCondition(new IpMatchCondition()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.UDP)), - new NetworkTapRuleMatchCondition() - .withProtocolTypes( - Arrays.asList("pjcxbjgfm", "qyyfrridzfpsfyak", "dfhmlx", "q")) - .withVlanMatchCondition(new VlanMatchCondition()) - .withIpCondition(new IpMatchCondition()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.UDP)))) - .withActions(Arrays.asList(new NetworkTapRuleAction().withType(TapRuleActionType.MIRROR) - .withTruncate("afzvptriysjrg") + Arrays.asList( + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("mznupbmtbsetkods") + .withSequenceNumber(5443545049910494070L) + .withIpAddressType(IpAddressType.IPV6) + .withMatchConditions(Arrays.asList( + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("mmjyvdhdgdiwm")) + .withVlanMatchCondition(new VlanMatchCondition()) + .withIpCondition(new IpMatchCondition()) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.TCP)), + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("jisjmolzca", "fkakhgkrvtyycvy", "v", "ejqaw")) + .withVlanMatchCondition(new VlanMatchCondition()) + .withIpCondition(new IpMatchCondition()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.TCP)), + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("czbdypbbimh", "bozvo")) + .withVlanMatchCondition(new VlanMatchCondition()) + .withIpCondition(new IpMatchCondition()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.SCTP)))) + .withActions( + Arrays.asList(new NetworkTapRuleAction().withType(TapRuleActionType.MIRROR) + .withTruncate("jcyuzlybqsci") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("kvck") + .withMatchConfigurationName("fnwqhawvc"))), + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("iulby") + .withSequenceNumber(1126810171320096552L) + .withIpAddressType(IpAddressType.IPV6) + .withMatchConditions(Arrays.asList( + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("whm", "pucknsastlp", "mgomicttrvlv")) + .withVlanMatchCondition(new VlanMatchCondition()) + .withIpCondition(new IpMatchCondition()) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.SCTP)), + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("mqecjrzvlcivqxd")) + .withVlanMatchCondition(new VlanMatchCondition()) + .withIpCondition(new IpMatchCondition()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.UDP)))) + .withActions(Arrays.asList( + new NetworkTapRuleAction().withType(TapRuleActionType.REDIRECT) + .withTruncate("wwlojkbgnf") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("vfsunhaevla") + .withMatchConfigurationName("czywywuahwc"), + new NetworkTapRuleAction().withType(TapRuleActionType.REDIRECT) + .withTruncate("cnnaaxqjfda") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("imomggewdqbxex") + .withMatchConfigurationName("z"), + new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) + .withTruncate("suqkslwsfx") .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("puqpsrcekdvvo") - .withMatchConfigurationName("wedggwgc"))), - new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("bwatz") - .withSequenceNumber(2676877168964118174L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("rwiemzcyni")) - .withVlanMatchCondition(new VlanMatchCondition()) - .withIpCondition(new IpMatchCondition()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.SCTP)), - new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("rqw", "pz")) - .withVlanMatchCondition(new VlanMatchCondition()) - .withIpCondition(new IpMatchCondition()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.UDP)))) - .withActions(Arrays.asList( - new NetworkTapRuleAction().withType(TapRuleActionType.REPLICATE) - .withTruncate("tkmlfupjzcxx") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("yxjg") - .withMatchConfigurationName("xuerrda"), - new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) - .withTruncate("tkbcer") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("pvfqjckmpwyv") - .withMatchConfigurationName("nhhcikh"))))) - .withDynamicMatchConfigurations(Arrays.asList( - new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList( - new IpGroupProperties().withName("ylsacagif") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("otohzwtoidhbx")), - new IpGroupProperties().withName("rapwzhlutjsj") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("iemv", "pmeakosysycv", "de", "hcbsaipusuo")))) - .withVlanGroups(Arrays.asList( - new VlanGroupProperties().withName("bvbbdledff") - .withVlans(Arrays.asList("sluazz", "f", "veugpx")), - new VlanGroupProperties().withName("empupbscboxra") - .withVlans(Arrays.asList("zmrjgo", "ekxeheowseca", "drzzbskiwrjsb")))) - .withPortGroups(Arrays.asList( - new PortGroupProperties().withName("eesacuicnvqiqsu") - .withPorts(Arrays.asList("r", "aptndrmmnlhnk", "xrqkekcdavi")), - new PortGroupProperties().withName("beqrfzavqymcwts") - .withPorts(Arrays.asList("eplbrzgkuorwpqbs", "weobptscr", "ykk", "elayynoyjyfls")), - new PortGroupProperties().withName("bnlyoifgdfzj") - .withPorts(Arrays.asList("ykcv", "evcw", "zotkx")), - new PortGroupProperties().withName("wwooxgbsdzcg").withPorts(Arrays.asList("pjhubdmgo")))), - new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList( - new IpGroupProperties().withName("ujcqgzwvxwiu") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("jklqrljdcukyla", "rjiqoqovqhgphgxu", "ud")), - new IpGroupProperties().withName("yqruvumryddnqiva") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("njze", "picciyoypoe", "ks", "w")), - new IpGroupProperties().withName("bpybqeigxuyxsxte") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("nf", "fnhcg", "aqsr", "rfqd")))) - .withVlanGroups(Arrays.asList( - new VlanGroupProperties().withName("g") - .withVlans(Arrays.asList("obpmgqlw", "qznbb", "zposzfu")), - new VlanGroupProperties().withName("pbygbnbcmoiq") - .withVlans(Arrays.asList("pvqewflwz", "xzuxerxh", "wl", "kqsqvvdkfp")))) - .withPortGroups(Arrays.asList( - new PortGroupProperties().withName("jd") - .withPorts(Arrays.asList("mxxyfrdjid", "etfvgwfw", "ld", "gwouppvyddqsvc")), - new PortGroupProperties().withName("snxfrppwwqc") - .withPorts(Arrays.asList("mtfx", "epzpxzxlcqzfxai", "iqmcjb", "mkirpqn")), - new PortGroupProperties().withName("udmhkcomeobwk") - .withPorts(Arrays.asList("ltenlbfxlm", "ozesn", "oduomtxjbrixym")), - new PortGroupProperties().withName("ikkqyvurhwishyfm") - .withPorts(Arrays.asList("qfev", "kyakcktehognsddj", "kde", "esu")))), - new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList( - new IpGroupProperties().withName("fcnxc") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("tcqxmyvkxixypavi")), - new IpGroupProperties().withName("czgo") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("wichmxczby")), - new IpGroupProperties().withName("ocgmzdcts") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("rngtwgxr", "lwvpl", "sdksut")))) - .withVlanGroups( - Arrays.asList(new VlanGroupProperties().withName("tih").withVlans(Arrays.asList("shbvjh")), - new VlanGroupProperties().withName("pmqququxl") - .withVlans(Arrays.asList("grxlexoweorocrqi")))) - .withPortGroups( - Arrays.asList( - new PortGroupProperties().withName("tgbqpfyrv") - .withPorts(Arrays.asList("ijvwmrgcnzhrp", "cxfmbzquuutqmhb", "qyzycgcm", - "kygvxjdqosxzmd")), - new PortGroupProperties().withName("ybqfufkekzfkicxh") - .withPorts(Arrays.asList("mnkg", "hvsr", "jokvlwvbjsa", "xsv")), - new PortGroupProperties().withName("pabwbpzgfgqpudhg") - .withPorts(Arrays.asList("eabbfpxxavlo", "ukgsn", "hw", "xj")))))) - .withPollingIntervalInSeconds(1810756619) + .withDestinationId("byeywpmohnrtli") + .withMatchConfigurationName("fydztkqrfb"), + new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) + .withTruncate("fwvzdteqjm") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("hgkaxnyprijyoxx") + .withMatchConfigurationName("bs"))), + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("rrlccklyfpjmspa") + .withSequenceNumber(3879372568638321233L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("apvibzi", "yvichcap", "khjxnrkbn")) + .withVlanMatchCondition(new VlanMatchCondition()) + .withIpCondition(new IpMatchCondition()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withLayer4Protocol(Layer4Protocol.TCP)))) + .withActions(Arrays.asList(new NetworkTapRuleAction().withType(TapRuleActionType.COUNT) + .withTruncate("znfgvlx") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("ctigp") + .withMatchConfigurationName("ywicklktgkdprtq"))))) + .withDynamicMatchConfigurations(Arrays.asList(new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList( + new IpGroupProperties().withName("efuhb") + .withIpAddressType(IpAddressType.IPV6) + .withIpPrefixes(Arrays.asList("sbgmlamoaxcaytnp")), + new IpGroupProperties().withName("bpbltcwsexh") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("qoubvepvlryszf", "dxyfhxoh", "bzhha", "zf")))) + .withVlanGroups(Arrays.asList( + new VlanGroupProperties().withName("kdslcofuvtfu") + .withVlans(Arrays.asList("uisaklhjfddxqfu", "subzsspmj")), + new VlanGroupProperties().withName("ilfauyvxpq") + .withVlans(Arrays.asList("qdgwbztrthldwvog", "ffjdhgslormhbt", "fcvxkylhc")))) + .withPortGroups(Arrays.asList( + new PortGroupProperties().withName("lmnqunkygbptmsgk") + .withPorts(Arrays.asList("wlxtzh", "bgbh")), + new PortGroupProperties().withName("hrpji").withPorts(Arrays.asList("rqfibpkw")))))) + .withPollingIntervalInSeconds(1138800670) .withGlobalNetworkTapRuleActions( new GlobalNetworkTapRuleActionProperties().withEnableCount(BooleanEnumProperty.FALSE) - .withTruncate("bjkjge")); + .withTruncate("vf")); model = BinaryData.fromObject(model).toObject(NetworkTapRuleInner.class); - Assertions.assertEquals("rmzgccynb", model.location()); - Assertions.assertEquals("si", model.tags().get("hedmm")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("owynj", model.annotation()); - Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); - Assertions.assertEquals("zmxuktdrsjtmnk", model.tapRulesUrl()); + Assertions.assertEquals("riqzzdc", model.location()); + Assertions.assertEquals("qdrrj", model.tags().get("urnowobwxrxmyo")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("eyodpiovnl", model.annotation()); + Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); + Assertions.assertEquals("yakzuafapwxsvd", model.tapRulesUrl()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("w", model.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("dtstia", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(6699511414705281945L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("iobnirgoextqdnwt", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("mznupbmtbsetkods", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5443545049910494070L, model.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("qbcmlroiomme", + Assertions.assertEquals("mmjyvdhdgdiwm", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(Layer4Protocol.UDP, + Assertions.assertEquals(Layer4Protocol.TCP, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().layer4Protocol()); Assertions.assertEquals(TapRuleActionType.MIRROR, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("afzvptriysjrg", model.matchConfigurations().get(0).actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals("jcyuzlybqsci", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("puqpsrcekdvvo", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("wedggwgc", + Assertions.assertEquals("kvck", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("fnwqhawvc", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("ylsacagif", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals("efuhb", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); Assertions.assertEquals(IpAddressType.IPV6, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("otohzwtoidhbx", + Assertions.assertEquals("sbgmlamoaxcaytnp", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("bvbbdledff", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("sluazz", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("eesacuicnvqiqsu", + Assertions.assertEquals("kdslcofuvtfu", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("uisaklhjfddxqfu", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("lmnqunkygbptmsgk", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("r", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); - Assertions.assertEquals(1810756619, model.pollingIntervalInSeconds()); + Assertions.assertEquals("wlxtzh", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); + Assertions.assertEquals(1138800670, model.pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("bjkjge", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("vf", model.globalNetworkTapRuleActions().truncate()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionPatchTests.java index 5513333e1b7e9..c61a77651788b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionPatchTests.java @@ -21,52 +21,52 @@ public final class NetworkTapRuleMatchConditionPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleMatchConditionPatch model = BinaryData.fromString( - "{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"bboffgxtae\",\"xt\",\"fcyatbxdwr\",\"yvtkmxvztshnu\"],\"portGroupNames\":[\"peigkflvovri\"]},\"protocolTypes\":[\"z\",\"bkqcgz\",\"gtdjhtbarptxurs\",\"oyyumhzps\"],\"vlanMatchCondition\":{\"vlans\":[\"acvt\"],\"innerVlans\":[\"pbilnszyjbuw\",\"uusydscizv\",\"ayioxpqgqs\",\"l\"],\"vlanGroupNames\":[\"feombodvdgfuakqs\",\"ym\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"yuq\",\"tc\"],\"ipGroupNames\":[\"bpkfnxrlncmlz\",\"vrmesfhqsac\",\"qzr\",\"vfwcbawapndm\"]}}") + "{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"UDP\",\"ports\":[\"ugtkxncwdytnlr\",\"cmwbejywwwvn\",\"wwkrmqevrhhafqfu\"],\"portGroupNames\":[\"ziruqvgnjxiakgyj\",\"zbm\",\"gikyluyu\",\"mbrdcvoloxtv\"]},\"protocolTypes\":[\"nryhmmg\"],\"vlanMatchCondition\":{\"vlans\":[\"enkpsvokkya\"],\"innerVlans\":[\"vcptfgfbhnkxas\",\"mafe\",\"a\",\"h\"],\"vlanGroupNames\":[\"xpcpautfzptrcdz\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"kdxcyuwen\"],\"ipGroupNames\":[\"prawvoqatdjkal\",\"pmecsmxfzynf\",\"m\",\"yqkkpgwgss\"]}}") .toObject(NetworkTapRuleMatchConditionPatch.class); - Assertions.assertEquals("z", model.protocolTypes().get(0)); - Assertions.assertEquals("acvt", model.vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("pbilnszyjbuw", model.vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("feombodvdgfuakqs", model.vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.ipCondition().type()); - Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.ipCondition().prefixType()); - Assertions.assertEquals("yuq", model.ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("bpkfnxrlncmlz", model.ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals("nryhmmg", model.protocolTypes().get(0)); + Assertions.assertEquals("enkpsvokkya", model.vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("vcptfgfbhnkxas", model.vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("xpcpautfzptrcdz", model.vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, model.ipCondition().type()); + Assertions.assertEquals(PrefixType.PREFIX, model.ipCondition().prefixType()); + Assertions.assertEquals("kdxcyuwen", model.ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("prawvoqatdjkal", model.ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.encapsulationType()); - Assertions.assertEquals(PortType.DESTINATION_PORT, model.portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.SCTP, model.portCondition().layer4Protocol()); - Assertions.assertEquals("bboffgxtae", model.portCondition().ports().get(0)); - Assertions.assertEquals("peigkflvovri", model.portCondition().portGroupNames().get(0)); + Assertions.assertEquals(PortType.BIDIRECTIONAL, model.portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.UDP, model.portCondition().layer4Protocol()); + Assertions.assertEquals("ugtkxncwdytnlr", model.portCondition().ports().get(0)); + Assertions.assertEquals("ziruqvgnjxiakgyj", model.portCondition().portGroupNames().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapRuleMatchConditionPatch model = new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("z", "bkqcgz", "gtdjhtbarptxurs", "oyyumhzps")) - .withVlanMatchCondition(new VlanMatchConditionPatch().withVlans(Arrays.asList("acvt")) - .withInnerVlans(Arrays.asList("pbilnszyjbuw", "uusydscizv", "ayioxpqgqs", "l")) - .withVlanGroupNames(Arrays.asList("feombodvdgfuakqs", "ym"))) - .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.BIDIRECTIONAL) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues(Arrays.asList("yuq", "tc")) - .withIpGroupNames(Arrays.asList("bpkfnxrlncmlz", "vrmesfhqsac", "qzr", "vfwcbawapndm"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch().withPortType(PortType.DESTINATION_PORT) - .withLayer4Protocol(Layer4Protocol.SCTP) - .withPorts(Arrays.asList("bboffgxtae", "xt", "fcyatbxdwr", "yvtkmxvztshnu")) - .withPortGroupNames(Arrays.asList("peigkflvovri"))); + NetworkTapRuleMatchConditionPatch model + = new NetworkTapRuleMatchConditionPatch().withProtocolTypes(Arrays.asList("nryhmmg")) + .withVlanMatchCondition(new VlanMatchConditionPatch().withVlans(Arrays.asList("enkpsvokkya")) + .withInnerVlans(Arrays.asList("vcptfgfbhnkxas", "mafe", "a", "h")) + .withVlanGroupNames(Arrays.asList("xpcpautfzptrcdz"))) + .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.DESTINATION_IP) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("kdxcyuwen")) + .withIpGroupNames(Arrays.asList("prawvoqatdjkal", "pmecsmxfzynf", "m", "yqkkpgwgss"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch().withPortType(PortType.BIDIRECTIONAL) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("ugtkxncwdytnlr", "cmwbejywwwvn", "wwkrmqevrhhafqfu")) + .withPortGroupNames(Arrays.asList("ziruqvgnjxiakgyj", "zbm", "gikyluyu", "mbrdcvoloxtv"))); model = BinaryData.fromObject(model).toObject(NetworkTapRuleMatchConditionPatch.class); - Assertions.assertEquals("z", model.protocolTypes().get(0)); - Assertions.assertEquals("acvt", model.vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("pbilnszyjbuw", model.vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("feombodvdgfuakqs", model.vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.ipCondition().type()); - Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.ipCondition().prefixType()); - Assertions.assertEquals("yuq", model.ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("bpkfnxrlncmlz", model.ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals("nryhmmg", model.protocolTypes().get(0)); + Assertions.assertEquals("enkpsvokkya", model.vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("vcptfgfbhnkxas", model.vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("xpcpautfzptrcdz", model.vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, model.ipCondition().type()); + Assertions.assertEquals(PrefixType.PREFIX, model.ipCondition().prefixType()); + Assertions.assertEquals("kdxcyuwen", model.ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("prawvoqatdjkal", model.ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.encapsulationType()); - Assertions.assertEquals(PortType.DESTINATION_PORT, model.portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.SCTP, model.portCondition().layer4Protocol()); - Assertions.assertEquals("bboffgxtae", model.portCondition().ports().get(0)); - Assertions.assertEquals("peigkflvovri", model.portCondition().portGroupNames().get(0)); + Assertions.assertEquals(PortType.BIDIRECTIONAL, model.portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.UDP, model.portCondition().layer4Protocol()); + Assertions.assertEquals("ugtkxncwdytnlr", model.portCondition().ports().get(0)); + Assertions.assertEquals("ziruqvgnjxiakgyj", model.portCondition().portGroupNames().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionTests.java index 095507a038c41..509034666091c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConditionTests.java @@ -21,53 +21,52 @@ public final class NetworkTapRuleMatchConditionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleMatchCondition model = BinaryData.fromString( - "{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"vfccozvqxsphtr\",\"i\",\"rmsukx\",\"uytgcptctxpo\"],\"portGroupNames\":[\"ckm\",\"mfvrcclclfkf\",\"yjom\"]},\"protocolTypes\":[\"vpoip\",\"ylxtebvse\"],\"vlanMatchCondition\":{\"vlans\":[\"vpaysqw\",\"zdcyandblkbnt\",\"vpvdfmo\",\"qctfvxu\"],\"innerVlans\":[\"pff\",\"pjpjmsbzzjsnyf\",\"wyjzuakkiubeqk\",\"ttlrglhxs\"],\"vlanGroupNames\":[\"guhbnhogsezreneg\",\"pdtyzp\",\"litw\",\"ejm\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"hskvsdfvhrypezam\",\"pkapvnpeukgnmf\",\"keq\"],\"ipGroupNames\":[\"romlcs\",\"kt\",\"psrowshvf\"]}}") + "{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"cuayiqylnkmmxzi\"],\"portGroupNames\":[\"gqexowq\",\"rtgqrqkk\",\"fy\",\"kuobpw\"]},\"protocolTypes\":[\"pgobothx\",\"ewhpnyjt\",\"qgzyvextc\"],\"vlanMatchCondition\":{\"vlans\":[\"oldowuwh\"],\"innerVlans\":[\"ifiozttcbiic\",\"gkudsozodwjc\",\"qoyxr\",\"qycymzrlcfg\"],\"vlanGroupNames\":[\"auz\",\"dheadnyciwz\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"fgesvzohabbri\",\"madjrsbga\",\"ljqovqmxqsxo\"],\"ipGroupNames\":[\"nkiu\",\"kgltsxooiobhieb\"]}}") .toObject(NetworkTapRuleMatchCondition.class); - Assertions.assertEquals("vpoip", model.protocolTypes().get(0)); - Assertions.assertEquals("vpaysqw", model.vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("pff", model.vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("guhbnhogsezreneg", model.vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals("pgobothx", model.protocolTypes().get(0)); + Assertions.assertEquals("oldowuwh", model.vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("ifiozttcbiic", model.vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("auz", model.vlanMatchCondition().vlanGroupNames().get(0)); Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.ipCondition().type()); Assertions.assertEquals(PrefixType.PREFIX, model.ipCondition().prefixType()); - Assertions.assertEquals("hskvsdfvhrypezam", model.ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("romlcs", model.ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals("fgesvzohabbri", model.ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("nkiu", model.ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.GTPV1, model.encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, model.portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.SCTP, model.portCondition().layer4Protocol()); - Assertions.assertEquals("vfccozvqxsphtr", model.portCondition().ports().get(0)); - Assertions.assertEquals("ckm", model.portCondition().portGroupNames().get(0)); + Assertions.assertEquals(PortType.DESTINATION_PORT, model.portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.UDP, model.portCondition().layer4Protocol()); + Assertions.assertEquals("cuayiqylnkmmxzi", model.portCondition().ports().get(0)); + Assertions.assertEquals("gqexowq", model.portCondition().portGroupNames().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkTapRuleMatchCondition model - = new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("vpoip", "ylxtebvse")) - .withVlanMatchCondition( - new VlanMatchCondition().withVlans(Arrays.asList("vpaysqw", "zdcyandblkbnt", "vpvdfmo", "qctfvxu")) - .withInnerVlans(Arrays.asList("pff", "pjpjmsbzzjsnyf", "wyjzuakkiubeqk", "ttlrglhxs")) - .withVlanGroupNames(Arrays.asList("guhbnhogsezreneg", "pdtyzp", "litw", "ejm"))) + = new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("pgobothx", "ewhpnyjt", "qgzyvextc")) + .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("oldowuwh")) + .withInnerVlans(Arrays.asList("ifiozttcbiic", "gkudsozodwjc", "qoyxr", "qycymzrlcfg")) + .withVlanGroupNames(Arrays.asList("auz", "dheadnyciwz"))) .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("hskvsdfvhrypezam", "pkapvnpeukgnmf", "keq")) - .withIpGroupNames(Arrays.asList("romlcs", "kt", "psrowshvf"))) + .withIpPrefixValues(Arrays.asList("fgesvzohabbri", "madjrsbga", "ljqovqmxqsxo")) + .withIpGroupNames(Arrays.asList("nkiu", "kgltsxooiobhieb"))) .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withPortType(PortType.BIDIRECTIONAL) - .withLayer4Protocol(Layer4Protocol.SCTP) - .withPorts(Arrays.asList("vfccozvqxsphtr", "i", "rmsukx", "uytgcptctxpo")) - .withPortGroupNames(Arrays.asList("ckm", "mfvrcclclfkf", "yjom"))); + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("cuayiqylnkmmxzi")) + .withPortGroupNames(Arrays.asList("gqexowq", "rtgqrqkk", "fy", "kuobpw"))); model = BinaryData.fromObject(model).toObject(NetworkTapRuleMatchCondition.class); - Assertions.assertEquals("vpoip", model.protocolTypes().get(0)); - Assertions.assertEquals("vpaysqw", model.vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("pff", model.vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("guhbnhogsezreneg", model.vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals("pgobothx", model.protocolTypes().get(0)); + Assertions.assertEquals("oldowuwh", model.vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("ifiozttcbiic", model.vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("auz", model.vlanMatchCondition().vlanGroupNames().get(0)); Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.ipCondition().type()); Assertions.assertEquals(PrefixType.PREFIX, model.ipCondition().prefixType()); - Assertions.assertEquals("hskvsdfvhrypezam", model.ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("romlcs", model.ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals("fgesvzohabbri", model.ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("nkiu", model.ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.GTPV1, model.encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, model.portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.SCTP, model.portCondition().layer4Protocol()); - Assertions.assertEquals("vfccozvqxsphtr", model.portCondition().ports().get(0)); - Assertions.assertEquals("ckm", model.portCondition().portGroupNames().get(0)); + Assertions.assertEquals(PortType.DESTINATION_PORT, model.portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.UDP, model.portCondition().layer4Protocol()); + Assertions.assertEquals("cuayiqylnkmmxzi", model.portCondition().ports().get(0)); + Assertions.assertEquals("gqexowq", model.portCondition().portGroupNames().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationPatchTests.java index 91228eda3b208..7c537d6534b61 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationPatchTests.java @@ -26,94 +26,133 @@ public final class NetworkTapRuleMatchConfigurationPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleMatchConfigurationPatch model = BinaryData.fromString( - "{\"matchConfigurationName\":\"jxkmpe\",\"sequenceNumber\":371540504965913583,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"UDP\",\"ports\":[\"rfe\",\"zunbua\"],\"portGroupNames\":[\"ubukqmierzrnob\",\"vequzytapgzdhz\",\"jecdsysxnku\"]},\"protocolTypes\":[\"nlsevzcrrwnkk\",\"dwqymxsfqe\"],\"vlanMatchCondition\":{\"vlans\":[\"eluvmsa\"],\"innerVlans\":[\"iaw\",\"q\"],\"vlanGroupNames\":[\"hvvzfznfgpbc\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"jieask\",\"kqclnfusr\"],\"ipGroupNames\":[\"skkhbm\",\"phlyyuahvyeikb\",\"qzrurgbqa\",\"cpckxjnohafwm\"]}}],\"actions\":[{\"type\":\"Log\",\"truncate\":\"xtugpeamet\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"famtxccfegsavbgh\",\"matchConfigurationName\":\"cvka\"},{\"type\":\"Drop\",\"truncate\":\"oimazkmqfwbg\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"ybfmpotal\",\"matchConfigurationName\":\"figrxxtrco\"},{\"type\":\"Goto\",\"truncate\":\"ogldmxxb\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"vamsxrwq\",\"matchConfigurationName\":\"dflg\"}]}") + "{\"matchConfigurationName\":\"ygimiz\",\"sequenceNumber\":8794500155536300672,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"oeszthjtryjsk\",\"iylgzzu\",\"ixpsybqowgvmxw\"],\"portGroupNames\":[\"xdhkoex\",\"rhgnakajwscmneev\"]},\"protocolTypes\":[\"qeumz\",\"yhmgq\",\"eivjqutxr\",\"gbzgfhzdzahktxv\"],\"vlanMatchCondition\":{\"vlans\":[\"fecth\",\"tbkjw\",\"ztpxj\",\"twk\"],\"innerVlans\":[\"payxopqiwuzrgq\"],\"vlanGroupNames\":[\"fkgb\",\"qqjobsyn\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"hd\"],\"ipGroupNames\":[\"sxjwfudmpfh\",\"ypphtjtntcwgpdb\",\"glaecctokfspv\",\"rd\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"yptwjwiyyeohgmc\",\"djmvphwfnu\"],\"portGroupNames\":[\"vfzzioxbgom\"]},\"protocolTypes\":[\"prpmo\",\"xnwcgzuoxixtx\"],\"vlanMatchCondition\":{\"vlans\":[\"sehbknnrnk\",\"jfawpcbsogz\",\"hczbnivco\"],\"innerVlans\":[\"vppkj\"],\"vlanGroupNames\":[\"kd\",\"ewhotvbmyzuqfdq\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"szhh\",\"ngjn\",\"kvzmxlffqg\",\"odnkqyipgkmjt\"],\"ipGroupNames\":[\"mdzesime\",\"tgdrfzj\",\"flz\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"efcor\",\"bidaeb\",\"zni\"],\"portGroupNames\":[\"dfajwiylciobbp\",\"ws\",\"zeqxuecuuuexsmn\",\"eevf\"]},\"protocolTypes\":[\"fezraqs\",\"dkod\",\"gxqfkyr\"],\"vlanMatchCondition\":{\"vlans\":[\"zeg\",\"w\",\"zfss\"],\"innerVlans\":[\"gaok\"],\"vlanGroupNames\":[\"kkraj\",\"yuklxkel\",\"zpyqbwhuecx\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"pavsfgvrvqrww\"],\"ipGroupNames\":[\"wroqkljnzpqhqq\",\"arkyulfamea\",\"sjqenh\"]}}],\"actions\":[{\"type\":\"Redirect\",\"truncate\":\"geytlplslfc\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"suowtolkyqf\",\"matchConfigurationName\":\"ocrh\"},{\"type\":\"Redirect\",\"truncate\":\"fvmwunrtcsraw\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"fshmbydmvwnbuns\",\"matchConfigurationName\":\"tevzshqykebm\"},{\"type\":\"Goto\",\"truncate\":\"ezcldk\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"ovqdmhcej\",\"matchConfigurationName\":\"fsmacjakg\"},{\"type\":\"Count\",\"truncate\":\"qdsoqzhxwdjoxwkb\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"bvcnsbi\",\"matchConfigurationName\":\"znlf\"}]}") .toObject(NetworkTapRuleMatchConfigurationPatch.class); - Assertions.assertEquals("jxkmpe", model.matchConfigurationName()); - Assertions.assertEquals(371540504965913583L, model.sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, model.ipAddressType()); - Assertions.assertEquals("nlsevzcrrwnkk", model.matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("eluvmsa", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("iaw", model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("hvvzfznfgpbc", - model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals("ygimiz", model.matchConfigurationName()); + Assertions.assertEquals(8794500155536300672L, model.sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, model.ipAddressType()); + Assertions.assertEquals("qeumz", model.matchConditions().get(0).protocolTypes().get(0)); + Assertions.assertEquals("fecth", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("payxopqiwuzrgq", + model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("fkgb", model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, model.matchConditions().get(0).ipCondition().type()); - Assertions.assertEquals(PrefixType.PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("jieask", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("skkhbm", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); + Assertions.assertEquals("hd", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("sxjwfudmpfh", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, model.matchConditions().get(0).portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.UDP, model.matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("rfe", model.matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("ubukqmierzrnob", - model.matchConditions().get(0).portCondition().portGroupNames().get(0)); - Assertions.assertEquals(TapRuleActionType.LOG, model.actions().get(0).type()); - Assertions.assertEquals("xtugpeamet", model.actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("famtxccfegsavbgh", model.actions().get(0).destinationId()); - Assertions.assertEquals("cvka", model.actions().get(0).matchConfigurationName()); + Assertions.assertEquals(PortType.SOURCE_PORT, model.matchConditions().get(0).portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.SCTP, model.matchConditions().get(0).portCondition().layer4Protocol()); + Assertions.assertEquals("oeszthjtryjsk", model.matchConditions().get(0).portCondition().ports().get(0)); + Assertions.assertEquals("xdhkoex", model.matchConditions().get(0).portCondition().portGroupNames().get(0)); + Assertions.assertEquals(TapRuleActionType.REDIRECT, model.actions().get(0).type()); + Assertions.assertEquals("geytlplslfc", model.actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.actions().get(0).isTimestampEnabled()); + Assertions.assertEquals("suowtolkyqf", model.actions().get(0).destinationId()); + Assertions.assertEquals("ocrh", model.actions().get(0).matchConfigurationName()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkTapRuleMatchConfigurationPatch model - = new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("jxkmpe") - .withSequenceNumber(371540504965913583L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("nlsevzcrrwnkk", "dwqymxsfqe")) - .withVlanMatchCondition(new VlanMatchConditionPatch().withVlans(Arrays.asList("eluvmsa")) - .withInnerVlans(Arrays.asList("iaw", "q")) - .withVlanGroupNames(Arrays.asList("hvvzfznfgpbc"))) - .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.DESTINATION_IP) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("jieask", "kqclnfusr")) - .withIpGroupNames(Arrays.asList("skkhbm", "phlyyuahvyeikb", "qzrurgbqa", "cpckxjnohafwm"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch().withPortType(PortType.BIDIRECTIONAL) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("rfe", "zunbua")) - .withPortGroupNames(Arrays.asList("ubukqmierzrnob", "vequzytapgzdhz", "jecdsysxnku"))))) + = new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("ygimiz") + .withSequenceNumber(8794500155536300672L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions( + Arrays.asList( + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("qeumz", "yhmgq", "eivjqutxr", "gbzgfhzdzahktxv")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("fecth", "tbkjw", "ztpxj", "twk")) + .withInnerVlans(Arrays.asList("payxopqiwuzrgq")) + .withVlanGroupNames(Arrays.asList("fkgb", "qqjobsyn"))) + .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.DESTINATION_IP) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues(Arrays.asList("hd")) + .withIpGroupNames( + Arrays.asList("sxjwfudmpfh", "ypphtjtntcwgpdb", "glaecctokfspv", "rd"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch() + .withPortType(PortType.SOURCE_PORT) + .withLayer4Protocol(Layer4Protocol.SCTP) + .withPorts(Arrays.asList("oeszthjtryjsk", "iylgzzu", "ixpsybqowgvmxw")) + .withPortGroupNames(Arrays.asList("xdhkoex", "rhgnakajwscmneev"))), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("prpmo", "xnwcgzuoxixtx")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("sehbknnrnk", "jfawpcbsogz", "hczbnivco")) + .withInnerVlans(Arrays.asList("vppkj")) + .withVlanGroupNames(Arrays.asList("kd", "ewhotvbmyzuqfdq"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.DESTINATION_IP) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("szhh", "ngjn", "kvzmxlffqg", "odnkqyipgkmjt")) + .withIpGroupNames(Arrays.asList("mdzesime", "tgdrfzj", "flz"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("yptwjwiyyeohgmc", "djmvphwfnu")) + .withPortGroupNames(Arrays.asList("vfzzioxbgom"))), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("fezraqs", "dkod", "gxqfkyr")) + .withVlanMatchCondition( + new VlanMatchConditionPatch().withVlans(Arrays.asList("zeg", "w", "zfss")) + .withInnerVlans(Arrays.asList("gaok")) + .withVlanGroupNames(Arrays.asList("kkraj", "yuklxkel", "zpyqbwhuecx"))) + .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.DESTINATION_IP) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues(Arrays.asList("pavsfgvrvqrww")) + .withIpGroupNames(Arrays.asList("wroqkljnzpqhqq", "arkyulfamea", "sjqenh"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch().withPortType(PortType.SOURCE_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("efcor", "bidaeb", "zni")) + .withPortGroupNames(Arrays.asList("dfajwiylciobbp", "ws", "zeqxuecuuuexsmn", "eevf"))))) .withActions(Arrays.asList( - new NetworkTapRuleActionPatch().withType(TapRuleActionType.LOG) - .withTruncate("xtugpeamet") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("famtxccfegsavbgh") - .withMatchConfigurationName("cvka"), - new NetworkTapRuleActionPatch().withType(TapRuleActionType.DROP) - .withTruncate("oimazkmqfwbg") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("ybfmpotal") - .withMatchConfigurationName("figrxxtrco"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.REDIRECT) + .withTruncate("geytlplslfc") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("suowtolkyqf") + .withMatchConfigurationName("ocrh"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.REDIRECT) + .withTruncate("fvmwunrtcsraw") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("fshmbydmvwnbuns") + .withMatchConfigurationName("tevzshqykebm"), new NetworkTapRuleActionPatch().withType(TapRuleActionType.GOTO) - .withTruncate("ogldmxxb") + .withTruncate("ezcldk") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("ovqdmhcej") + .withMatchConfigurationName("fsmacjakg"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.COUNT) + .withTruncate("qdsoqzhxwdjoxwkb") .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("vamsxrwq") - .withMatchConfigurationName("dflg"))); + .withDestinationId("bvcnsbi") + .withMatchConfigurationName("znlf"))); model = BinaryData.fromObject(model).toObject(NetworkTapRuleMatchConfigurationPatch.class); - Assertions.assertEquals("jxkmpe", model.matchConfigurationName()); - Assertions.assertEquals(371540504965913583L, model.sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, model.ipAddressType()); - Assertions.assertEquals("nlsevzcrrwnkk", model.matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("eluvmsa", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("iaw", model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("hvvzfznfgpbc", - model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals("ygimiz", model.matchConfigurationName()); + Assertions.assertEquals(8794500155536300672L, model.sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, model.ipAddressType()); + Assertions.assertEquals("qeumz", model.matchConditions().get(0).protocolTypes().get(0)); + Assertions.assertEquals("fecth", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("payxopqiwuzrgq", + model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("fkgb", model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, model.matchConditions().get(0).ipCondition().type()); - Assertions.assertEquals(PrefixType.PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("jieask", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("skkhbm", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); + Assertions.assertEquals("hd", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("sxjwfudmpfh", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, model.matchConditions().get(0).portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.UDP, model.matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("rfe", model.matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("ubukqmierzrnob", - model.matchConditions().get(0).portCondition().portGroupNames().get(0)); - Assertions.assertEquals(TapRuleActionType.LOG, model.actions().get(0).type()); - Assertions.assertEquals("xtugpeamet", model.actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("famtxccfegsavbgh", model.actions().get(0).destinationId()); - Assertions.assertEquals("cvka", model.actions().get(0).matchConfigurationName()); + Assertions.assertEquals(PortType.SOURCE_PORT, model.matchConditions().get(0).portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.SCTP, model.matchConditions().get(0).portCondition().layer4Protocol()); + Assertions.assertEquals("oeszthjtryjsk", model.matchConditions().get(0).portCondition().ports().get(0)); + Assertions.assertEquals("xdhkoex", model.matchConditions().get(0).portCondition().portGroupNames().get(0)); + Assertions.assertEquals(TapRuleActionType.REDIRECT, model.actions().get(0).type()); + Assertions.assertEquals("geytlplslfc", model.actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.actions().get(0).isTimestampEnabled()); + Assertions.assertEquals("suowtolkyqf", model.actions().get(0).destinationId()); + Assertions.assertEquals("ocrh", model.actions().get(0).matchConfigurationName()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationTests.java index 278bb405368b8..fdc3055eb1cd0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRuleMatchConfigurationTests.java @@ -26,93 +26,126 @@ public final class NetworkTapRuleMatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleMatchConfiguration model = BinaryData.fromString( - "{\"matchConfigurationName\":\"v\",\"sequenceNumber\":5591618762734770844,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"UDP\",\"ports\":[\"kjvdryknkxiox\",\"nrjlqdoqejexf\",\"lhuhdkubgyw\"],\"portGroupNames\":[\"klpdyehjrwcflvx\",\"ocaywmfvuhz\",\"olhve\",\"lngsfmh\"]},\"protocolTypes\":[\"qupy\",\"lhklmnj\",\"zmqyn\",\"itrnwqgqrbth\"],\"vlanMatchCondition\":{\"vlans\":[\"qnrjoco\",\"wfvkywzrq\",\"iadd\",\"khuvnl\"],\"innerVlans\":[\"nutiexmi\",\"unzbq\"],\"vlanGroupNames\":[\"ynctfqhh\",\"vwzprjaaaiai\",\"tvavlyaqtl\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"vzuzqcrl\",\"o\"],\"ipGroupNames\":[\"zgyhen\"]}}],\"actions\":[{\"type\":\"Mirror\",\"truncate\":\"cowmhn\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"ywjiaaosla\",\"matchConfigurationName\":\"gwaakktbjortz\"},{\"type\":\"Goto\",\"truncate\":\"qhsnsejplislxyl\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"dw\",\"matchConfigurationName\":\"jwxgvtkjct\"}]}") + "{\"matchConfigurationName\":\"fzl\",\"sequenceNumber\":6628381157923167153,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"ixgofqdqwsj\",\"ihuvrqpbxdoicqpk\",\"tly\"],\"portGroupNames\":[\"p\",\"nsbmzjritukoym\"]},\"protocolTypes\":[\"exmizzjxwjoqfzw\"],\"vlanMatchCondition\":{\"vlans\":[\"hduwdvolxtqmr\",\"c\",\"s\"],\"innerVlans\":[\"bkiumjf\",\"oxedrmrazhvch\"],\"vlanGroupNames\":[\"yiog\",\"ntnwzruzso\",\"wxcsmx\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"cebspc\",\"ryomhkdwuwe\",\"upbkmzk\"],\"ipGroupNames\":[\"jsqwhaefefvv\",\"x\",\"bnmcvaqycd\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"vfxnzpf\",\"fupktw\",\"dpsegivytabvbbk\",\"lewgsltut\"],\"portGroupNames\":[\"edwu\",\"qbmenxc\"]},\"protocolTypes\":[\"wclykcr\",\"dek\",\"bnjrevmpted\"],\"vlanMatchCondition\":{\"vlans\":[\"thshnfiyg\",\"gpkkhpj\",\"glaqlmi\"],\"innerVlans\":[\"trdlpxi\",\"wgecpvfpnrzikvo\",\"loeohy\"],\"vlanGroupNames\":[\"xdifbwblijhp\",\"ukxgoyxontbwdq\",\"xr\",\"suqrrldxfuaef\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"jrppif\",\"yrqvelrmd\"],\"ipGroupNames\":[\"hvksbojkl\",\"jpzwyn\",\"wksmpyeyzolb\",\"nflytfxud\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"TCP\",\"ports\":[\"kqwopws\",\"liyznghuqzgp\"],\"portGroupNames\":[\"kfv\"]},\"protocolTypes\":[\"gavtfy\",\"sedfmzu\",\"ryxpi\"],\"vlanMatchCondition\":{\"vlans\":[\"eakfdmcedlik\",\"x\"],\"innerVlans\":[\"ddoq\"],\"vlanGroupNames\":[\"qtrkicw\",\"qyrgqmndk\",\"wwmu\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"fsrnackitlwgeb\",\"lpzjeldaqwjun\"],\"ipGroupNames\":[\"ijhwcbrdsypotnpk\",\"vzpkodngvnq\",\"jgsbtwgnld\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"ycznrirpii\",\"vcqoq\"],\"portGroupNames\":[\"ucqsdgbxcwtvmij\",\"cpkkjlamyvwprj\",\"aih\",\"nnlb\"]},\"protocolTypes\":[\"ppcbqetf\",\"fppvolzayj\"],\"vlanMatchCondition\":{\"vlans\":[\"jh\",\"prklatwiuujxsuj\",\"rwgxeegxbnjnczep\"],\"innerVlans\":[\"ymgbfmd\",\"uyyaescjxna\",\"pyxqbkxdtbfkih\",\"inzkefkzlxvc\"],\"vlanGroupNames\":[\"goeozlib\",\"bnunzuysajvvqlho\",\"yonelivgtibtkqjq\",\"caj\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"kemrv\"],\"ipGroupNames\":[\"ojtdyulglh\"]}}],\"actions\":[{\"type\":\"Goto\",\"truncate\":\"lfqfxspxgogypbzt\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"jnskvct\",\"matchConfigurationName\":\"zimbwttmhl\"},{\"type\":\"Drop\",\"truncate\":\"yxrnwukfajnpdwz\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"wdepemziayfi\",\"matchConfigurationName\":\"idxcorjv\"}]}") .toObject(NetworkTapRuleMatchConfiguration.class); - Assertions.assertEquals("v", model.matchConfigurationName()); - Assertions.assertEquals(5591618762734770844L, model.sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, model.ipAddressType()); - Assertions.assertEquals("qupy", model.matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("qnrjoco", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("nutiexmi", model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("ynctfqhh", - model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, + Assertions.assertEquals("fzl", model.matchConfigurationName()); + Assertions.assertEquals(6628381157923167153L, model.sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, model.ipAddressType()); + Assertions.assertEquals("exmizzjxwjoqfzw", model.matchConditions().get(0).protocolTypes().get(0)); + Assertions.assertEquals("hduwdvolxtqmr", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("bkiumjf", model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("yiog", model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.matchConditions().get(0).ipCondition().type()); - Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("vzuzqcrl", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("zgyhen", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); - Assertions.assertEquals(EncapsulationType.GTPV1, model.matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, model.matchConditions().get(0).portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.UDP, model.matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("kjvdryknkxiox", model.matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("klpdyehjrwcflvx", - model.matchConditions().get(0).portCondition().portGroupNames().get(0)); - Assertions.assertEquals(TapRuleActionType.MIRROR, model.actions().get(0).type()); - Assertions.assertEquals("cowmhn", model.actions().get(0).truncate()); + Assertions.assertEquals(PrefixType.PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); + Assertions.assertEquals("cebspc", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("jsqwhaefefvv", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals(EncapsulationType.NONE, model.matchConditions().get(0).encapsulationType()); + Assertions.assertEquals(PortType.DESTINATION_PORT, model.matchConditions().get(0).portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.TCP, model.matchConditions().get(0).portCondition().layer4Protocol()); + Assertions.assertEquals("ixgofqdqwsj", model.matchConditions().get(0).portCondition().ports().get(0)); + Assertions.assertEquals("p", model.matchConditions().get(0).portCondition().portGroupNames().get(0)); + Assertions.assertEquals(TapRuleActionType.GOTO, model.actions().get(0).type()); + Assertions.assertEquals("lfqfxspxgogypbzt", model.actions().get(0).truncate()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("ywjiaaosla", model.actions().get(0).destinationId()); - Assertions.assertEquals("gwaakktbjortz", model.actions().get(0).matchConfigurationName()); + Assertions.assertEquals("jnskvct", model.actions().get(0).destinationId()); + Assertions.assertEquals("zimbwttmhl", model.actions().get(0).matchConfigurationName()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapRuleMatchConfiguration model - = new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("v") - .withSequenceNumber(5591618762734770844L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions( - Arrays - .asList(new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("qupy", "lhklmnj", "zmqyn", "itrnwqgqrbth")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("qnrjoco", "wfvkywzrq", "iadd", "khuvnl")) - .withInnerVlans(Arrays.asList("nutiexmi", "unzbq")) - .withVlanGroupNames(Arrays.asList("ynctfqhh", "vwzprjaaaiai", "tvavlyaqtl"))) - .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.DESTINATION_IP) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues(Arrays.asList("vzuzqcrl", "o")) - .withIpGroupNames(Arrays.asList("zgyhen"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withPortType(PortType.BIDIRECTIONAL) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("kjvdryknkxiox", "nrjlqdoqejexf", "lhuhdkubgyw")) - .withPortGroupNames( - Arrays.asList("klpdyehjrwcflvx", "ocaywmfvuhz", "olhve", "lngsfmh"))))) - .withActions(Arrays.asList( - new NetworkTapRuleAction().withType(TapRuleActionType.MIRROR) - .withTruncate("cowmhn") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("ywjiaaosla") - .withMatchConfigurationName("gwaakktbjortz"), - new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) - .withTruncate("qhsnsejplislxyl") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("dw") - .withMatchConfigurationName("jwxgvtkjct"))); + NetworkTapRuleMatchConfiguration model = new NetworkTapRuleMatchConfiguration() + .withMatchConfigurationName("fzl") + .withSequenceNumber(6628381157923167153L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays.asList( + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("exmizzjxwjoqfzw")) + .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("hduwdvolxtqmr", "c", "s")) + .withInnerVlans(Arrays.asList("bkiumjf", "oxedrmrazhvch")) + .withVlanGroupNames(Arrays.asList("yiog", "ntnwzruzso", "wxcsmx"))) + .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("cebspc", "ryomhkdwuwe", "upbkmzk")) + .withIpGroupNames(Arrays.asList("jsqwhaefefvv", "x", "bnmcvaqycd"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.TCP) + .withPorts(Arrays.asList("ixgofqdqwsj", "ihuvrqpbxdoicqpk", "tly")) + .withPortGroupNames(Arrays.asList("p", "nsbmzjritukoym"))), + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("wclykcr", "dek", "bnjrevmpted")) + .withVlanMatchCondition( + new VlanMatchCondition().withVlans(Arrays.asList("thshnfiyg", "gpkkhpj", "glaqlmi")) + .withInnerVlans(Arrays.asList("trdlpxi", "wgecpvfpnrzikvo", "loeohy")) + .withVlanGroupNames(Arrays.asList("xdifbwblijhp", "ukxgoyxontbwdq", "xr", "suqrrldxfuaef"))) + .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues(Arrays.asList("jrppif", "yrqvelrmd")) + .withIpGroupNames(Arrays.asList("hvksbojkl", "jpzwyn", "wksmpyeyzolb", "nflytfxud"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withPortType(PortType.SOURCE_PORT) + .withLayer4Protocol(Layer4Protocol.SCTP) + .withPorts(Arrays.asList("vfxnzpf", "fupktw", "dpsegivytabvbbk", "lewgsltut")) + .withPortGroupNames(Arrays.asList("edwu", "qbmenxc"))), + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("gavtfy", "sedfmzu", "ryxpi")) + .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("eakfdmcedlik", "x")) + .withInnerVlans(Arrays.asList("ddoq")) + .withVlanGroupNames(Arrays.asList("qtrkicw", "qyrgqmndk", "wwmu"))) + .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("fsrnackitlwgeb", "lpzjeldaqwjun")) + .withIpGroupNames(Arrays.asList("ijhwcbrdsypotnpk", "vzpkodngvnq", "jgsbtwgnld"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withPortType(PortType.BIDIRECTIONAL) + .withLayer4Protocol(Layer4Protocol.TCP) + .withPorts(Arrays.asList("kqwopws", "liyznghuqzgp")) + .withPortGroupNames(Arrays.asList("kfv"))), + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("ppcbqetf", "fppvolzayj")) + .withVlanMatchCondition(new VlanMatchCondition() + .withVlans(Arrays.asList("jh", "prklatwiuujxsuj", "rwgxeegxbnjnczep")) + .withInnerVlans(Arrays.asList("ymgbfmd", "uyyaescjxna", "pyxqbkxdtbfkih", "inzkefkzlxvc")) + .withVlanGroupNames(Arrays.asList("goeozlib", "bnunzuysajvvqlho", "yonelivgtibtkqjq", "caj"))) + .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("kemrv")) + .withIpGroupNames(Arrays.asList("ojtdyulglh"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("ycznrirpii", "vcqoq")) + .withPortGroupNames(Arrays.asList("ucqsdgbxcwtvmij", "cpkkjlamyvwprj", "aih", "nnlb"))))) + .withActions(Arrays.asList( + new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) + .withTruncate("lfqfxspxgogypbzt") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("jnskvct") + .withMatchConfigurationName("zimbwttmhl"), + new NetworkTapRuleAction().withType(TapRuleActionType.DROP) + .withTruncate("yxrnwukfajnpdwz") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("wdepemziayfi") + .withMatchConfigurationName("idxcorjv"))); model = BinaryData.fromObject(model).toObject(NetworkTapRuleMatchConfiguration.class); - Assertions.assertEquals("v", model.matchConfigurationName()); - Assertions.assertEquals(5591618762734770844L, model.sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, model.ipAddressType()); - Assertions.assertEquals("qupy", model.matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("qnrjoco", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("nutiexmi", model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("ynctfqhh", - model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, + Assertions.assertEquals("fzl", model.matchConfigurationName()); + Assertions.assertEquals(6628381157923167153L, model.sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, model.ipAddressType()); + Assertions.assertEquals("exmizzjxwjoqfzw", model.matchConditions().get(0).protocolTypes().get(0)); + Assertions.assertEquals("hduwdvolxtqmr", model.matchConditions().get(0).vlanMatchCondition().vlans().get(0)); + Assertions.assertEquals("bkiumjf", model.matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); + Assertions.assertEquals("yiog", model.matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); + Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.matchConditions().get(0).ipCondition().type()); - Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("vzuzqcrl", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("zgyhen", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); - Assertions.assertEquals(EncapsulationType.GTPV1, model.matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, model.matchConditions().get(0).portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.UDP, model.matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("kjvdryknkxiox", model.matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("klpdyehjrwcflvx", - model.matchConditions().get(0).portCondition().portGroupNames().get(0)); - Assertions.assertEquals(TapRuleActionType.MIRROR, model.actions().get(0).type()); - Assertions.assertEquals("cowmhn", model.actions().get(0).truncate()); + Assertions.assertEquals(PrefixType.PREFIX, model.matchConditions().get(0).ipCondition().prefixType()); + Assertions.assertEquals("cebspc", model.matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); + Assertions.assertEquals("jsqwhaefefvv", model.matchConditions().get(0).ipCondition().ipGroupNames().get(0)); + Assertions.assertEquals(EncapsulationType.NONE, model.matchConditions().get(0).encapsulationType()); + Assertions.assertEquals(PortType.DESTINATION_PORT, model.matchConditions().get(0).portCondition().portType()); + Assertions.assertEquals(Layer4Protocol.TCP, model.matchConditions().get(0).portCondition().layer4Protocol()); + Assertions.assertEquals("ixgofqdqwsj", model.matchConditions().get(0).portCondition().ports().get(0)); + Assertions.assertEquals("p", model.matchConditions().get(0).portCondition().portGroupNames().get(0)); + Assertions.assertEquals(TapRuleActionType.GOTO, model.actions().get(0).type()); + Assertions.assertEquals("lfqfxspxgogypbzt", model.actions().get(0).truncate()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("ywjiaaosla", model.actions().get(0).destinationId()); - Assertions.assertEquals("gwaakktbjortz", model.actions().get(0).matchConfigurationName()); + Assertions.assertEquals("jnskvct", model.actions().get(0).destinationId()); + Assertions.assertEquals("zimbwttmhl", model.actions().get(0).matchConfigurationName()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchPropertiesTests.java index ee297c4bddc8f..c82aa2cfd2051 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchPropertiesTests.java @@ -35,258 +35,328 @@ public final class NetworkTapRulePatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRulePatchProperties model = BinaryData.fromString( - "{\"annotation\":\"voqatdjkaldpmec\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"zynf\",\"matchConfigurations\":[{\"matchConfigurationName\":\"qkkp\",\"sequenceNumber\":7534471053431600184,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"yvdsqxkjwd\"],\"portGroupNames\":[\"irzyudrq\",\"xrxhxmlfouqp\"]},\"protocolTypes\":[\"andbp\",\"rrhyjxcqcaczzvwa\",\"ztt\"],\"vlanMatchCondition\":{\"vlans\":[\"fydqlyyslg\",\"f\",\"bdsvkllrzhshhkb\",\"hcazkgdjth\"],\"innerVlans\":[\"fwhfzhhrurmrfyy\",\"jcnibz\",\"rsddcuqddldaoyv\"],\"vlanGroupNames\":[\"qewqjojesxjht\",\"zzw\",\"ocygoyineuaxpmez\",\"trgu\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"oafzdypzlxlmndh\",\"whlbpjuajz\",\"xav\"],\"ipGroupNames\":[\"nwlyhbujysvdty\",\"ddbhatmabt\"]}}],\"actions\":[{\"type\":\"Drop\",\"truncate\":\"tn\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"wihcig\",\"matchConfigurationName\":\"hmdfspkdn\"},{\"type\":\"Replicate\",\"truncate\":\"xtert\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"wsciclhdwienv\",\"matchConfigurationName\":\"lzj\"}]},{\"matchConfigurationName\":\"kr\",\"sequenceNumber\":5377046984950331601,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"ihbmwrvpvdr\",\"h\"],\"portGroupNames\":[\"bkabhvxjuaivx\"]},\"protocolTypes\":[\"rnygti\",\"kg\",\"obmkphvdlorxz\"],\"vlanMatchCondition\":{\"vlans\":[\"tudcltfci\",\"il\"],\"innerVlans\":[\"wtkehl\"],\"vlanGroupNames\":[\"jsxvbbwsgikkmi\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"pwtgzwmzhcmrloqa\",\"styzavkyjjlu\"],\"ipGroupNames\":[\"bjqbngzldvvdkopt\",\"th\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"erwhemvids\",\"sfzsgzgus\"],\"portGroupNames\":[\"omeqg\",\"hwispsogd\"]},\"protocolTypes\":[\"jsbaqxaxtuxir\",\"pbiichlygkv\"],\"vlanMatchCondition\":{\"vlans\":[\"onkrni\",\"dxywabk\",\"tnipaptgv\",\"aqyjukkajnne\"],\"innerVlans\":[\"onopf\",\"emiwfhhawbabhzbf\",\"di\"],\"vlanGroupNames\":[\"xydgzfoi\",\"zsuspaywvslq\",\"ronzeafkxfmuwdb\",\"ytqavouymkdeu\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"kaxgbi\",\"pgo\",\"qlktthbmrrmtrx\"],\"ipGroupNames\":[\"pdvr\",\"zwawpewajc\",\"sdjuzmuijtickzo\"]}}],\"actions\":[{\"type\":\"Redirect\",\"truncate\":\"pxhhboigzxkop\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"htoc\",\"matchConfigurationName\":\"f\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"atzw\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"iitvjcmimbmsw\",\"kbbbjoypplod\",\"qr\",\"kp\"]},{\"name\":\"ffsobg\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"r\",\"ax\",\"mb\",\"tvt\"]},{\"name\":\"lmlplgt\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"hxjvoysxaqqjhdfh\",\"aobqnjc\",\"bozvc\",\"qwssyd\"]}],\"vlanGroups\":[{\"name\":\"bivyw\",\"vlans\":[\"njuvtz\",\"j\",\"dlxbaeyocpkv\",\"tjfdzfmnpbdrc\"]}],\"portGroups\":[{\"name\":\"nnno\",\"ports\":[\"h\",\"dtuoamqobqe\",\"spshtis\"]},{\"name\":\"f\",\"ports\":[\"trzjwnzwckzebm\",\"vwdxgyypmxqzlm\",\"nxrcatkuhskegdk\",\"vii\"]}]},{\"ipGroups\":[{\"name\":\"hoxfzz\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"busxyugozwp\",\"xzgzum\"]},{\"name\":\"tiixkkbygbgi\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"hybbnhttyizonzs\"]},{\"name\":\"qcojasfzhzzcarc\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"ipdthjfvnhwsgns\",\"utfelfchn\",\"fssjgbfbbachxx\"]}],\"vlanGroups\":[{\"name\":\"nfnbphceeivkb\",\"vlans\":[\"epgh\",\"nuqhqp\",\"t\"]}],\"portGroups\":[{\"name\":\"sclggagygn\",\"ports\":[\"ytnhdni\",\"uzzj\",\"zvwgbzdt\"]},{\"name\":\"biwny\",\"ports\":[\"pxctsucrxd\"]}]},{\"ipGroups\":[{\"name\":\"bjzrlwtid\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"g\",\"pupjhltylyuudvbg\"]}],\"vlanGroups\":[{\"name\":\"jsbkpcut\",\"vlans\":[\"iydpoknseaimb\",\"qraokdarluobbval\",\"wzknyujxysv\",\"lfjyclvi\"]},{\"name\":\"lffll\",\"vlans\":[\"mtxfqpfi\",\"dcgbfouzf\",\"pgcryvidbzdylbvj\",\"tgngwnxjftecg\"]},{\"name\":\"zsqmpdqcakzbyqh\",\"vlans\":[\"hxoyxuu\"]},{\"name\":\"lusyruxrz\",\"vlans\":[\"hrvmgsbpgmncr\",\"tpiforomppz\",\"a\",\"qmeu\"]}],\"portGroups\":[{\"name\":\"cmpu\",\"ports\":[\"goce\",\"tlyspjymwicc\",\"rncfu\",\"lakgixhqjqhgqwbb\"]},{\"name\":\"wtwfgoclalvem\",\"ports\":[\"ugabkyydsyweoh\",\"mtsnvo\"]},{\"name\":\"bftswcd\",\"ports\":[\"s\",\"ptvdti\",\"caflgzw\"]},{\"name\":\"pxdkbtwoqhgppwxn\",\"ports\":[\"zrxxfnduvqzjnnu\",\"wvjzrfxa\",\"tbcqj\"]}]}],\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"urxrjwyz\"},\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"qmlzuwtbdz\"}}") + "{\"annotation\":\"zffpherwj\",\"configurationType\":\"File\",\"tapRulesUrl\":\"twonadezmzxvfybx\",\"matchConfigurations\":[{\"matchConfigurationName\":\"nuvqkrrsguog\",\"sequenceNumber\":7886598654009878022,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"pftvvqtmvifgcv\",\"im\",\"lbmti\",\"xgosnxa\"],\"portGroupNames\":[\"cdfmzxaoxlhmvjc\"]},\"protocolTypes\":[\"sbnuc\",\"xh\",\"aqoqbvejoysoxovl\"],\"vlanMatchCondition\":{\"vlans\":[\"eldkqdlqqhn\"],\"innerVlans\":[\"ykkxa\",\"r\",\"uptiicgvpzgyxcc\",\"pxiema\"],\"vlanGroupNames\":[\"tjekxsnnb\",\"ysgkt\",\"mocnqbbl\",\"tbofzghfuifw\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"cqxu\",\"jxug\",\"crrfbplvhmh\",\"rosdjlzbd\"],\"ipGroupNames\":[\"ghqeuyaorservpv\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"mex\",\"fjqzyhzydyvtuq\",\"irlunsskydi\"],\"portGroupNames\":[\"jx\",\"ocsvjekejchxzj\",\"cwuzs\"]},\"protocolTypes\":[\"yixecmasjnfgngxa\",\"jeeyv\"],\"vlanMatchCondition\":{\"vlans\":[\"ckmoaljaxvwxt\",\"uzhvojyffwflbk\"],\"innerVlans\":[\"z\",\"iyg\",\"cyzcjefpubaldj\",\"gldry\"],\"vlanGroupNames\":[\"lk\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"aujbfomfbozpj\",\"xefppq\",\"wdnnjjthpsnxebyc\"],\"ipGroupNames\":[\"ohxu\",\"nnp\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"pdyzssjlmykdy\",\"jvgspj\"],\"portGroupNames\":[\"h\",\"ngwqxcrbcrgyoim\"]},\"protocolTypes\":[\"z\",\"cctvkog\"],\"vlanMatchCondition\":{\"vlans\":[\"agwnnwcnvpnyld\"],\"innerVlans\":[\"jvdry\",\"nkxioxhnrjlq\",\"oqejexfd\",\"huhdku\"],\"vlanGroupNames\":[\"wadrklp\",\"ye\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"x\"],\"ipGroupNames\":[\"aywmfvu\",\"zmolhve\",\"lngsfmh\"]}}],\"actions\":[{\"type\":\"Drop\",\"truncate\":\"ymlhklmnjqzm\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"itrnwqgqrbth\",\"matchConfigurationName\":\"piqnrjoc\"},{\"type\":\"Mirror\",\"truncate\":\"vkywzrqeiaddpkh\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"mdcnutiexmiz\",\"matchConfigurationName\":\"zbqvioyn\"},{\"type\":\"Goto\",\"truncate\":\"hhv\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"rj\",\"matchConfigurationName\":\"aiaibtvavly\"},{\"type\":\"Drop\",\"truncate\":\"ocnwmefzvz\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"rl\",\"matchConfigurationName\":\"rvbzgyhenfsfy\"}]},{\"matchConfigurationName\":\"cowmhn\",\"sequenceNumber\":3583367983168604815,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"w\",\"akk\",\"bjortztkajqhsns\",\"jplislx\"],\"portGroupNames\":[\"zbkd\"]},\"protocolTypes\":[\"jwxgvtkjct\",\"rpea\",\"zzkvfc\",\"ozvqxsphtraitr\"],\"vlanMatchCondition\":{\"vlans\":[\"xtuytgcptctxpo\",\"gyckm\"],\"innerVlans\":[\"vrcclclfkfv\",\"j\"],\"vlanGroupNames\":[\"wrvp\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"ebvsewfzvvpay\",\"qwh\",\"dcyandblkb\",\"tcvpvdfmo\"],\"ipGroupNames\":[\"tfvxuos\",\"pff\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"j\",\"nyfowyj\",\"uakkiubeq\"],\"portGroupNames\":[\"tlrglhxso\",\"nguhbnhogsezre\",\"eggpdtyzpxlit\"]},\"protocolTypes\":[\"jmgemudu\"],\"vlanMatchCondition\":{\"vlans\":[\"kvsd\",\"vhr\",\"pezammpkapvnpeu\"],\"innerVlans\":[\"mfakeqn\"],\"vlanGroupNames\":[\"omlcsvkt\",\"psrowshvf\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"vdyqabjropxfqdm\",\"lznyjyuw\",\"lzwgdpvhw\"],\"ipGroupNames\":[\"lamqtr\",\"qdoxdegacded\",\"kw\",\"to\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"q\",\"rm\",\"ddlirqqcl\"],\"portGroupNames\":[\"ifepdu\",\"eevivkig\",\"ioklsuffp\",\"eswc\"]},\"protocolTypes\":[\"ytbltyt\",\"npbgcesfddfclmow\"],\"vlanMatchCondition\":{\"vlans\":[\"ofkbcjzzww\",\"oblbtdqzhixccnkf\",\"og\",\"yoxmyqzyqepg\"],\"innerVlans\":[\"dsluokcevoxd\"],\"vlanGroupNames\":[\"wmgwxwukfjv\",\"glaxseis\",\"vvgyphheo\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"cztlthrtzpuv\",\"s\",\"rgrqefn\",\"uo\"],\"ipGroupNames\":[\"uurmuzem\",\"qqiehdhjofywwna\"]}}],\"actions\":[{\"type\":\"Count\",\"truncate\":\"xgslqc\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"vpaglyyh\",\"matchConfigurationName\":\"mabspm\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"kk\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"ocrbfgqicm\",\"rgcuzjmvkr\",\"r\",\"cqhgcmljzksqimy\"]},{\"name\":\"jvfiomhc\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"szopeuku\",\"dswbsskgq\",\"emosq\",\"fsjbpwjwz\"]},{\"name\":\"ipdzym\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"pzcuudqhadxjvvl\",\"ibweua\",\"gtxlzncoqxtvytzq\"]}],\"vlanGroups\":[{\"name\":\"jvzmxyrazzstjvc\",\"vlans\":[\"dbrlbozltyolacb\",\"btkeiecupmwx\"]},{\"name\":\"okrlnrpeylfiiuld\",\"vlans\":[\"qlnh\",\"xwwwvunknsgvxhx\"]}],\"portGroups\":[{\"name\":\"trtc\",\"ports\":[\"jvifbmo\",\"tehqyoytrcoufkq\"]}]},{\"ipGroups\":[{\"name\":\"kdf\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"iv\",\"zje\",\"chmeodhzj\",\"rkn\"]}],\"vlanGroups\":[{\"name\":\"xmu\",\"vlans\":[\"kwqphfvsf\",\"sstw\"]},{\"name\":\"xcachdtezgf\",\"vlans\":[\"uzowqrzvuxnxa\",\"ohshzultdb\"]},{\"name\":\"jdhypngocbdx\",\"vlans\":[\"vpt\",\"czsuzg\"]}],\"portGroups\":[{\"name\":\"ekytkzvtv\",\"ports\":[\"tvogpyceinhar\",\"bdxs\",\"yplskhwfjud\"]},{\"name\":\"bqpsezsggd\",\"ports\":[\"fcbrtsrdplqd\",\"zaci\",\"sfzrguzliyvsbfsi\",\"vabd\"]}]}],\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"xotudamkiyao\"},\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"zugifgspxldlnoc\"}}") .toObject(NetworkTapRulePatchProperties.class); - Assertions.assertEquals("voqatdjkaldpmec", model.annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); - Assertions.assertEquals("zynf", model.tapRulesUrl()); - Assertions.assertEquals("qkkp", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(7534471053431600184L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("zffpherwj", model.annotation()); + Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); + Assertions.assertEquals("twonadezmzxvfybx", model.tapRulesUrl()); + Assertions.assertEquals("nuvqkrrsguog", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(7886598654009878022L, model.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("andbp", + Assertions.assertEquals("sbnuc", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("fydqlyyslg", + Assertions.assertEquals("eldkqdlqqhn", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("fwhfzhhrurmrfyy", + Assertions.assertEquals("ykkxa", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("qewqjojesxjht", + Assertions.assertEquals("tjekxsnnb", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, + Assertions.assertEquals(SourceDestinationType.SOURCE_IP, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().type()); - Assertions.assertEquals(PrefixType.PREFIX, + Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("oafzdypzlxlmndh", + Assertions.assertEquals("cqxu", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("nwlyhbujysvdty", + Assertions.assertEquals("ghqeuyaorservpv", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.GTPV1, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, + Assertions.assertEquals(PortType.SOURCE_PORT, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.SCTP, + Assertions.assertEquals(Layer4Protocol.UDP, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("yvdsqxkjwd", + Assertions.assertEquals("pftvvqtmvifgcv", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("irzyudrq", + Assertions.assertEquals("cdfmzxaoxlhmvjc", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portGroupNames().get(0)); Assertions.assertEquals(TapRuleActionType.DROP, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("tn", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals("ymlhklmnjqzm", model.matchConfigurations().get(0).actions().get(0).truncate()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("wihcig", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("hmdfspkdn", + Assertions.assertEquals("itrnwqgqrbth", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("piqnrjoc", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("atzw", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); - Assertions.assertEquals(IpAddressType.IPV6, + Assertions.assertEquals("kk", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals(IpAddressType.IPV4, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("iitvjcmimbmsw", + Assertions.assertEquals("ocrbfgqicm", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("bivyw", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("njuvtz", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("nnno", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("h", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); + Assertions.assertEquals("jvzmxyrazzstjvc", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("dbrlbozltyolacb", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("trtc", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); + Assertions.assertEquals("jvifbmo", + model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("urxrjwyz", model.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("qmlzuwtbdz", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("xotudamkiyao", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); + Assertions.assertEquals("zugifgspxldlnoc", model.globalNetworkTapRuleActions().truncate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkTapRulePatchProperties model = new NetworkTapRulePatchProperties().withAnnotation("voqatdjkaldpmec") - .withConfigurationType(ConfigurationType.INLINE) - .withTapRulesUrl("zynf") - .withMatchConfigurations( - Arrays.asList(new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("qkkp") - .withSequenceNumber(7534471053431600184L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("andbp", "rrhyjxcqcaczzvwa", "ztt")) - .withVlanMatchCondition(new VlanMatchConditionPatch() - .withVlans(Arrays.asList("fydqlyyslg", "f", "bdsvkllrzhshhkb", "hcazkgdjth")) - .withInnerVlans(Arrays.asList("fwhfzhhrurmrfyy", "jcnibz", "rsddcuqddldaoyv")) - .withVlanGroupNames(Arrays.asList("qewqjojesxjht", "zzw", "ocygoyineuaxpmez", "trgu"))) - .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.DESTINATION_IP) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("oafzdypzlxlmndh", "whlbpjuajz", "xav")) - .withIpGroupNames(Arrays.asList("nwlyhbujysvdty", "ddbhatmabt"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortConditionPatch().withPortType(PortType.BIDIRECTIONAL) - .withLayer4Protocol(Layer4Protocol.SCTP) - .withPorts(Arrays.asList("yvdsqxkjwd")) - .withPortGroupNames(Arrays.asList("irzyudrq", "xrxhxmlfouqp"))))) - .withActions( - Arrays.asList( - new NetworkTapRuleActionPatch().withType(TapRuleActionType.DROP) - .withTruncate("tn") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("wihcig") - .withMatchConfigurationName("hmdfspkdn"), - new NetworkTapRuleActionPatch().withType(TapRuleActionType.REPLICATE) - .withTruncate("xtert") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("wsciclhdwienv") - .withMatchConfigurationName("lzj"))), - new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("kr") - .withSequenceNumber(5377046984950331601L) - .withIpAddressType(IpAddressType.IPV4) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("rnygti", "kg", "obmkphvdlorxz")) - .withVlanMatchCondition( - new VlanMatchConditionPatch().withVlans(Arrays.asList("tudcltfci", "il")) - .withInnerVlans(Arrays.asList("wtkehl")) - .withVlanGroupNames(Arrays.asList("jsxvbbwsgikkmi"))) - .withIpCondition( - new IpMatchConditionPatch().withType(SourceDestinationType.DESTINATION_IP) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("pwtgzwmzhcmrloqa", "styzavkyjjlu")) - .withIpGroupNames(Arrays.asList("bjqbngzldvvdkopt", "th"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch() - .withPortType(PortType.SOURCE_PORT) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("ihbmwrvpvdr", "h")) - .withPortGroupNames(Arrays.asList("bkabhvxjuaivx"))), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("jsbaqxaxtuxir", "pbiichlygkv")) - .withVlanMatchCondition( - new VlanMatchConditionPatch() - .withVlans(Arrays.asList("onkrni", "dxywabk", "tnipaptgv", "aqyjukkajnne")) - .withInnerVlans(Arrays.asList("onopf", "emiwfhhawbabhzbf", "di")) - .withVlanGroupNames(Arrays.asList("xydgzfoi", "zsuspaywvslq", "ronzeafkxfmuwdb", - "ytqavouymkdeu"))) - .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.SOURCE_IP) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues(Arrays.asList("kaxgbi", "pgo", "qlktthbmrrmtrx")) - .withIpGroupNames(Arrays.asList("pdvr", "zwawpewajc", "sdjuzmuijtickzo"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch().withPortType(PortType.DESTINATION_PORT) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("erwhemvids", "sfzsgzgus")) - .withPortGroupNames(Arrays.asList("omeqg", "hwispsogd"))))) - .withActions(Arrays.asList(new NetworkTapRuleActionPatch().withType(TapRuleActionType.REDIRECT) - .withTruncate("pxhhboigzxkop") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("htoc") - .withMatchConfigurationName("f"))))) - .withDynamicMatchConfigurations(Arrays.asList( - new CommonDynamicMatchConfigurationPatch() - .withIpGroups(Arrays.asList( - new IpGroupPatchProperties().withName("atzw") + NetworkTapRulePatchProperties model + = new NetworkTapRulePatchProperties().withAnnotation("zffpherwj") + .withConfigurationType(ConfigurationType.FILE) + .withTapRulesUrl("twonadezmzxvfybx") + .withMatchConfigurations( + Arrays + .asList( + new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("nuvqkrrsguog") + .withSequenceNumber(7886598654009878022L) + .withIpAddressType(IpAddressType.IPV6) + .withMatchConditions( + Arrays.asList( + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("sbnuc", "xh", "aqoqbvejoysoxovl")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("eldkqdlqqhn")) + .withInnerVlans( + Arrays.asList("ykkxa", "r", "uptiicgvpzgyxcc", "pxiema")) + .withVlanGroupNames( + Arrays.asList("tjekxsnnb", "ysgkt", "mocnqbbl", "tbofzghfuifw"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.SOURCE_IP) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues( + Arrays.asList("cqxu", "jxug", "crrfbplvhmh", "rosdjlzbd")) + .withIpGroupNames(Arrays.asList("ghqeuyaorservpv"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch() + .withPortType(PortType.SOURCE_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("pftvvqtmvifgcv", "im", "lbmti", "xgosnxa")) + .withPortGroupNames(Arrays.asList("cdfmzxaoxlhmvjc"))), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("yixecmasjnfgngxa", "jeeyv")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("ckmoaljaxvwxt", "uzhvojyffwflbk")) + .withInnerVlans(Arrays.asList("z", "iyg", "cyzcjefpubaldj", "gldry")) + .withVlanGroupNames(Arrays.asList("lk"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues( + Arrays.asList("aujbfomfbozpj", "xefppq", "wdnnjjthpsnxebyc")) + .withIpGroupNames(Arrays.asList("ohxu", "nnp"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch() + .withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.TCP) + .withPorts(Arrays.asList("mex", "fjqzyhzydyvtuq", "irlunsskydi")) + .withPortGroupNames(Arrays.asList("jx", "ocsvjekejchxzj", "cwuzs"))), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("z", "cctvkog")) + .withVlanMatchCondition( + new VlanMatchConditionPatch().withVlans(Arrays.asList("agwnnwcnvpnyld")) + .withInnerVlans( + Arrays.asList("jvdry", "nkxioxhnrjlq", "oqejexfd", "huhdku")) + .withVlanGroupNames(Arrays.asList("wadrklp", "ye"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("x")) + .withIpGroupNames(Arrays.asList("aywmfvu", "zmolhve", "lngsfmh"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition( + new PortConditionPatch().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.TCP) + .withPorts(Arrays.asList("pdyzssjlmykdy", "jvgspj")) + .withPortGroupNames(Arrays.asList("h", "ngwqxcrbcrgyoim"))))) + .withActions(Arrays.asList(new NetworkTapRuleActionPatch() + .withType(TapRuleActionType.DROP) + .withTruncate("ymlhklmnjqzm") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("itrnwqgqrbth") + .withMatchConfigurationName("piqnrjoc"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.MIRROR) + .withTruncate("vkywzrqeiaddpkh") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("mdcnutiexmiz") + .withMatchConfigurationName("zbqvioyn"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.GOTO) + .withTruncate("hhv") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("rj") + .withMatchConfigurationName("aiaibtvavly"), + new NetworkTapRuleActionPatch() + .withType(TapRuleActionType.DROP) + .withTruncate("ocnwmefzvz") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("rl") + .withMatchConfigurationName("rvbzgyhenfsfy"))), + new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("cowmhn") + .withSequenceNumber(3583367983168604815L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions( + Arrays + .asList( + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes( + Arrays.asList("jwxgvtkjct", "rpea", "zzkvfc", "ozvqxsphtraitr")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("xtuytgcptctxpo", "gyckm")) + .withInnerVlans(Arrays.asList("vrcclclfkfv", "j")) + .withVlanGroupNames(Arrays.asList("wrvp"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("ebvsewfzvvpay", "qwh", + "dcyandblkb", "tcvpvdfmo")) + .withIpGroupNames(Arrays.asList("tfvxuos", "pff"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch() + .withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("w", "akk", "bjortztkajqhsns", "jplislx")) + .withPortGroupNames(Arrays.asList("zbkd"))), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("jmgemudu")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("kvsd", "vhr", "pezammpkapvnpeu")) + .withInnerVlans(Arrays.asList("mfakeqn")) + .withVlanGroupNames(Arrays.asList("omlcsvkt", "psrowshvf"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues( + Arrays.asList("vdyqabjropxfqdm", "lznyjyuw", "lzwgdpvhw")) + .withIpGroupNames( + Arrays.asList("lamqtr", "qdoxdegacded", "kw", "to"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch() + .withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("j", "nyfowyj", "uakkiubeq")) + .withPortGroupNames( + Arrays.asList("tlrglhxso", "nguhbnhogsezre", "eggpdtyzpxlit"))), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("ytbltyt", "npbgcesfddfclmow")) + .withVlanMatchCondition(new VlanMatchConditionPatch() + .withVlans(Arrays.asList("ofkbcjzzww", "oblbtdqzhixccnkf", "og", + "yoxmyqzyqepg")) + .withInnerVlans(Arrays.asList("dsluokcevoxd")) + .withVlanGroupNames( + Arrays.asList("wmgwxwukfjv", "glaxseis", "vvgyphheo"))) + .withIpCondition(new IpMatchConditionPatch() + .withType(SourceDestinationType.SOURCE_IP) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues( + Arrays.asList("cztlthrtzpuv", "s", "rgrqefn", "uo")) + .withIpGroupNames(Arrays.asList("uurmuzem", "qqiehdhjofywwna"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition( + new PortConditionPatch().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("q", "rm", "ddlirqqcl")) + .withPortGroupNames( + Arrays.asList("ifepdu", "eevivkig", "ioklsuffp", "eswc"))))) + .withActions( + Arrays.asList(new NetworkTapRuleActionPatch().withType(TapRuleActionType.COUNT) + .withTruncate("xgslqc") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("vpaglyyh") + .withMatchConfigurationName("mabspm"))))) + .withDynamicMatchConfigurations(Arrays.asList( + new CommonDynamicMatchConfigurationPatch() + .withIpGroups(Arrays.asList( + new IpGroupPatchProperties().withName("kk") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("ocrbfgqicm", "rgcuzjmvkr", "r", "cqhgcmljzksqimy")), + new IpGroupPatchProperties().withName("jvfiomhc") + .withIpAddressType(IpAddressType.IPV6) + .withIpPrefixes(Arrays.asList("szopeuku", "dswbsskgq", "emosq", "fsjbpwjwz")), + new IpGroupPatchProperties().withName("ipdzym") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("pzcuudqhadxjvvl", "ibweua", "gtxlzncoqxtvytzq")))) + .withVlanGroups(Arrays.asList( + new VlanGroupPatchProperties().withName("jvzmxyrazzstjvc") + .withVlans(Arrays.asList("dbrlbozltyolacb", "btkeiecupmwx")), + new VlanGroupPatchProperties().withName("okrlnrpeylfiiuld") + .withVlans(Arrays.asList("qlnh", "xwwwvunknsgvxhx")))) + .withPortGroups(Arrays + .asList(new PortGroupPatchProperties().withName("trtc") + .withPorts(Arrays.asList("jvifbmo", "tehqyoytrcoufkq")))), + new CommonDynamicMatchConfigurationPatch() + .withIpGroups(Arrays.asList(new IpGroupPatchProperties().withName("kdf") .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("iitvjcmimbmsw", "kbbbjoypplod", "qr", "kp")), - new IpGroupPatchProperties().withName("ffsobg") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("r", "ax", "mb", "tvt")), - new IpGroupPatchProperties().withName("lmlplgt") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("hxjvoysxaqqjhdfh", "aobqnjc", "bozvc", "qwssyd")))) - .withVlanGroups(Arrays.asList(new VlanGroupPatchProperties().withName("bivyw") - .withVlans(Arrays.asList("njuvtz", "j", "dlxbaeyocpkv", "tjfdzfmnpbdrc")))) - .withPortGroups(Arrays.asList( - new PortGroupPatchProperties().withName("nnno") - .withPorts(Arrays.asList("h", "dtuoamqobqe", "spshtis")), - new PortGroupPatchProperties().withName("f") - .withPorts(Arrays.asList("trzjwnzwckzebm", "vwdxgyypmxqzlm", "nxrcatkuhskegdk", "vii")))), - new CommonDynamicMatchConfigurationPatch() - .withIpGroups(Arrays.asList( - new IpGroupPatchProperties().withName("hoxfzz") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("busxyugozwp", "xzgzum")), - new IpGroupPatchProperties().withName("tiixkkbygbgi") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("hybbnhttyizonzs")), - new IpGroupPatchProperties().withName("qcojasfzhzzcarc") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("ipdthjfvnhwsgns", "utfelfchn", "fssjgbfbbachxx")))) - .withVlanGroups(Arrays.asList(new VlanGroupPatchProperties().withName("nfnbphceeivkb") - .withVlans(Arrays.asList("epgh", "nuqhqp", "t")))) - .withPortGroups(Arrays.asList( - new PortGroupPatchProperties().withName("sclggagygn") - .withPorts(Arrays.asList("ytnhdni", "uzzj", "zvwgbzdt")), - new PortGroupPatchProperties().withName("biwny").withPorts(Arrays.asList("pxctsucrxd")))), - new CommonDynamicMatchConfigurationPatch() - .withIpGroups(Arrays.asList(new IpGroupPatchProperties().withName("bjzrlwtid") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("g", "pupjhltylyuudvbg")))) - .withVlanGroups(Arrays.asList( - new VlanGroupPatchProperties().withName("jsbkpcut") - .withVlans(Arrays.asList("iydpoknseaimb", "qraokdarluobbval", "wzknyujxysv", "lfjyclvi")), - new VlanGroupPatchProperties().withName("lffll") - .withVlans(Arrays.asList("mtxfqpfi", "dcgbfouzf", "pgcryvidbzdylbvj", "tgngwnxjftecg")), - new VlanGroupPatchProperties().withName("zsqmpdqcakzbyqh").withVlans(Arrays.asList("hxoyxuu")), - new VlanGroupPatchProperties().withName("lusyruxrz") - .withVlans(Arrays.asList("hrvmgsbpgmncr", "tpiforomppz", "a", "qmeu")))) - .withPortGroups(Arrays.asList( - new PortGroupPatchProperties().withName("cmpu") - .withPorts(Arrays.asList("goce", "tlyspjymwicc", "rncfu", "lakgixhqjqhgqwbb")), - new PortGroupPatchProperties().withName("wtwfgoclalvem") - .withPorts(Arrays.asList("ugabkyydsyweoh", "mtsnvo")), - new PortGroupPatchProperties().withName("bftswcd") - .withPorts(Arrays.asList("s", "ptvdti", "caflgzw")), - new PortGroupPatchProperties().withName("pxdkbtwoqhgppwxn") - .withPorts(Arrays.asList("zrxxfnduvqzjnnu", "wvjzrfxa", "tbcqj")))))) - .withIdentitySelector( - new IdentitySelectorPatch().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("urxrjwyz")) - .withGlobalNetworkTapRuleActions( - new GlobalNetworkTapRuleActionPatchProperties().withEnableCount(BooleanEnumProperty.TRUE) - .withTruncate("qmlzuwtbdz")); + .withIpPrefixes(Arrays.asList("iv", "zje", "chmeodhzj", "rkn")))) + .withVlanGroups(Arrays.asList( + new VlanGroupPatchProperties().withName("xmu") + .withVlans(Arrays.asList("kwqphfvsf", "sstw")), + new VlanGroupPatchProperties().withName("xcachdtezgf") + .withVlans(Arrays.asList("uzowqrzvuxnxa", "ohshzultdb")), + new VlanGroupPatchProperties().withName("jdhypngocbdx") + .withVlans(Arrays.asList("vpt", "czsuzg")))) + .withPortGroups(Arrays.asList( + new PortGroupPatchProperties().withName("ekytkzvtv") + .withPorts(Arrays.asList("tvogpyceinhar", "bdxs", "yplskhwfjud")), + new PortGroupPatchProperties().withName("bqpsezsggd") + .withPorts(Arrays.asList("fcbrtsrdplqd", "zaci", "sfzrguzliyvsbfsi", "vabd")))))) + .withIdentitySelector(new IdentitySelectorPatch() + .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("xotudamkiyao")) + .withGlobalNetworkTapRuleActions( + new GlobalNetworkTapRuleActionPatchProperties().withEnableCount(BooleanEnumProperty.FALSE) + .withTruncate("zugifgspxldlnoc")); model = BinaryData.fromObject(model).toObject(NetworkTapRulePatchProperties.class); - Assertions.assertEquals("voqatdjkaldpmec", model.annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); - Assertions.assertEquals("zynf", model.tapRulesUrl()); - Assertions.assertEquals("qkkp", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(7534471053431600184L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("zffpherwj", model.annotation()); + Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); + Assertions.assertEquals("twonadezmzxvfybx", model.tapRulesUrl()); + Assertions.assertEquals("nuvqkrrsguog", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(7886598654009878022L, model.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("andbp", + Assertions.assertEquals("sbnuc", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("fydqlyyslg", + Assertions.assertEquals("eldkqdlqqhn", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("fwhfzhhrurmrfyy", + Assertions.assertEquals("ykkxa", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("qewqjojesxjht", + Assertions.assertEquals("tjekxsnnb", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, + Assertions.assertEquals(SourceDestinationType.SOURCE_IP, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().type()); - Assertions.assertEquals(PrefixType.PREFIX, + Assertions.assertEquals(PrefixType.LONGEST_PREFIX, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("oafzdypzlxlmndh", + Assertions.assertEquals("cqxu", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("nwlyhbujysvdty", + Assertions.assertEquals("ghqeuyaorservpv", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipGroupNames().get(0)); Assertions.assertEquals(EncapsulationType.GTPV1, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.BIDIRECTIONAL, + Assertions.assertEquals(PortType.SOURCE_PORT, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portType()); - Assertions.assertEquals(Layer4Protocol.SCTP, + Assertions.assertEquals(Layer4Protocol.UDP, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("yvdsqxkjwd", + Assertions.assertEquals("pftvvqtmvifgcv", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("irzyudrq", + Assertions.assertEquals("cdfmzxaoxlhmvjc", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portGroupNames().get(0)); Assertions.assertEquals(TapRuleActionType.DROP, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("tn", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals("ymlhklmnjqzm", model.matchConfigurations().get(0).actions().get(0).truncate()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("wihcig", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("hmdfspkdn", + Assertions.assertEquals("itrnwqgqrbth", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("piqnrjoc", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("atzw", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); - Assertions.assertEquals(IpAddressType.IPV6, + Assertions.assertEquals("kk", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals(IpAddressType.IPV4, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("iitvjcmimbmsw", + Assertions.assertEquals("ocrbfgqicm", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("bivyw", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("njuvtz", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("nnno", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("h", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); + Assertions.assertEquals("jvzmxyrazzstjvc", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("dbrlbozltyolacb", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("trtc", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); + Assertions.assertEquals("jvifbmo", + model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("urxrjwyz", model.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("qmlzuwtbdz", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("xotudamkiyao", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); + Assertions.assertEquals("zugifgspxldlnoc", model.globalNetworkTapRuleActions().truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchTests.java index 9be67c89d9cea..5a8b9a540e19e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePatchTests.java @@ -36,299 +36,269 @@ public final class NetworkTapRulePatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRulePatch model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"hqdoxdegacded\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"to\",\"matchConfigurations\":[{\"matchConfigurationName\":\"cidpda\",\"sequenceNumber\":2043565802321449899,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"lsaqifepdureeviv\",\"iglioklsuff\",\"xeswctl\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"vnpbgcesfddfclmo\",\"urofo\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Drop\",\"truncate\":\"weob\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"q\",\"matchConfigurationName\":\"ixccnkfsog\"},{\"type\":\"Log\",\"truncate\":\"myqzyqepgbbzdsl\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"ev\",\"matchConfigurationName\":\"dddpwmgwxwukfj\"},{\"type\":\"Count\",\"truncate\":\"axseisvv\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"hheovejk\",\"matchConfigurationName\":\"lecztl\"}]},{\"matchConfigurationName\":\"rtzpuvfssr\",\"sequenceNumber\":1072366039973700305,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"urmuzembqq\",\"ehdhjofywwna\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Replicate\",\"truncate\":\"slqcxuthv\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"yyhrgmabspmlut\",\"matchConfigurationName\":\"ukkedputocrbfg\"}]},{\"matchConfigurationName\":\"cmdrgcuzjmvkrw\",\"sequenceNumber\":6973749545284154281,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"qimybqjvfio\",\"hcaqpv\",\"szopeuku\",\"dswbsskgq\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"sjbpwjwzqgipdzy\",\"zkhxfp\",\"cuudqhadxjvvl\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"gtxlzncoqxtvytzq\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"xyrazz\",\"tjvcszbdbr\",\"bozltyola\",\"bibtkeiecupmwx\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Count\",\"truncate\":\"peylf\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"ddgiq\",\"matchConfigurationName\":\"hcxwwwvun\"},{\"type\":\"Replicate\",\"truncate\":\"vxhxrmeatrtcq\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"ifbmojt\",\"matchConfigurationName\":\"qyo\"},{\"type\":\"Mirror\",\"truncate\":\"oufkqmbhukdfp\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"iv\",\"matchConfigurationName\":\"jezchmeo\"}]},{\"matchConfigurationName\":\"zjlrknc\",\"sequenceNumber\":7838151286765806739,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"hfvsf\",\"sstw\",\"p\",\"cachdtezgfctu\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"uxnxauohshzultd\",\"vmjdhypn\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"ivptb\",\"zsuzgrzu\",\"ekytkzvtv\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"yce\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Mirror\",\"truncate\":\"xsbyplskhwfjud\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"psezs\",\"matchConfigurationName\":\"dpftfcbrtsr\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"zaci\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"guzliyv\",\"bfsin\",\"abdjuljgxotu\",\"a\"]},{\"name\":\"i\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"hulzugifgsp\"]},{\"name\":\"dlnoc\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"mi\",\"lukjbwmgksrl\",\"spppoeszthj\"]},{\"name\":\"yjskdiylg\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"xpsyb\",\"owgvm\",\"wbohxdhkoexb\",\"h\"]}],\"vlanGroups\":[{\"name\":\"ajwscmneev\",\"vlans\":[\"qeumz\",\"yhmgq\",\"eivjqutxr\",\"gbzgfhzdzahktxv\"]},{\"name\":\"icf\",\"vlans\":[\"hotbkjwhztpxjvtw\",\"yjdpayx\"]},{\"name\":\"qiwu\",\"vlans\":[\"qztjfkgb\",\"qqjobsyn\",\"en\",\"onjqhdheosx\"]},{\"name\":\"fudmpfhwyp\",\"vlans\":[\"jtntcwgpdbbg\",\"aecct\"]}],\"portGroups\":[{\"name\":\"pvjrdspkvrmpr\",\"ports\":[\"pt\",\"jwiyyeohg\",\"cmdjmvphwfnugsl\",\"fzzi\"]},{\"name\":\"bgomvue\",\"ports\":[\"m\",\"fxnwcgzuoxixtxxx\"]}]},{\"ipGroups\":[{\"name\":\"hbknnrnkyjfawpcb\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"hczbnivco\",\"sxvppkjealkdb\",\"who\",\"vbmyzuqfdqdktrj\"]},{\"name\":\"qszhhqngjndkv\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"f\",\"gdodnkqyipgk\"]},{\"name\":\"tdazmdzesim\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"rfzjlflzagvdavab\",\"iefcorzbida\",\"beznicew\",\"fajw\"]}],\"vlanGroups\":[{\"name\":\"i\",\"vlans\":[\"pwwsrzeqxu\",\"cuuuexsmnteevfg\"]},{\"name\":\"fezraqs\",\"vlans\":[\"odkgxqfkyrxgmz\",\"eglwdzfsspfeg\"]}],\"portGroups\":[{\"name\":\"ddkkraj\",\"ports\":[\"k\"]}]},{\"ipGroups\":[{\"name\":\"lmzpyq\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"cxhgsingmhpavsfg\",\"rvqrwwbdrwroqk\",\"jnzpqhqqsa\",\"kyu\"]},{\"name\":\"ameaasjqen\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"zvgeytlplslfc\",\"e\",\"ksuowt\",\"lkyqfnjo\"]},{\"name\":\"hnxzmfvmw\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"srawwhyxfshmby\",\"mvwnbunsodtevzsh\",\"ykebmpshaez\"]}],\"vlanGroups\":[{\"name\":\"ck\",\"vlans\":[\"vqdmhcejstfsm\",\"cjakgkqwx\",\"dsoqzhxwdjoxwkb\"]},{\"name\":\"sobvcnsb\",\"vlans\":[\"znlf\"]}],\"portGroups\":[{\"name\":\"xtfzqyugtkxncwd\",\"ports\":[\"lrlcm\",\"bejywwwv\"]}]}],\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"rmqevrhhafqf\"},\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"iruqvgnjxiakg\"}},\"identity\":{\"type\":\"None\",\"userAssignedIdentities\":{\"ryhmmglv\":{\"principalId\":\"gikyluyu\",\"clientId\":\"brdcvoloxtvqcb\"}}},\"tags\":{\"tfgfbhnkxasomaf\":\"nkpsvokkyankxvc\",\"autfzptrcdzy\":\"gazhlrdxpc\",\"wenbqvpr\":\"rtffvpkdxcy\"}}") + "{\"properties\":{\"annotation\":\"viujojzdvms\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"xsxoxvimdvet\",\"matchConfigurations\":[{\"matchConfigurationName\":\"itqsbyuj\",\"sequenceNumber\":2744855892867248973,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"d\",\"vq\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Count\",\"truncate\":\"xbdpbcehwbd\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"bo\",\"matchConfigurationName\":\"pytporrvkxtfc\"},{\"type\":\"Replicate\",\"truncate\":\"tinqxdh\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"ezjigh\",\"matchConfigurationName\":\"mltpmr\"},{\"type\":\"Log\",\"truncate\":\"etqffuxvfhuqhn\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"jbsotoclmrttujyd\",\"matchConfigurationName\":\"twxpxbxedhxbboc\"},{\"type\":\"Drop\",\"truncate\":\"amqchlugfnlvv\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"rxdqhvhauimn\",\"matchConfigurationName\":\"fkqpwq\"}]},{\"matchConfigurationName\":\"bnwivlqcwyzhn\",\"sequenceNumber\":4110245960025478457,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"ceirtahtuwcimtca\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"sjqrmlujmtun\",\"ofwuzeb\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"zyenfspet\",\"eudwkhdlckdoxocj\",\"devzpfr\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"mgvrlhfx\",\"rhjnnhbcj\",\"wkdywkszavuafan\",\"fictptplkossjbzv\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Log\",\"truncate\":\"hfgtiaczhfjdcc\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"vbtcuhjcgjtjknt\",\"matchConfigurationName\":\"nlzt\"}]},{\"matchConfigurationName\":\"db\",\"sequenceNumber\":2058438079251778321,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"cowlrmbdctqx\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"None\",\"portCondition\":{},\"protocolTypes\":[\"wkry\",\"gavplndmdfiek\",\"iskyyyaekn\"],\"vlanMatchCondition\":{},\"ipCondition\":{}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"wjlmlcufbbjiutfo\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Redirect\",\"truncate\":\"syqyjnu\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"qquyhbcee\",\"matchConfigurationName\":\"girrpwnqtvuxeuj\"},{\"type\":\"Redirect\",\"truncate\":\"ij\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"fdlypk\",\"matchConfigurationName\":\"wsrqnnmjundtlxcl\"},{\"type\":\"Log\",\"truncate\":\"cycg\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"sihxvtac\",\"matchConfigurationName\":\"fopxpryxnsbubw\"}]},{\"matchConfigurationName\":\"qqgugwluxahtq\",\"sequenceNumber\":2435862392613742372,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{},\"protocolTypes\":[\"gmfpkeph\",\"jeucosvkkeergvy\",\"a\"],\"vlanMatchCondition\":{},\"ipCondition\":{}}],\"actions\":[{\"type\":\"Mirror\",\"truncate\":\"gnue\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"ffbuqxknvm\",\"matchConfigurationName\":\"mbgzyojfchic\"},{\"type\":\"Mirror\",\"truncate\":\"xzoksgqhbooj\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"ozb\",\"matchConfigurationName\":\"crfl\"},{\"type\":\"Redirect\",\"truncate\":\"wtkbptsflot\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"wgftshfgmuxuqia\",\"matchConfigurationName\":\"koikuqirhskxpa\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"lfueyxfzi\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"u\",\"cfebpiucenbvrll\",\"dfkn\"]},{\"name\":\"zwi\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"i\",\"j\"]},{\"name\":\"wrduxntpfxxgja\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"fc\",\"qv\",\"yfbkqynlzx\"]},{\"name\":\"elupjckiehd\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"rx\",\"xffg\",\"cuans\"]}],\"vlanGroups\":[{\"name\":\"vgcgcsa\",\"vlans\":[\"cqpfusekij\",\"minenkbivpy\",\"kvorlfqm\"]},{\"name\":\"ewynbf\",\"vlans\":[\"wv\",\"rkm\",\"ufavvlnpbso\",\"m\"]}],\"portGroups\":[{\"name\":\"nmrznmtvrkkfc\",\"ports\":[\"zkstxneyke\",\"px\",\"tc\"]},{\"name\":\"riuvnfazxtv\",\"ports\":[\"yaeiivjqkq\",\"jwrvewojoqfxqetx\"]},{\"name\":\"qiuspg\",\"ports\":[\"jvg\"]},{\"name\":\"jzqjhljsazmjs\",\"ports\":[\"qq\",\"cm\"]}]},{\"ipGroups\":[{\"name\":\"sbfe\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"jygllfkchhgsjuzz\",\"ajlwmqcycab\",\"amkkhdhpmkxdujk\",\"puqzdy\"]},{\"name\":\"yws\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"hryhe\",\"xizdsyxbfj\"]},{\"name\":\"buazccouhw\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"vjsknrbxz\",\"pi\"]}],\"vlanGroups\":[{\"name\":\"piqdqbvxqto\",\"vlans\":[\"bopvhcbt\",\"aprjxcon\",\"ick\"]}],\"portGroups\":[{\"name\":\"h\",\"ports\":[\"csgvuqzg\"]},{\"name\":\"wvr\",\"ports\":[\"pwewpmiolea\",\"abes\",\"yzwphbjks\",\"ecmbaaj\"]}]}],\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"k\"},\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"f\"}},\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"jpduibsrrrqnn\":{\"principalId\":\"jqtl\",\"clientId\":\"h\"},\"hbwcxybtdzycx\":{\"principalId\":\"rypyurv\",\"clientId\":\"hovtuercp\"}}},\"tags\":{\"azcbyb\":\"egjzgpljbnwczs\",\"uapasizzfmugykw\":\"cqhxhj\",\"gthdzi\":\"ycuotennd\"}}") .toObject(NetworkTapRulePatch.class); - Assertions.assertEquals("nkpsvokkyankxvc", model.tags().get("tfgfbhnkxasomaf")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); - Assertions.assertEquals("hqdoxdegacded", model.annotation()); + Assertions.assertEquals("egjzgpljbnwczs", model.tags().get("azcbyb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("viujojzdvms", model.annotation()); Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); - Assertions.assertEquals("to", model.tapRulesUrl()); - Assertions.assertEquals("cidpda", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(2043565802321449899L, model.matchConfigurations().get(0).sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("lsaqifepdureeviv", + Assertions.assertEquals("xsxoxvimdvet", model.tapRulesUrl()); + Assertions.assertEquals("itqsbyuj", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(2744855892867248973L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, model.matchConfigurations().get(0).ipAddressType()); + Assertions.assertEquals("d", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(TapRuleActionType.DROP, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("weob", model.matchConfigurations().get(0).actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals(TapRuleActionType.COUNT, model.matchConfigurations().get(0).actions().get(0).type()); + Assertions.assertEquals("xbdpbcehwbd", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("q", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("ixccnkfsog", + Assertions.assertEquals("bo", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("pytporrvkxtfc", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("zaci", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals("lfueyxfzi", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); Assertions.assertEquals(IpAddressType.IPV6, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("guzliyv", - model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("ajwscmneev", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("qeumz", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("pvjrdspkvrmpr", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("pt", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); + Assertions.assertEquals("u", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); + Assertions.assertEquals("vgcgcsa", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("cqpfusekij", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("nmrznmtvrkkfc", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); + Assertions.assertEquals("zkstxneyke", + model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("rmqevrhhafqf", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("k", model.identitySelector().userAssignedIdentityResourceId()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("iruqvgnjxiakg", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("f", model.globalNetworkTapRuleActions().truncate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkTapRulePatch model = new NetworkTapRulePatch() - .withTags(mapOf("tfgfbhnkxasomaf", "nkpsvokkyankxvc", "autfzptrcdzy", "gazhlrdxpc", "wenbqvpr", - "rtffvpkdxcy")) - .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE) - .withUserAssignedIdentities(mapOf("ryhmmglv", new UserAssignedIdentity()))) - .withAnnotation("hqdoxdegacded") + .withTags(mapOf("azcbyb", "egjzgpljbnwczs", "uapasizzfmugykw", "cqhxhj", "gthdzi", "ycuotennd")) + .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities(mapOf("jpduibsrrrqnn", new UserAssignedIdentity(), "hbwcxybtdzycx", + new UserAssignedIdentity()))) + .withAnnotation("viujojzdvms") .withConfigurationType(ConfigurationType.INLINE) - .withTapRulesUrl("to") - .withMatchConfigurations( - Arrays - .asList( - new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("cidpda") - .withSequenceNumber(2043565802321449899L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions( - Arrays.asList( - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes( - Arrays.asList("lsaqifepdureeviv", "iglioklsuff", "xeswctl")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("vnpbgcesfddfclmo", "urofo")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch()))) - .withActions(Arrays.asList( - new NetworkTapRuleActionPatch().withType(TapRuleActionType.DROP) - .withTruncate("weob") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("q") - .withMatchConfigurationName("ixccnkfsog"), - new NetworkTapRuleActionPatch().withType(TapRuleActionType.LOG) - .withTruncate("myqzyqepgbbzdsl") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("ev") - .withMatchConfigurationName("dddpwmgwxwukfj"), - new NetworkTapRuleActionPatch().withType(TapRuleActionType.COUNT) - .withTruncate("axseisvv") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("hheovejk") - .withMatchConfigurationName("lecztl"))), - new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("rtzpuvfssr") - .withSequenceNumber(1072366039973700305L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("urmuzembqq", "ehdhjofywwna")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch()))) - .withActions(Arrays.asList( - new NetworkTapRuleActionPatch().withType(TapRuleActionType.REPLICATE) - .withTruncate("slqcxuthv") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("yyhrgmabspmlut") - .withMatchConfigurationName("ukkedputocrbfg"))), - new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("cmdrgcuzjmvkrw") - .withSequenceNumber(6973749545284154281L) - .withIpAddressType(IpAddressType.IPV4) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes( - Arrays.asList("qimybqjvfio", "hcaqpv", "szopeuku", "dswbsskgq")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("sjbpwjwzqgipdzy", "zkhxfp", "cuudqhadxjvvl")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("gtxlzncoqxtvytzq")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes( - Arrays.asList("xyrazz", "tjvcszbdbr", "bozltyola", "bibtkeiecupmwx")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortConditionPatch()))) - .withActions(Arrays.asList( - new NetworkTapRuleActionPatch().withType(TapRuleActionType.COUNT) - .withTruncate("peylf") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("ddgiq") - .withMatchConfigurationName("hcxwwwvun"), - new NetworkTapRuleActionPatch().withType(TapRuleActionType.REPLICATE) - .withTruncate("vxhxrmeatrtcq") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("ifbmojt") - .withMatchConfigurationName("qyo"), - new NetworkTapRuleActionPatch().withType(TapRuleActionType.MIRROR) - .withTruncate("oufkqmbhukdfp") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("iv") - .withMatchConfigurationName("jezchmeo"))), - new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("zjlrknc") - .withSequenceNumber(7838151286765806739L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("hfvsf", "sstw", "p", "cachdtezgfctu")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("uxnxauohshzultd", "vmjdhypn")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch() - .withProtocolTypes(Arrays.asList("ivptb", "zsuzgrzu", "ekytkzvtv")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortConditionPatch()), - new NetworkTapRuleMatchConditionPatch().withProtocolTypes(Arrays.asList("yce")) - .withVlanMatchCondition(new VlanMatchConditionPatch()) - .withIpCondition(new IpMatchConditionPatch()) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortConditionPatch()))) - .withActions(Arrays.asList( - new NetworkTapRuleActionPatch().withType(TapRuleActionType.MIRROR) - .withTruncate("xsbyplskhwfjud") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("psezs") - .withMatchConfigurationName("dpftfcbrtsr"))))) + .withTapRulesUrl("xsxoxvimdvet") + .withMatchConfigurations(Arrays.asList( + new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("itqsbyuj") + .withSequenceNumber(2744855892867248973L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays + .asList(new NetworkTapRuleMatchConditionPatch().withProtocolTypes(Arrays.asList("d", "vq")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch()))) + .withActions(Arrays.asList( + new NetworkTapRuleActionPatch().withType(TapRuleActionType.COUNT) + .withTruncate("xbdpbcehwbd") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("bo") + .withMatchConfigurationName("pytporrvkxtfc"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.REPLICATE) + .withTruncate("tinqxdh") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("ezjigh") + .withMatchConfigurationName("mltpmr"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.LOG) + .withTruncate("etqffuxvfhuqhn") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("jbsotoclmrttujyd") + .withMatchConfigurationName("twxpxbxedhxbboc"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.DROP) + .withTruncate("amqchlugfnlvv") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("rxdqhvhauimn") + .withMatchConfigurationName("fkqpwq"))), + new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("bnwivlqcwyzhn") + .withSequenceNumber(4110245960025478457L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays.asList( + new NetworkTapRuleMatchConditionPatch().withProtocolTypes(Arrays.asList("ceirtahtuwcimtca")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch()), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("sjqrmlujmtun", "ofwuzeb")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch()), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("zyenfspet", "eudwkhdlckdoxocj", "devzpfr")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch()), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes( + Arrays.asList("mgvrlhfx", "rhjnnhbcj", "wkdywkszavuafan", "fictptplkossjbzv")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch()))) + .withActions(Arrays.asList(new NetworkTapRuleActionPatch().withType(TapRuleActionType.LOG) + .withTruncate("hfgtiaczhfjdcc") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("vbtcuhjcgjtjknt") + .withMatchConfigurationName("nlzt"))), + new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("db") + .withSequenceNumber(2058438079251778321L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays.asList( + new NetworkTapRuleMatchConditionPatch().withProtocolTypes(Arrays.asList("cowlrmbdctqx")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch()), + new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("wkry", "gavplndmdfiek", "iskyyyaekn")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortConditionPatch()), + new NetworkTapRuleMatchConditionPatch().withProtocolTypes(Arrays.asList("wjlmlcufbbjiutfo")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch()))) + .withActions(Arrays.asList( + new NetworkTapRuleActionPatch().withType(TapRuleActionType.REDIRECT) + .withTruncate("syqyjnu") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("qquyhbcee") + .withMatchConfigurationName("girrpwnqtvuxeuj"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.REDIRECT) + .withTruncate("ij") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("fdlypk") + .withMatchConfigurationName("wsrqnnmjundtlxcl"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.LOG) + .withTruncate("cycg") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("sihxvtac") + .withMatchConfigurationName("fopxpryxnsbubw"))), + new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("qqgugwluxahtq") + .withSequenceNumber(2435862392613742372L) + .withIpAddressType(IpAddressType.IPV4) + .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchConditionPatch() + .withProtocolTypes(Arrays.asList("gmfpkeph", "jeucosvkkeergvy", "a")) + .withVlanMatchCondition(new VlanMatchConditionPatch()) + .withIpCondition(new IpMatchConditionPatch()) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortConditionPatch()))) + .withActions(Arrays.asList( + new NetworkTapRuleActionPatch().withType(TapRuleActionType.MIRROR) + .withTruncate("gnue") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("ffbuqxknvm") + .withMatchConfigurationName("mbgzyojfchic"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.MIRROR) + .withTruncate("xzoksgqhbooj") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("ozb") + .withMatchConfigurationName("crfl"), + new NetworkTapRuleActionPatch().withType(TapRuleActionType.REDIRECT) + .withTruncate("wtkbptsflot") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("wgftshfgmuxuqia") + .withMatchConfigurationName("koikuqirhskxpa"))))) .withDynamicMatchConfigurations( Arrays .asList( new CommonDynamicMatchConfigurationPatch() .withIpGroups(Arrays.asList( - new IpGroupPatchProperties().withName("zaci") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("guzliyv", "bfsin", "abdjuljgxotu", "a")), - new IpGroupPatchProperties().withName("i") + new IpGroupPatchProperties().withName("lfueyxfzi") .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("hulzugifgsp")), - new IpGroupPatchProperties().withName("dlnoc") + .withIpPrefixes(Arrays.asList("u", "cfebpiucenbvrll", "dfkn")), + new IpGroupPatchProperties().withName("zwi") .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("mi", "lukjbwmgksrl", "spppoeszthj")), - new IpGroupPatchProperties().withName("yjskdiylg") + .withIpPrefixes(Arrays.asList("i", "j")), + new IpGroupPatchProperties().withName("wrduxntpfxxgja") .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("xpsyb", "owgvm", "wbohxdhkoexb", "h")))) + .withIpPrefixes(Arrays.asList("fc", "qv", "yfbkqynlzx")), + new IpGroupPatchProperties().withName("elupjckiehd") + .withIpAddressType(IpAddressType.IPV6) + .withIpPrefixes(Arrays.asList("rx", "xffg", "cuans")))) .withVlanGroups(Arrays.asList( - new VlanGroupPatchProperties().withName("ajwscmneev") - .withVlans(Arrays.asList("qeumz", "yhmgq", "eivjqutxr", "gbzgfhzdzahktxv")), - new VlanGroupPatchProperties().withName("icf") - .withVlans(Arrays.asList("hotbkjwhztpxjvtw", "yjdpayx")), - new VlanGroupPatchProperties().withName("qiwu") - .withVlans(Arrays.asList("qztjfkgb", "qqjobsyn", "en", "onjqhdheosx")), - new VlanGroupPatchProperties().withName("fudmpfhwyp") - .withVlans(Arrays.asList("jtntcwgpdbbg", "aecct")))) + new VlanGroupPatchProperties().withName("vgcgcsa") + .withVlans(Arrays.asList("cqpfusekij", "minenkbivpy", "kvorlfqm")), + new VlanGroupPatchProperties().withName("ewynbf") + .withVlans(Arrays.asList("wv", "rkm", "ufavvlnpbso", "m")))) .withPortGroups(Arrays.asList( - new PortGroupPatchProperties().withName("pvjrdspkvrmpr") - .withPorts(Arrays.asList("pt", "jwiyyeohg", "cmdjmvphwfnugsl", "fzzi")), - new PortGroupPatchProperties().withName("bgomvue") - .withPorts(Arrays.asList("m", "fxnwcgzuoxixtxxx")))), + new PortGroupPatchProperties().withName("nmrznmtvrkkfc") + .withPorts(Arrays.asList("zkstxneyke", "px", "tc")), + new PortGroupPatchProperties().withName("riuvnfazxtv") + .withPorts(Arrays.asList("yaeiivjqkq", "jwrvewojoqfxqetx")), + new PortGroupPatchProperties().withName("qiuspg").withPorts(Arrays.asList("jvg")), + new PortGroupPatchProperties().withName("jzqjhljsazmjs") + .withPorts(Arrays.asList("qq", "cm")))), new CommonDynamicMatchConfigurationPatch() - .withIpGroups( - Arrays - .asList( - new IpGroupPatchProperties().withName("hbknnrnkyjfawpcb") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("hczbnivco", "sxvppkjealkdb", "who", - "vbmyzuqfdqdktrj")), - new IpGroupPatchProperties().withName("qszhhqngjndkv") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes(Arrays.asList("f", "gdodnkqyipgk")), - new IpGroupPatchProperties().withName("tdazmdzesim") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("rfzjlflzagvdavab", "iefcorzbida", - "beznicew", "fajw")))) - .withVlanGroups(Arrays.asList( - new VlanGroupPatchProperties().withName("i") - .withVlans(Arrays.asList("pwwsrzeqxu", "cuuuexsmnteevfg")), - new VlanGroupPatchProperties().withName("fezraqs") - .withVlans(Arrays.asList("odkgxqfkyrxgmz", "eglwdzfsspfeg")))) + .withIpGroups(Arrays.asList( + new IpGroupPatchProperties().withName("sbfe") + .withIpAddressType(IpAddressType.IPV6) + .withIpPrefixes(Arrays.asList("jygllfkchhgsjuzz", "ajlwmqcycab", + "amkkhdhpmkxdujk", "puqzdy")), + new IpGroupPatchProperties().withName("yws") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("hryhe", "xizdsyxbfj")), + new IpGroupPatchProperties().withName("buazccouhw") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("vjsknrbxz", "pi")))) + .withVlanGroups(Arrays.asList(new VlanGroupPatchProperties().withName("piqdqbvxqto") + .withVlans(Arrays.asList("bopvhcbt", "aprjxcon", "ick")))) .withPortGroups(Arrays.asList( - new PortGroupPatchProperties().withName("ddkkraj").withPorts(Arrays.asList("k")))), - new CommonDynamicMatchConfigurationPatch() - .withIpGroups( - Arrays.asList( - new IpGroupPatchProperties().withName("lmzpyq") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("cxhgsingmhpavsfg", "rvqrwwbdrwroqk", - "jnzpqhqqsa", "kyu")), - new IpGroupPatchProperties().withName("ameaasjqen") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("zvgeytlplslfc", "e", "ksuowt", "lkyqfnjo")), - new IpGroupPatchProperties().withName("hnxzmfvmw") - .withIpAddressType(IpAddressType.IPV6) - .withIpPrefixes( - Arrays.asList("srawwhyxfshmby", "mvwnbunsodtevzsh", "ykebmpshaez")))) - .withVlanGroups(Arrays.asList( - new VlanGroupPatchProperties().withName("ck") - .withVlans(Arrays.asList("vqdmhcejstfsm", "cjakgkqwx", "dsoqzhxwdjoxwkb")), - new VlanGroupPatchProperties().withName("sobvcnsb") - .withVlans(Arrays.asList("znlf")))) - .withPortGroups(Arrays.asList(new PortGroupPatchProperties().withName("xtfzqyugtkxncwd") - .withPorts(Arrays.asList("lrlcm", "bejywwwv")))))) + new PortGroupPatchProperties().withName("h").withPorts(Arrays.asList("csgvuqzg")), + new PortGroupPatchProperties().withName("wvr") + .withPorts(Arrays.asList("pwewpmiolea", "abes", "yzwphbjks", "ecmbaaj")))))) .withIdentitySelector(new IdentitySelectorPatch() .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("rmqevrhhafqf")) + .withUserAssignedIdentityResourceId("k")) .withGlobalNetworkTapRuleActions( new GlobalNetworkTapRuleActionPatchProperties().withEnableCount(BooleanEnumProperty.FALSE) - .withTruncate("iruqvgnjxiakg")); + .withTruncate("f")); model = BinaryData.fromObject(model).toObject(NetworkTapRulePatch.class); - Assertions.assertEquals("nkpsvokkyankxvc", model.tags().get("tfgfbhnkxasomaf")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.identity().type()); - Assertions.assertEquals("hqdoxdegacded", model.annotation()); + Assertions.assertEquals("egjzgpljbnwczs", model.tags().get("azcbyb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); + Assertions.assertEquals("viujojzdvms", model.annotation()); Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); - Assertions.assertEquals("to", model.tapRulesUrl()); - Assertions.assertEquals("cidpda", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(2043565802321449899L, model.matchConfigurations().get(0).sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("lsaqifepdureeviv", + Assertions.assertEquals("xsxoxvimdvet", model.tapRulesUrl()); + Assertions.assertEquals("itqsbyuj", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(2744855892867248973L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV4, model.matchConfigurations().get(0).ipAddressType()); + Assertions.assertEquals("d", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); Assertions.assertEquals(EncapsulationType.NONE, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(TapRuleActionType.DROP, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("weob", model.matchConfigurations().get(0).actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals(TapRuleActionType.COUNT, model.matchConfigurations().get(0).actions().get(0).type()); + Assertions.assertEquals("xbdpbcehwbd", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("q", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("ixccnkfsog", + Assertions.assertEquals("bo", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("pytporrvkxtfc", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("zaci", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals("lfueyxfzi", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); Assertions.assertEquals(IpAddressType.IPV6, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("guzliyv", - model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("ajwscmneev", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("qeumz", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("pvjrdspkvrmpr", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("pt", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); + Assertions.assertEquals("u", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); + Assertions.assertEquals("vgcgcsa", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("cqpfusekij", + model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("nmrznmtvrkkfc", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); + Assertions.assertEquals("zkstxneyke", + model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("rmqevrhhafqf", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("k", model.identitySelector().userAssignedIdentityResourceId()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("iruqvgnjxiakg", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("f", model.globalNetworkTapRuleActions().truncate()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePropertiesTests.java index 605a983a6a594..a633047cbba96 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulePropertiesTests.java @@ -35,411 +35,355 @@ public final class NetworkTapRulePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRuleProperties model = BinaryData.fromString( - "{\"annotation\":\"m\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"mslub\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"fuysjhv\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"fswarmybw\",\"sequenceNumber\":3797409761848661333,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"wwcbfnxiaj\",\"vjucfjisosfzl\"],\"portGroupNames\":[\"xnfyzgu\",\"xfh\"]},\"protocolTypes\":[\"xgofq\",\"qwsjmihuvrq\",\"bxdoicqpkntl\"],\"vlanMatchCondition\":{\"vlans\":[\"p\",\"nsbmzjritukoym\"],\"innerVlans\":[\"exmizzjxwjoqfzw\"],\"vlanGroupNames\":[\"uhduwdvol\",\"tqmri\",\"dsf\",\"zbkiumjf\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"azhvchvvo\",\"iogbntnwzruzsoo\",\"xcsmxtl\",\"a\"],\"ipGroupNames\":[\"vcebspcir\",\"omhkdwuwedupb\",\"mzkwhjjsqwhae\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"n\",\"cvaqycdzdobues\",\"yvfxnzpfdfupk\"],\"portGroupNames\":[\"dpsegivytabvbbk\",\"lewgsltut\"]},\"protocolTypes\":[\"edwu\",\"qbmenxc\"],\"vlanMatchCondition\":{\"vlans\":[\"clykcrudekkbnjre\",\"mptedeuenthsh\"],\"innerVlans\":[\"ygpgpkkhpjnglaql\",\"ihnmtrdlpxiwwg\"],\"vlanGroupNames\":[\"vfpnrzikvoxloeoh\",\"fivxdifb\",\"b\",\"ijhpxukxgoyxontb\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"uqr\",\"ldxfuaefewxatkt\",\"jrppif\",\"yrqvelrmd\"],\"ipGroupNames\":[\"hvksbojkl\",\"jpzwyn\",\"wksmpyeyzolb\",\"nflytfxud\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"TCP\",\"ports\":[\"kqwopws\",\"liyznghuqzgp\"],\"portGroupNames\":[\"kfv\"]},\"protocolTypes\":[\"gavtfy\",\"sedfmzu\",\"ryxpi\"],\"vlanMatchCondition\":{\"vlans\":[\"eakfdmcedlik\",\"x\"],\"innerVlans\":[\"ddoq\"],\"vlanGroupNames\":[\"qtrkicw\",\"qyrgqmndk\",\"wwmu\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"fsrnackitlwgeb\",\"lpzjeldaqwjun\"],\"ipGroupNames\":[\"ijhwcbrdsypotnpk\",\"vzpkodngvnq\",\"jgsbtwgnld\"]}}],\"actions\":[{\"type\":\"Redirect\",\"truncate\":\"vbqy\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"irpiiuvcqoqkqw\",\"matchConfigurationName\":\"qsdgbxcw\"}]},{\"matchConfigurationName\":\"mi\",\"sequenceNumber\":6191529865804043004,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"maihtnnlbhxjppcb\",\"et\"],\"portGroupNames\":[\"ppvolzayjw\",\"unj\",\"mprklatwiuujxsuj\"]},\"protocolTypes\":[\"gxeegxbnjnczepd\",\"cymgbfmdquyyaes\",\"jxnavpyxqbkxdtb\"],\"vlanMatchCondition\":{\"vlans\":[\"ainzkefkzlx\",\"coz\"],\"innerVlans\":[\"eozlibcbn\",\"nz\",\"ysajvvqlhonyonel\",\"vgt\"],\"vlanGroupNames\":[\"kqjqjcaj\",\"of\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"rvkxeojtdyulg\",\"helwruklfqfxs\",\"xgogypbztgaexjns\",\"vctvuzimbwttm\"],\"ipGroupNames\":[\"rycyx\",\"nwukfajnpdw\",\"jggkwdepem\",\"iayfiqiidxco\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"rttcuayiqylnkm\",\"xzifbqgqexowqzrt\",\"qrq\"],\"portGroupNames\":[\"fy\",\"kuobpw\",\"inpgobothxiew\",\"pnyjtu\"]},\"protocolTypes\":[\"yvextch\",\"lroldowuwhdlrif\",\"ozttcbiich\"],\"vlanMatchCondition\":{\"vlans\":[\"sozodwjcfq\",\"yxryqyc\",\"mz\",\"lcfgdwzauzfdhe\"],\"innerVlans\":[\"yciwzkil\"],\"vlanGroupNames\":[\"adfgesvzohabbriz\",\"adjrsbgailjqovqm\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"nkiu\",\"kgltsxooiobhieb\"],\"ipGroupNames\":[\"tlsrvqzgaqsosrn\",\"lvgrghnhuoxrqhjn\",\"npesw\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"qzmcsviuj\"],\"portGroupNames\":[\"dvmsnaosxsx\",\"xvimdvetqhdb\"]},\"protocolTypes\":[\"sbyujs\",\"omr\",\"humgr\",\"sdbvq\"],\"vlanMatchCondition\":{\"vlans\":[\"gfkgxbdpbcehwb\",\"psesboynpyt\",\"orrvk\"],\"innerVlans\":[\"ctanetinqxdhnpj\",\"ezjigh\"],\"vlanGroupNames\":[\"l\",\"pmrzwvwetqf\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"hngqqxjbsotocl\",\"rttujydeatwxp\",\"bx\"],\"ipGroupNames\":[\"xbboceksramqch\",\"ugfnlvvkswurxdq\",\"vhauimnntfkqp\",\"qcnbnwivlqcwyzh\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"UDP\",\"ports\":[\"zecdlceirta\",\"tuwcimtcaumv\",\"udzpsjqrmlujmt\",\"nlofwuzebfq\"],\"portGroupNames\":[\"jbhzyenf\",\"petxeudwkh\",\"lckdoxocjcdevzp\"]},\"protocolTypes\":[\"ortwwyjm\",\"vrlhfxmrhjn\",\"h\"],\"vlanMatchCondition\":{\"vlans\":[\"wkdywkszavuafan\"],\"innerVlans\":[\"ctptplko\",\"sjbzvxpz\"],\"vlanGroupNames\":[\"zuh\",\"gtiaczhfjdcc\",\"nyuvbtcuhjcgjt\",\"kntomnlz\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"bzrrxeyvidcowlr\"],\"ipGroupNames\":[\"ctqxa\"]}}],\"actions\":[{\"type\":\"Redirect\",\"truncate\":\"vwkryzgav\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"mdfie\",\"matchConfigurationName\":\"iskyyyaekn\"},{\"type\":\"Drop\",\"truncate\":\"shdawjlmlc\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"jiutfofhoajj\",\"matchConfigurationName\":\"syqyjnu\"}]},{\"matchConfigurationName\":\"vlqq\",\"sequenceNumber\":2330458650285600355,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"qtvuxeujmdssijua\",\"xfdlypkcpws\",\"qnnmjundt\"],\"portGroupNames\":[\"ltjhb\",\"ycgqakcsihxvt\",\"cwwfopxp\"]},\"protocolTypes\":[\"nsbubwhzqqgugwlu\"],\"vlanMatchCondition\":{\"vlans\":[\"qmmkdhwqcqwebag\",\"fpkeph\",\"jeucosvkkeergvy\"],\"innerVlans\":[\"pjpyillgnuee\",\"fpffbuqxknv\",\"cgmbg\"],\"vlanGroupNames\":[\"jfchicpare\",\"zoksgqhb\",\"ojuxil\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"l\",\"flj\"],\"ipGroupNames\":[\"b\",\"tsflotumbm\"]}}],\"actions\":[{\"type\":\"Goto\",\"truncate\":\"fgmuxuqiagskoik\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"hskxpa\",\"matchConfigurationName\":\"kgvnlfu\"},{\"type\":\"Replicate\",\"truncate\":\"zibrlr\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"febpiucenbvrl\",\"matchConfigurationName\":\"dfkn\"},{\"type\":\"Count\",\"truncate\":\"ilsxr\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"zlwrduxntpfxxgj\",\"matchConfigurationName\":\"yxfwfctq\"},{\"type\":\"Goto\",\"truncate\":\"bkqynlzx\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"upjckiehdm\",\"matchConfigurationName\":\"o\"}]},{\"matchConfigurationName\":\"xxxffgmcuanszee\",\"sequenceNumber\":2393258009178106661,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"sekijhminenkb\",\"vpyr\"],\"portGroupNames\":[\"rlfqm\",\"j\"]},\"protocolTypes\":[\"nbfvvcwvurkmj\"],\"vlanMatchCondition\":{\"vlans\":[\"vlnpbsotmynklnm\",\"znmtvrk\"],\"innerVlans\":[\"wxizkstxneykei\",\"xutcbvriuvnfazx\",\"vsa\"],\"vlanGroupNames\":[\"eiivjq\",\"qtjwrvewojoq\",\"xqetxtdqius\",\"guz\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"qjhl\"],\"ipGroupNames\":[\"zmjsisfqqhcmec\",\"gsbfeiirpnjy\",\"llfkchhgs\",\"uzzc\"]}}],\"actions\":[{\"type\":\"Log\",\"truncate\":\"cyca\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"kkhdhpmkxdu\",\"matchConfigurationName\":\"xpuq\"},{\"type\":\"Drop\",\"truncate\":\"qywsuarp\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"hezxi\",\"matchConfigurationName\":\"syxbfjilb\"},{\"type\":\"Goto\",\"truncate\":\"couhwivkdfvjskn\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"epir\",\"matchConfigurationName\":\"cpiqdqbvxqtol\"},{\"type\":\"Replicate\",\"truncate\":\"pvhcbtza\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"cont\",\"matchConfigurationName\":\"kfki\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"sg\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"bjwvrudm\",\"wewpmioleajabe\",\"g\"]}],\"vlanGroups\":[{\"name\":\"hbj\",\"vlans\":[\"ecmbaaj\",\"fwrdkql\",\"zkfekdesb\"]},{\"name\":\"qtllbhjjpduibs\",\"vlans\":[\"qnneqrypyurvs\",\"hovtuercp\",\"hbwcxybtdzycx\"]}],\"portGroups\":[{\"name\":\"gjzgpljbnwczsr\",\"ports\":[\"bybicqhxhj\",\"uapasizzfmugykw\",\"ycuotennd\",\"gthdzi\"]},{\"name\":\"zffpherwj\",\"ports\":[\"wtwona\"]},{\"name\":\"zmzxvfybxmmrvnu\",\"ports\":[\"rrsguogk\"]}]},{\"ipGroups\":[{\"name\":\"tpyabensjflwp\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"tmvifgcv\",\"im\"]},{\"name\":\"bmticxgosnxajp\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"zxaoxlhmvjcnnls\",\"nucqxhpaqo\",\"bvejo\"]},{\"name\":\"oxovlz\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"dkqdlq\",\"hntqrykkxakruup\",\"iicgvpz\",\"yxccnpxie\"]},{\"name\":\"cmz\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"snnbrys\",\"ktfmocnq\",\"blrtbofzghfuif\"]}],\"vlanGroups\":[{\"name\":\"ynohocqxug\",\"vlans\":[\"gdcrrfbpl\",\"hmhurosdjlzb\"]},{\"name\":\"ddg\",\"vlans\":[\"uyaorservpv\",\"sorsbegcl\",\"ex\"]},{\"name\":\"jqzyhzydy\",\"vlans\":[\"qvirluns\",\"kydigt\",\"jx\"]}],\"portGroups\":[{\"name\":\"vje\",\"ports\":[\"chxzj\",\"cwuzs\"]},{\"name\":\"fyixe\",\"ports\":[\"sjnf\",\"ngxaojeeyv\",\"xbfckmoal\",\"axvwxtxuzh\"]},{\"name\":\"jyffwflbkjc\",\"ports\":[\"iyg\",\"cyzcjefpubaldj\",\"gldry\",\"lrlkbh\"]}]}],\"networkTapId\":\"rmxca\",\"networkTapIds\":[\"fomfbozpjyxefppq\",\"wdnnjjthpsnxebyc\",\"mpohxubnnpnsebcx\"],\"pollingIntervalInSeconds\":719979289,\"lastSyncedTime\":\"2021-06-28T19:53:12Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"sjlmykd\"},\"lastOperation\":{\"details\":\"vgspjlfzhjngwqx\"},\"networkFabricIds\":[\"crgyoimmsszz\",\"c\"],\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"EnabledDegraded\"}") + "{\"annotation\":\"vkbcbptwyb\",\"configurationType\":\"File\",\"tapRulesUrl\":\"cuhp\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"nsshvqnpszbe\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"tc\",\"sequenceNumber\":5487574001297431022,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"TCP\",\"ports\":[\"rxrltqmmijgpq\",\"k\",\"naeikczscymqf\",\"xgwpq\"],\"portGroupNames\":[\"mzapdokez\"]},\"protocolTypes\":[\"zk\",\"fzqnzbflbqmhbiyx\",\"vwe\",\"hag\"],\"vlanMatchCondition\":{\"vlans\":[\"eseayuflms\",\"zzdcrolrz\",\"sb\"],\"innerVlans\":[\"h\",\"kymunwjivtb\"],\"vlanGroupNames\":[\"bdjrd\",\"eujywdalisdeqngc\",\"ydzin\",\"ooulpoz\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"rsi\"],\"ipGroupNames\":[\"bldpoiaffjkrtn\",\"revimxmaxcj\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"SourcePort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"dsoqtbfkvuo\",\"bzchnq\",\"k\",\"anklpu\"],\"portGroupNames\":[\"ydjhtkjserwi\",\"ndurdonkgobxbl\"]},\"protocolTypes\":[\"le\",\"rswknpdrgnmza\",\"froefq\"],\"vlanMatchCondition\":{\"vlans\":[\"vyrejyoy\",\"kqf\",\"usdwmnrtvvbucn\",\"rovomep\"],\"innerVlans\":[\"icvwqzo\",\"sfshe\",\"nmsg\"],\"vlanGroupNames\":[\"dibugvnrgalvwrhr\",\"ibrbknuubxc\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"vnpyeevffifujgtd\"],\"ipGroupNames\":[\"xmwefcbybpc\",\"rtczwjcujyznvyrj\",\"djlgkuirxxeuwii\",\"rcvnfg\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"Bidirectional\",\"layer4Protocol\":\"UDP\",\"ports\":[\"txa\",\"fujdbqjnyexbvx\",\"xqqqas\"],\"portGroupNames\":[\"oqftpvevt\"]},\"protocolTypes\":[\"hklqlii\",\"eanuwg\"],\"vlanMatchCondition\":{\"vlans\":[\"gijydg\",\"ebjuymtevaebzm\"],\"innerVlans\":[\"hrjkejvaedogz\",\"ugxbxxgjogcph\",\"v\",\"hrm\"],\"vlanGroupNames\":[\"fdvdoeary\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"trsyfezfsmyl\"],\"ipGroupNames\":[\"yyrwnmwtqi\",\"jk\",\"nkynkstdtfw\",\"jfphfxaqjyih\"]}}],\"actions\":[{\"type\":\"Log\",\"truncate\":\"osckfavhkhp\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"eifdyfa\",\"matchConfigurationName\":\"xnguwn\"},{\"type\":\"Redirect\",\"truncate\":\"zlaihsujtg\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"zam\",\"matchConfigurationName\":\"xejpd\"},{\"type\":\"Replicate\",\"truncate\":\"wzu\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"lrnhhjtvhqsz\",\"matchConfigurationName\":\"yovqmqcudptoqwr\"}]},{\"matchConfigurationName\":\"ckjt\",\"sequenceNumber\":6772196574767464341,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"jjxumowynjmoozm\",\"uktdrsjtmnkxjouw\",\"zcfdtstiaxtyrnu\",\"cfhep\"],\"portGroupNames\":[\"bcmlroiommems\",\"q\",\"blcyeqdobobaq\"]},\"protocolTypes\":[\"ebckcesrsixwnlpj\",\"xbj\"],\"vlanMatchCondition\":{\"vlans\":[\"qyyfrridzfpsfyak\"],\"innerVlans\":[\"hmlxrqkekn\",\"mkqafzvptriy\",\"jrgtruwpuqpsrce\"],\"vlanGroupNames\":[\"voydwedggwgc\",\"vbwa\",\"zadrjbjngoar\"]},\"ipCondition\":{\"type\":\"DestinationIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"zcyniapy\"],\"ipGroupNames\":[\"rxirq\",\"ipzesstu\",\"nytkmlfupjzc\",\"xvzjoyxj\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"SCTP\",\"ports\":[\"aktnytkb\",\"erfcv\",\"pvfqjckmpwyv\",\"hnhhcikh\"],\"portGroupNames\":[\"gjgylsacagifl\",\"cygotohzwtoidh\",\"xitr\"]},\"protocolTypes\":[\"zhlutjsjzels\",\"iemv\",\"pmeakosysycv\"],\"vlanMatchCondition\":{\"vlans\":[\"hcbsaipusuo\",\"kegbvbbdledf\"],\"innerVlans\":[\"vsluazzxfjv\",\"ugpxzeempup\",\"scboxra\",\"dczmrjgobekx\"],\"vlanGroupNames\":[\"owsecaf\",\"rzzbs\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"bmseesacuicnvq\"],\"ipGroupNames\":[\"u\",\"vmrfaptndrmmn\"]}},{\"encapsulationType\":\"GTPv1\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"UDP\",\"ports\":[\"ekcdavi\"],\"portGroupNames\":[\"eqrfzavqymcwts\",\"uceplbrzgkuorwp\",\"b\",\"tweobptscruykkie\"]},\"protocolTypes\":[\"ynoy\"],\"vlanMatchCondition\":{\"vlans\":[\"smsbnlyoifg\"],\"innerVlans\":[\"jqthykcvoevcw\",\"zotkx\",\"lwwooxgbsd\"],\"vlanGroupNames\":[\"cvypjhubd\",\"gobxehujcqg\"]},\"ipCondition\":{\"type\":\"Bidirectional\",\"prefixType\":\"LongestPrefix\",\"ipPrefixValues\":[\"oibm\",\"klqrljdc\"],\"ipGroupNames\":[\"laxrji\",\"oqovqhgphgxuwudg\",\"yqruvumryddnqiva\"]}},{\"encapsulationType\":\"None\",\"portCondition\":{\"portType\":\"DestinationPort\",\"layer4Protocol\":\"TCP\",\"ports\":[\"bp\"],\"portGroupNames\":[\"iyoypoedkspwwibp\",\"bqeigxuyxsxteuik\",\"znfffnhcgnaqsrm\"]},\"protocolTypes\":[\"derkrgs\",\"cobpmgqlwy\",\"znbbyzposzfut\",\"pbygbnbcmoiq\"],\"vlanMatchCondition\":{\"vlans\":[\"vqewflw\",\"hxzuxerxhyw\",\"rkqsqvvdkfpfjda\"],\"innerVlans\":[\"xymxxyfrd\",\"idcetfvgwfwsldi\",\"wouppvyddq\",\"vclrsn\"],\"vlanGroupNames\":[\"p\",\"wwqclmdmtfxxepz\"]},\"ipCondition\":{\"type\":\"SourceIP\",\"prefixType\":\"Prefix\",\"ipPrefixValues\":[\"fxaitiq\",\"cj\",\"smkir\",\"qnipudmhkco\"],\"ipGroupNames\":[\"bwke\",\"zltenlbfxl\",\"xozesn\"]}}],\"actions\":[{\"type\":\"Replicate\",\"truncate\":\"txjbrixy\",\"isTimestampEnabled\":\"False\",\"destinationId\":\"kk\",\"matchConfigurationName\":\"vurhwishyfmrz\"},{\"type\":\"Log\",\"truncate\":\"vnkyakck\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"gns\",\"matchConfigurationName\":\"jkk\"},{\"type\":\"Mirror\",\"truncate\":\"suaz\",\"isTimestampEnabled\":\"True\",\"destinationId\":\"n\",\"matchConfigurationName\":\"xgxumtcqxmyvk\"}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{\"name\":\"v\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"g\",\"hvpsuwichm\"]},{\"name\":\"zbyfkoc\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"tsn\",\"wscrngtwgxrolw\",\"plksdksutacucti\",\"avishbvjhxvpmqqu\"]},{\"name\":\"xlphngrxle\",\"ipAddressType\":\"IPv4\",\"ipPrefixes\":[\"rocrqicgymtgbq\",\"fy\",\"vhtvijvwmrg\"]}],\"vlanGroups\":[{\"name\":\"rpl\",\"vlans\":[\"mbzquu\",\"tqmh\",\"tqyzyc\"]},{\"name\":\"mbky\",\"vlans\":[\"jdqosxzmdzlybqfu\",\"kekz\",\"ki\",\"xh\"]},{\"name\":\"vmnkgghvsryjok\",\"vlans\":[\"vbjsarxsvmfp\"]},{\"name\":\"wbpzgfgqp\",\"vlans\":[\"gxgieabbfp\"]}],\"portGroups\":[{\"name\":\"lozukgs\",\"ports\":[\"wyxjsfmaxcebnbeo\"]},{\"name\":\"emqqerwqx\",\"ports\":[\"v\",\"mdfkhttuobr\",\"zmhytebjkjgee\"]}]},{\"ipGroups\":[{\"name\":\"mabvbmnhtwofxf\",\"ipAddressType\":\"IPv6\",\"ipPrefixes\":[\"qnsl\",\"qrmlq\",\"iekhjgqq\",\"ugwespscvsmsp\"]}],\"vlanGroups\":[{\"name\":\"ozfvza\",\"vlans\":[\"cv\",\"gx\",\"vwio\",\"hcmcgm\"]},{\"name\":\"pnvqxuyiarznhdq\",\"vlans\":[\"pdlmajpuyxoafrmz\"]}],\"portGroups\":[{\"name\":\"nbuvms\",\"ports\":[\"edmmvoneeyr\",\"parxtzayq\"]},{\"name\":\"digeb\",\"ports\":[\"lzdssi\",\"wveeozbjkj\",\"p\"]}]}],\"networkTapId\":\"dnuehxwltssjdywb\",\"networkTapIds\":[\"ge\",\"xa\",\"tsawv\",\"cimpth\"],\"pollingIntervalInSeconds\":30335586,\"lastSyncedTime\":\"2021-03-27T21:52:35Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"ubnkn\"},\"lastOperation\":{\"details\":\"ysj\"},\"networkFabricIds\":[\"rllfswarm\",\"bwmrotgey\",\"yqnipehfwwcb\",\"nxiajuvj\"],\"configurationState\":\"CommitStageFailed\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"MAT\"}") .toObject(NetworkTapRuleProperties.class); - Assertions.assertEquals("m", model.annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); - Assertions.assertEquals("mslub", model.tapRulesUrl()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + Assertions.assertEquals("vkbcbptwyb", model.annotation()); + Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); + Assertions.assertEquals("cuhp", model.tapRulesUrl()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("fuysjhv", model.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("fswarmybw", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(3797409761848661333L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("nsshvqnpszbe", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("tc", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5487574001297431022L, model.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("xgofq", + Assertions.assertEquals("zk", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("p", + Assertions.assertEquals("eseayuflms", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("exmizzjxwjoqfzw", + Assertions.assertEquals("h", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("uhduwdvol", + Assertions.assertEquals("bdjrd", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, + Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().type()); Assertions.assertEquals(PrefixType.PREFIX, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("azhvchvvo", + Assertions.assertEquals("rsi", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("vcebspcir", + Assertions.assertEquals("bldpoiaffjkrtn", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipGroupNames().get(0)); - Assertions.assertEquals(EncapsulationType.GTPV1, + Assertions.assertEquals(EncapsulationType.NONE, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.DESTINATION_PORT, + Assertions.assertEquals(PortType.BIDIRECTIONAL, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portType()); Assertions.assertEquals(Layer4Protocol.TCP, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("wwcbfnxiaj", + Assertions.assertEquals("rxrltqmmijgpq", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("xnfyzgu", + Assertions.assertEquals("mzapdokez", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portGroupNames().get(0)); - Assertions.assertEquals(TapRuleActionType.REDIRECT, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("vbqy", model.matchConfigurations().get(0).actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals(TapRuleActionType.LOG, model.matchConfigurations().get(0).actions().get(0).type()); + Assertions.assertEquals("osckfavhkhp", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("irpiiuvcqoqkqw", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("qsdgbxcw", - model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("sg", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals("eifdyfa", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("xnguwn", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); + Assertions.assertEquals("v", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); Assertions.assertEquals(IpAddressType.IPV4, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("bjwvrudm", - model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("hbj", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("ecmbaaj", - model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("gjzgpljbnwczsr", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("bybicqhxhj", + Assertions.assertEquals("g", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); + Assertions.assertEquals("rpl", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("mbzquu", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("lozukgs", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); + Assertions.assertEquals("wyxjsfmaxcebnbeo", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); - Assertions.assertEquals(719979289, model.pollingIntervalInSeconds()); + Assertions.assertEquals(30335586, model.pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("sjlmykd", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("ubnkn", model.globalNetworkTapRuleActions().truncate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkTapRuleProperties model - = new NetworkTapRuleProperties().withAnnotation("m") - .withConfigurationType(ConfigurationType.INLINE) - .withTapRulesUrl("mslub") + = new NetworkTapRuleProperties().withAnnotation("vkbcbptwyb") + .withConfigurationType(ConfigurationType.FILE) + .withTapRulesUrl("cuhp") .withIdentitySelector( - new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("fuysjhv")) + new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("nsshvqnpszbe")) .withMatchConfigurations( - Arrays.asList( - new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("fswarmybw") - .withSequenceNumber(3797409761848661333L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("xgofq", "qwsjmihuvrq", "bxdoicqpkntl")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("p", "nsbmzjritukoym")) - .withInnerVlans(Arrays.asList("exmizzjxwjoqfzw")) - .withVlanGroupNames(Arrays.asList("uhduwdvol", "tqmri", "dsf", "zbkiumjf"))) - .withIpCondition(new IpMatchCondition() - .withType(SourceDestinationType.DESTINATION_IP) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues( - Arrays.asList("azhvchvvo", "iogbntnwzruzsoo", "xcsmxtl", "a")) - .withIpGroupNames(Arrays.asList("vcebspcir", "omhkdwuwedupb", "mzkwhjjsqwhae"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition() - .withPortType(PortType.DESTINATION_PORT) - .withLayer4Protocol(Layer4Protocol.TCP) - .withPorts(Arrays.asList("wwcbfnxiaj", "vjucfjisosfzl")) - .withPortGroupNames(Arrays.asList("xnfyzgu", "xfh"))), - new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("edwu", "qbmenxc")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("clykcrudekkbnjre", "mptedeuenthsh")) - .withInnerVlans(Arrays.asList("ygpgpkkhpjnglaql", "ihnmtrdlpxiwwg")) - .withVlanGroupNames( - Arrays.asList("vfpnrzikvoxloeoh", "fivxdifb", "b", "ijhpxukxgoyxontb"))) - .withIpCondition( - new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues( - Arrays.asList("uqr", "ldxfuaefewxatkt", "jrppif", "yrqvelrmd")) - .withIpGroupNames( - Arrays.asList("hvksbojkl", "jpzwyn", "wksmpyeyzolb", "nflytfxud"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortCondition() - .withPortType(PortType.SOURCE_PORT) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("n", "cvaqycdzdobues", "yvfxnzpfdfupk")) - .withPortGroupNames(Arrays.asList("dpsegivytabvbbk", "lewgsltut"))), - new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("gavtfy", "sedfmzu", "ryxpi")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("eakfdmcedlik", "x")) - .withInnerVlans(Arrays.asList("ddoq")) - .withVlanGroupNames(Arrays.asList("qtrkicw", "qyrgqmndk", "wwmu"))) - .withIpCondition( - new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("fsrnackitlwgeb", "lpzjeldaqwjun")) - .withIpGroupNames( - Arrays.asList("ijhwcbrdsypotnpk", "vzpkodngvnq", "jgsbtwgnld"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortCondition().withPortType(PortType.BIDIRECTIONAL) - .withLayer4Protocol(Layer4Protocol.TCP) - .withPorts(Arrays.asList("kqwopws", "liyznghuqzgp")) - .withPortGroupNames(Arrays.asList("kfv"))))) - .withActions(Arrays.asList(new NetworkTapRuleAction() - .withType(TapRuleActionType.REDIRECT) - .withTruncate("vbqy") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("irpiiuvcqoqkqw") - .withMatchConfigurationName("qsdgbxcw"))), - new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("mi") - .withSequenceNumber(6191529865804043004L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchCondition() - .withProtocolTypes( - Arrays.asList("gxeegxbnjnczepd", "cymgbfmdquyyaes", "jxnavpyxqbkxdtb")) - .withVlanMatchCondition( - new VlanMatchCondition().withVlans(Arrays.asList("ainzkefkzlx", "coz")) - .withInnerVlans(Arrays.asList("eozlibcbn", "nz", "ysajvvqlhonyonel", "vgt")) - .withVlanGroupNames(Arrays.asList("kqjqjcaj", "of"))) - .withIpCondition( - new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("rvkxeojtdyulg", "helwruklfqfxs", - "xgogypbztgaexjns", "vctvuzimbwttm")) - .withIpGroupNames( - Arrays.asList("rycyx", "nwukfajnpdw", "jggkwdepem", "iayfiqiidxco"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) - .withLayer4Protocol(Layer4Protocol.TCP) - .withPorts(Arrays.asList("maihtnnlbhxjppcb", "et")) - .withPortGroupNames(Arrays.asList("ppvolzayjw", "unj", "mprklatwiuujxsuj"))), - new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("yvextch", "lroldowuwhdlrif", "ozttcbiich")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("sozodwjcfq", "yxryqyc", "mz", "lcfgdwzauzfdhe")) - .withInnerVlans(Arrays.asList("yciwzkil")) - .withVlanGroupNames(Arrays.asList("adfgesvzohabbriz", "adjrsbgailjqovqm"))) - .withIpCondition( - new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues(Arrays.asList("nkiu", "kgltsxooiobhieb")) - .withIpGroupNames( - Arrays.asList("tlsrvqzgaqsosrn", "lvgrghnhuoxrqhjn", "npesw"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("rttcuayiqylnkm", "xzifbqgqexowqzrt", "qrq")) - .withPortGroupNames(Arrays.asList("fy", "kuobpw", "inpgobothxiew", "pnyjtu"))), - new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("sbyujs", "omr", "humgr", "sdbvq")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("gfkgxbdpbcehwb", "psesboynpyt", "orrvk")) - .withInnerVlans(Arrays.asList("ctanetinqxdhnpj", "ezjigh")) - .withVlanGroupNames(Arrays.asList("l", "pmrzwvwetqf"))) - .withIpCondition( - new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("hngqqxjbsotocl", "rttujydeatwxp", "bx")) - .withIpGroupNames(Arrays.asList("xbboceksramqch", "ugfnlvvkswurxdq", - "vhauimnntfkqp", "qcnbnwivlqcwyzh"))) - .withEncapsulationType(EncapsulationType.NONE) - .withPortCondition(new PortCondition() - .withPortType(PortType.SOURCE_PORT) - .withLayer4Protocol(Layer4Protocol.SCTP) - .withPorts(Arrays.asList("qzmcsviuj")) - .withPortGroupNames(Arrays.asList("dvmsnaosxsx", "xvimdvetqhdb"))), - new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("ortwwyjm", "vrlhfxmrhjn", "h")) - .withVlanMatchCondition( - new VlanMatchCondition().withVlans(Arrays.asList("wkdywkszavuafan")) - .withInnerVlans(Arrays.asList("ctptplko", "sjbzvxpz")) - .withVlanGroupNames( - Arrays.asList("zuh", "gtiaczhfjdcc", "nyuvbtcuhjcgjt", "kntomnlz"))) - .withIpCondition( - new IpMatchCondition().withType(SourceDestinationType.DESTINATION_IP) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues(Arrays.asList("bzrrxeyvidcowlr")) - .withIpGroupNames(Arrays.asList("ctqxa"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withPortType(PortType.BIDIRECTIONAL) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("zecdlceirta", "tuwcimtcaumv", "udzpsjqrmlujmt", - "nlofwuzebfq")) - .withPortGroupNames( - Arrays.asList("jbhzyenf", "petxeudwkh", "lckdoxocjcdevzp"))))) - .withActions(Arrays.asList( - new NetworkTapRuleAction().withType(TapRuleActionType.REDIRECT) - .withTruncate("vwkryzgav") + Arrays + .asList( + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("tc") + .withSequenceNumber(5487574001297431022L) + .withIpAddressType(IpAddressType.IPV6) + .withMatchConditions( + Arrays + .asList( + new NetworkTapRuleMatchCondition() + .withProtocolTypes( + Arrays.asList("zk", "fzqnzbflbqmhbiyx", "vwe", "hag")) + .withVlanMatchCondition( + new VlanMatchCondition() + .withVlans(Arrays.asList("eseayuflms", "zzdcrolrz", "sb")) + .withInnerVlans(Arrays.asList("h", "kymunwjivtb")) + .withVlanGroupNames(Arrays.asList("bdjrd", "eujywdalisdeqngc", + "ydzin", "ooulpoz"))) + .withIpCondition(new IpMatchCondition() + .withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("rsi")) + .withIpGroupNames(Arrays.asList("bldpoiaffjkrtn", "revimxmaxcj"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition() + .withPortType(PortType.BIDIRECTIONAL) + .withLayer4Protocol(Layer4Protocol.TCP) + .withPorts( + Arrays.asList("rxrltqmmijgpq", "k", "naeikczscymqf", "xgwpq")) + .withPortGroupNames(Arrays.asList("mzapdokez"))), + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("le", "rswknpdrgnmza", "froefq")) + .withVlanMatchCondition(new VlanMatchCondition() + .withVlans( + Arrays.asList("vyrejyoy", "kqf", "usdwmnrtvvbucn", "rovomep")) + .withInnerVlans(Arrays.asList("icvwqzo", "sfshe", "nmsg")) + .withVlanGroupNames( + Arrays.asList("dibugvnrgalvwrhr", "ibrbknuubxc"))) + .withIpCondition(new IpMatchCondition() + .withType(SourceDestinationType.DESTINATION_IP) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("vnpyeevffifujgtd")) + .withIpGroupNames(Arrays.asList("xmwefcbybpc", "rtczwjcujyznvyrj", + "djlgkuirxxeuwii", "rcvnfg"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition( + new PortCondition().withPortType(PortType.SOURCE_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts( + Arrays.asList("dsoqtbfkvuo", "bzchnq", "k", "anklpu")) + .withPortGroupNames( + Arrays.asList("ydjhtkjserwi", "ndurdonkgobxbl"))), + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("hklqlii", "eanuwg")) + .withVlanMatchCondition(new VlanMatchCondition() + .withVlans(Arrays.asList("gijydg", "ebjuymtevaebzm")) + .withInnerVlans( + Arrays.asList("hrjkejvaedogz", "ugxbxxgjogcph", "v", "hrm")) + .withVlanGroupNames(Arrays.asList("fdvdoeary"))) + .withIpCondition( + new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues(Arrays.asList("trsyfezfsmyl")) + .withIpGroupNames(Arrays.asList("yyrwnmwtqi", "jk", + "nkynkstdtfw", "jfphfxaqjyih"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition( + new PortCondition().withPortType(PortType.BIDIRECTIONAL) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("txa", "fujdbqjnyexbvx", "xqqqas")) + .withPortGroupNames(Arrays.asList("oqftpvevt"))))) + .withActions(Arrays.asList(new NetworkTapRuleAction() + .withType(TapRuleActionType.LOG) + .withTruncate("osckfavhkhp") .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("mdfie") - .withMatchConfigurationName("iskyyyaekn"), - new NetworkTapRuleAction().withType(TapRuleActionType.DROP) - .withTruncate("shdawjlmlc") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("jiutfofhoajj") - .withMatchConfigurationName("syqyjnu"))), - new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("vlqq") - .withSequenceNumber(2330458650285600355L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList( - new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("nsbubwhzqqgugwlu")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("qmmkdhwqcqwebag", "fpkeph", "jeucosvkkeergvy")) - .withInnerVlans(Arrays.asList("pjpyillgnuee", "fpffbuqxknv", "cgmbg")) - .withVlanGroupNames(Arrays.asList("jfchicpare", "zoksgqhb", "ojuxil"))) - .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP) - .withPrefixType(PrefixType.PREFIX) - .withIpPrefixValues(Arrays.asList("l", "flj")) - .withIpGroupNames(Arrays.asList("b", "tsflotumbm"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withPortType(PortType.SOURCE_PORT) - .withLayer4Protocol(Layer4Protocol.UDP) - .withPorts(Arrays.asList("qtvuxeujmdssijua", "xfdlypkcpws", "qnnmjundt")) - .withPortGroupNames(Arrays.asList("ltjhb", "ycgqakcsihxvt", "cwwfopxp"))))) - .withActions(Arrays.asList( - new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) - .withTruncate("fgmuxuqiagskoik") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("hskxpa") - .withMatchConfigurationName("kgvnlfu"), - new NetworkTapRuleAction().withType(TapRuleActionType.REPLICATE) - .withTruncate("zibrlr") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("febpiucenbvrl") - .withMatchConfigurationName("dfkn"), - new NetworkTapRuleAction().withType(TapRuleActionType.COUNT) - .withTruncate("ilsxr") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("zlwrduxntpfxxgj") - .withMatchConfigurationName("yxfwfctq"), - new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) - .withTruncate("bkqynlzx") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("upjckiehdm") - .withMatchConfigurationName("o"))), - new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("xxxffgmcuanszee") - .withSequenceNumber(2393258009178106661L) - .withIpAddressType(IpAddressType.IPV6) - .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchCondition() - .withProtocolTypes(Arrays.asList("nbfvvcwvurkmj")) - .withVlanMatchCondition(new VlanMatchCondition() - .withVlans(Arrays.asList("vlnpbsotmynklnm", "znmtvrk")) - .withInnerVlans(Arrays.asList("wxizkstxneykei", "xutcbvriuvnfazx", "vsa")) - .withVlanGroupNames(Arrays.asList("eiivjq", "qtjwrvewojoq", "xqetxtdqius", "guz"))) - .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP) - .withPrefixType(PrefixType.LONGEST_PREFIX) - .withIpPrefixValues(Arrays.asList("qjhl")) - .withIpGroupNames( - Arrays.asList("zmjsisfqqhcmec", "gsbfeiirpnjy", "llfkchhgs", "uzzc"))) - .withEncapsulationType(EncapsulationType.GTPV1) - .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) - .withLayer4Protocol(Layer4Protocol.TCP) - .withPorts(Arrays.asList("sekijhminenkb", "vpyr")) - .withPortGroupNames(Arrays.asList("rlfqm", "j"))))) - .withActions(Arrays.asList( - new NetworkTapRuleAction().withType(TapRuleActionType.LOG) - .withTruncate("cyca") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("kkhdhpmkxdu") - .withMatchConfigurationName("xpuq"), - new NetworkTapRuleAction().withType(TapRuleActionType.DROP) - .withTruncate("qywsuarp") - .withIsTimestampEnabled(BooleanEnumProperty.TRUE) - .withDestinationId("hezxi") - .withMatchConfigurationName("syxbfjilb"), - new NetworkTapRuleAction().withType(TapRuleActionType.GOTO) - .withTruncate("couhwivkdfvjskn") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("epir") - .withMatchConfigurationName("cpiqdqbvxqtol"), - new NetworkTapRuleAction().withType(TapRuleActionType.REPLICATE) - .withTruncate("pvhcbtza") - .withIsTimestampEnabled(BooleanEnumProperty.FALSE) - .withDestinationId("cont") - .withMatchConfigurationName("kfki"))))) - .withDynamicMatchConfigurations(Arrays.asList( - new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList(new IpGroupProperties().withName("sg") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("bjwvrudm", "wewpmioleajabe", "g")))) - .withVlanGroups(Arrays.asList( - new VlanGroupProperties().withName("hbj") - .withVlans(Arrays.asList("ecmbaaj", "fwrdkql", "zkfekdesb")), - new VlanGroupProperties().withName("qtllbhjjpduibs") - .withVlans(Arrays.asList("qnneqrypyurvs", "hovtuercp", "hbwcxybtdzycx")))) - .withPortGroups(Arrays.asList( - new PortGroupProperties().withName("gjzgpljbnwczsr") - .withPorts(Arrays.asList("bybicqhxhj", "uapasizzfmugykw", "ycuotennd", "gthdzi")), - new PortGroupProperties().withName("zffpherwj").withPorts(Arrays.asList("wtwona")), - new PortGroupProperties().withName("zmzxvfybxmmrvnu") - .withPorts(Arrays.asList("rrsguogk")))), - new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList( - new IpGroupProperties().withName("tpyabensjflwp") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("tmvifgcv", "im")), - new IpGroupProperties().withName("bmticxgosnxajp") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("zxaoxlhmvjcnnls", "nucqxhpaqo", "bvejo")), - new IpGroupProperties().withName("oxovlz") - .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("dkqdlq", "hntqrykkxakruup", "iicgvpz", "yxccnpxie")), - new IpGroupProperties().withName("cmz") + .withDestinationId("eifdyfa") + .withMatchConfigurationName("xnguwn"), + new NetworkTapRuleAction().withType(TapRuleActionType.REDIRECT) + .withTruncate("zlaihsujtg") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("zam") + .withMatchConfigurationName("xejpd"), + new NetworkTapRuleAction() + .withType(TapRuleActionType.REPLICATE) + .withTruncate("wzu") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("lrnhhjtvhqsz") + .withMatchConfigurationName("yovqmqcudptoqwr"))), + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("ckjt") + .withSequenceNumber(6772196574767464341L) .withIpAddressType(IpAddressType.IPV4) - .withIpPrefixes(Arrays.asList("snnbrys", "ktfmocnq", "blrtbofzghfuif")))) - .withVlanGroups(Arrays.asList( - new VlanGroupProperties().withName("ynohocqxug") - .withVlans(Arrays.asList("gdcrrfbpl", "hmhurosdjlzb")), - new VlanGroupProperties().withName("ddg") - .withVlans(Arrays.asList("uyaorservpv", "sorsbegcl", "ex")), - new VlanGroupProperties().withName("jqzyhzydy") - .withVlans(Arrays.asList("qvirluns", "kydigt", "jx")))) - .withPortGroups(Arrays.asList( - new PortGroupProperties().withName("vje").withPorts(Arrays.asList("chxzj", "cwuzs")), - new PortGroupProperties().withName("fyixe") - .withPorts(Arrays.asList("sjnf", "ngxaojeeyv", "xbfckmoal", "axvwxtxuzh")), - new PortGroupProperties().withName("jyffwflbkjc") - .withPorts(Arrays.asList("iyg", "cyzcjefpubaldj", "gldry", "lrlkbh")))))) - .withPollingIntervalInSeconds(719979289) + .withMatchConditions(Arrays.asList( + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("ebckcesrsixwnlpj", "xbj")) + .withVlanMatchCondition(new VlanMatchCondition() + .withVlans(Arrays.asList("qyyfrridzfpsfyak")) + .withInnerVlans( + Arrays.asList("hmlxrqkekn", "mkqafzvptriy", "jrgtruwpuqpsrce")) + .withVlanGroupNames(Arrays.asList("voydwedggwgc", "vbwa", "zadrjbjngoar"))) + .withIpCondition( + new IpMatchCondition().withType(SourceDestinationType.DESTINATION_IP) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("zcyniapy")) + .withIpGroupNames( + Arrays.asList("rxirq", "ipzesstu", "nytkmlfupjzc", "xvzjoyxj"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.SCTP) + .withPorts(Arrays.asList("jjxumowynjmoozm", "uktdrsjtmnkxjouw", + "zcfdtstiaxtyrnu", "cfhep")) + .withPortGroupNames(Arrays.asList("bcmlroiommems", "q", "blcyeqdobobaq"))), + new NetworkTapRuleMatchCondition() + .withProtocolTypes(Arrays.asList("zhlutjsjzels", "iemv", "pmeakosysycv")) + .withVlanMatchCondition(new VlanMatchCondition() + .withVlans(Arrays.asList("hcbsaipusuo", "kegbvbbdledf")) + .withInnerVlans( + Arrays.asList("vsluazzxfjv", "ugpxzeempup", "scboxra", "dczmrjgobekx")) + .withVlanGroupNames(Arrays.asList("owsecaf", "rzzbs"))) + .withIpCondition( + new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues(Arrays.asList("bmseesacuicnvq")) + .withIpGroupNames(Arrays.asList("u", "vmrfaptndrmmn"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.SCTP) + .withPorts(Arrays.asList("aktnytkb", "erfcv", "pvfqjckmpwyv", "hnhhcikh")) + .withPortGroupNames( + Arrays.asList("gjgylsacagifl", "cygotohzwtoidh", "xitr"))), + new NetworkTapRuleMatchCondition().withProtocolTypes(Arrays.asList("ynoy")) + .withVlanMatchCondition( + new VlanMatchCondition().withVlans(Arrays.asList("smsbnlyoifg")) + .withInnerVlans(Arrays.asList("jqthykcvoevcw", "zotkx", "lwwooxgbsd")) + .withVlanGroupNames(Arrays.asList("cvypjhubd", "gobxehujcqg"))) + .withIpCondition( + new IpMatchCondition().withType(SourceDestinationType.BIDIRECTIONAL) + .withPrefixType(PrefixType.LONGEST_PREFIX) + .withIpPrefixValues(Arrays.asList("oibm", "klqrljdc")) + .withIpGroupNames( + Arrays.asList("laxrji", "oqovqhgphgxuwudg", "yqruvumryddnqiva"))) + .withEncapsulationType(EncapsulationType.GTPV1) + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.UDP) + .withPorts(Arrays.asList("ekcdavi")) + .withPortGroupNames(Arrays.asList("eqrfzavqymcwts", "uceplbrzgkuorwp", "b", + "tweobptscruykkie"))), + new NetworkTapRuleMatchCondition() + .withProtocolTypes( + Arrays.asList("derkrgs", "cobpmgqlwy", "znbbyzposzfut", "pbygbnbcmoiq")) + .withVlanMatchCondition(new VlanMatchCondition() + .withVlans(Arrays.asList("vqewflw", "hxzuxerxhyw", "rkqsqvvdkfpfjda")) + .withInnerVlans( + Arrays.asList("xymxxyfrd", "idcetfvgwfwsldi", "wouppvyddq", "vclrsn")) + .withVlanGroupNames(Arrays.asList("p", "wwqclmdmtfxxepz"))) + .withIpCondition( + new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP) + .withPrefixType(PrefixType.PREFIX) + .withIpPrefixValues( + Arrays.asList("fxaitiq", "cj", "smkir", "qnipudmhkco")) + .withIpGroupNames(Arrays.asList("bwke", "zltenlbfxl", "xozesn"))) + .withEncapsulationType(EncapsulationType.NONE) + .withPortCondition(new PortCondition().withPortType(PortType.DESTINATION_PORT) + .withLayer4Protocol(Layer4Protocol.TCP) + .withPorts(Arrays.asList("bp")) + .withPortGroupNames(Arrays.asList("iyoypoedkspwwibp", "bqeigxuyxsxteuik", + "znfffnhcgnaqsrm"))))) + .withActions(Arrays.asList( + new NetworkTapRuleAction().withType(TapRuleActionType.REPLICATE) + .withTruncate("txjbrixy") + .withIsTimestampEnabled(BooleanEnumProperty.FALSE) + .withDestinationId("kk") + .withMatchConfigurationName("vurhwishyfmrz"), + new NetworkTapRuleAction().withType(TapRuleActionType.LOG) + .withTruncate("vnkyakck") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("gns") + .withMatchConfigurationName("jkk"), + new NetworkTapRuleAction().withType(TapRuleActionType.MIRROR) + .withTruncate("suaz") + .withIsTimestampEnabled(BooleanEnumProperty.TRUE) + .withDestinationId("n") + .withMatchConfigurationName("xgxumtcqxmyvk"))))) + .withDynamicMatchConfigurations( + Arrays + .asList( + new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList( + new IpGroupProperties().withName("v") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("g", "hvpsuwichm")), + new IpGroupProperties().withName("zbyfkoc") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays + .asList("tsn", "wscrngtwgxrolw", "plksdksutacucti", "avishbvjhxvpmqqu")), + new IpGroupProperties() + .withName("xlphngrxle") + .withIpAddressType(IpAddressType.IPV4) + .withIpPrefixes(Arrays.asList("rocrqicgymtgbq", "fy", "vhtvijvwmrg")))) + .withVlanGroups(Arrays.asList(new VlanGroupProperties() + .withName("rpl") + .withVlans(Arrays.asList("mbzquu", "tqmh", "tqyzyc")), + new VlanGroupProperties().withName("mbky") + .withVlans(Arrays.asList("jdqosxzmdzlybqfu", "kekz", "ki", "xh")), + new VlanGroupProperties().withName("vmnkgghvsryjok") + .withVlans(Arrays.asList("vbjsarxsvmfp")), + new VlanGroupProperties().withName("wbpzgfgqp") + .withVlans(Arrays.asList("gxgieabbfp")))) + .withPortGroups(Arrays.asList( + new PortGroupProperties().withName("lozukgs") + .withPorts(Arrays.asList("wyxjsfmaxcebnbeo")), + new PortGroupProperties().withName("emqqerwqx") + .withPorts(Arrays.asList("v", "mdfkhttuobr", "zmhytebjkjgee")))), + new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList(new IpGroupProperties().withName("mabvbmnhtwofxf") + .withIpAddressType(IpAddressType.IPV6) + .withIpPrefixes(Arrays.asList("qnsl", "qrmlq", "iekhjgqq", "ugwespscvsmsp")))) + .withVlanGroups(Arrays.asList( + new VlanGroupProperties().withName("ozfvza") + .withVlans(Arrays.asList("cv", "gx", "vwio", "hcmcgm")), + new VlanGroupProperties().withName("pnvqxuyiarznhdq") + .withVlans(Arrays.asList("pdlmajpuyxoafrmz")))) + .withPortGroups(Arrays.asList( + new PortGroupProperties().withName("nbuvms") + .withPorts(Arrays.asList("edmmvoneeyr", "parxtzayq")), + new PortGroupProperties().withName("digeb") + .withPorts(Arrays.asList("lzdssi", "wveeozbjkj", "p")))))) + .withPollingIntervalInSeconds(30335586) .withGlobalNetworkTapRuleActions( new GlobalNetworkTapRuleActionProperties().withEnableCount(BooleanEnumProperty.FALSE) - .withTruncate("sjlmykd")); + .withTruncate("ubnkn")); model = BinaryData.fromObject(model).toObject(NetworkTapRuleProperties.class); - Assertions.assertEquals("m", model.annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, model.configurationType()); - Assertions.assertEquals("mslub", model.tapRulesUrl()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + Assertions.assertEquals("vkbcbptwyb", model.annotation()); + Assertions.assertEquals(ConfigurationType.FILE, model.configurationType()); + Assertions.assertEquals("cuhp", model.tapRulesUrl()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.identitySelector().identityType()); - Assertions.assertEquals("fuysjhv", model.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("fswarmybw", model.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(3797409761848661333L, model.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("nsshvqnpszbe", model.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("tc", model.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5487574001297431022L, model.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals("xgofq", + Assertions.assertEquals("zk", model.matchConfigurations().get(0).matchConditions().get(0).protocolTypes().get(0)); - Assertions.assertEquals("p", + Assertions.assertEquals("eseayuflms", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlans().get(0)); - Assertions.assertEquals("exmizzjxwjoqfzw", + Assertions.assertEquals("h", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().innerVlans().get(0)); - Assertions.assertEquals("uhduwdvol", + Assertions.assertEquals("bdjrd", model.matchConfigurations().get(0).matchConditions().get(0).vlanMatchCondition().vlanGroupNames().get(0)); - Assertions.assertEquals(SourceDestinationType.DESTINATION_IP, + Assertions.assertEquals(SourceDestinationType.BIDIRECTIONAL, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().type()); Assertions.assertEquals(PrefixType.PREFIX, model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().prefixType()); - Assertions.assertEquals("azhvchvvo", + Assertions.assertEquals("rsi", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipPrefixValues().get(0)); - Assertions.assertEquals("vcebspcir", + Assertions.assertEquals("bldpoiaffjkrtn", model.matchConfigurations().get(0).matchConditions().get(0).ipCondition().ipGroupNames().get(0)); - Assertions.assertEquals(EncapsulationType.GTPV1, + Assertions.assertEquals(EncapsulationType.NONE, model.matchConfigurations().get(0).matchConditions().get(0).encapsulationType()); - Assertions.assertEquals(PortType.DESTINATION_PORT, + Assertions.assertEquals(PortType.BIDIRECTIONAL, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portType()); Assertions.assertEquals(Layer4Protocol.TCP, model.matchConfigurations().get(0).matchConditions().get(0).portCondition().layer4Protocol()); - Assertions.assertEquals("wwcbfnxiaj", + Assertions.assertEquals("rxrltqmmijgpq", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().ports().get(0)); - Assertions.assertEquals("xnfyzgu", + Assertions.assertEquals("mzapdokez", model.matchConfigurations().get(0).matchConditions().get(0).portCondition().portGroupNames().get(0)); - Assertions.assertEquals(TapRuleActionType.REDIRECT, model.matchConfigurations().get(0).actions().get(0).type()); - Assertions.assertEquals("vbqy", model.matchConfigurations().get(0).actions().get(0).truncate()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals(TapRuleActionType.LOG, model.matchConfigurations().get(0).actions().get(0).type()); + Assertions.assertEquals("osckfavhkhp", model.matchConfigurations().get(0).actions().get(0).truncate()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.matchConfigurations().get(0).actions().get(0).isTimestampEnabled()); - Assertions.assertEquals("irpiiuvcqoqkqw", model.matchConfigurations().get(0).actions().get(0).destinationId()); - Assertions.assertEquals("qsdgbxcw", - model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); - Assertions.assertEquals("sg", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); + Assertions.assertEquals("eifdyfa", model.matchConfigurations().get(0).actions().get(0).destinationId()); + Assertions.assertEquals("xnguwn", model.matchConfigurations().get(0).actions().get(0).matchConfigurationName()); + Assertions.assertEquals("v", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).name()); Assertions.assertEquals(IpAddressType.IPV4, model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipAddressType()); - Assertions.assertEquals("bjwvrudm", - model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); - Assertions.assertEquals("hbj", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); - Assertions.assertEquals("ecmbaaj", - model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); - Assertions.assertEquals("gjzgpljbnwczsr", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); - Assertions.assertEquals("bybicqhxhj", + Assertions.assertEquals("g", model.dynamicMatchConfigurations().get(0).ipGroups().get(0).ipPrefixes().get(0)); + Assertions.assertEquals("rpl", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).name()); + Assertions.assertEquals("mbzquu", model.dynamicMatchConfigurations().get(0).vlanGroups().get(0).vlans().get(0)); + Assertions.assertEquals("lozukgs", model.dynamicMatchConfigurations().get(0).portGroups().get(0).name()); + Assertions.assertEquals("wyxjsfmaxcebnbeo", model.dynamicMatchConfigurations().get(0).portGroups().get(0).ports().get(0)); - Assertions.assertEquals(719979289, model.pollingIntervalInSeconds()); + Assertions.assertEquals(30335586, model.pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.FALSE, model.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("sjlmykd", model.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("ubnkn", model.globalNetworkTapRuleActions().truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateMockTests.java index 4a9d261a96c2a..97d8a71bfcd89 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesCreateMockTests.java @@ -40,7 +40,7 @@ public final class NetworkTapRulesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"sziuhm\",\"configurationType\":\"File\",\"tapRulesUrl\":\"hupoeljf\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"oxajitaaw\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"qq\",\"sequenceNumber\":4761582517033287789,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"rymtgtn\",\"sequenceNumber\":5806483556841156945,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"od\",\"sequenceNumber\":3330448251199840137,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{},{}]}],\"networkTapId\":\"enkuyomb\",\"networkTapIds\":[\"yobuih\",\"rvoko\",\"rpyxkzxrmm\"],\"pollingIntervalInSeconds\":2061678344,\"lastSyncedTime\":\"2021-12-05T19:08:24Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"xoubekafdxgtgcfk\"},\"lastOperation\":{\"details\":\"u\"},\"networkFabricIds\":[\"tlk\"],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"txsuxvjj\",\"tenantId\":\"wysrsw\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"odnxlcdgkcufanc\":{\"principalId\":\"zwebtskmqka\",\"clientId\":\"xjudyv\"},\"ia\":{\"principalId\":\"krskzwuubafqzi\",\"clientId\":\"vwjqjwv\"},\"uuwehntjssjbpnat\":{\"principalId\":\"qjzvivwd\",\"clientId\":\"tcfulmzxhgwzbyst\"},\"ujqyeyzoivi\":{\"principalId\":\"mvqichz\",\"clientId\":\"jityjznpryo\"}}},\"location\":\"nihmwvhc\",\"tags\":{\"djc\":\"uasutdhmilhzy\"},\"id\":\"un\",\"name\":\"dadyrhmpokfxcbb\",\"type\":\"mxgajyracelnlwg\"}"; + = "{\"properties\":{\"annotation\":\"rihcamg\",\"configurationType\":\"File\",\"tapRulesUrl\":\"vkttiteb\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"moadjooernzlzzmy\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"q\",\"sequenceNumber\":5611771652160309611,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"xqx\",\"sequenceNumber\":2778275686863391110,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"vskpbuoc\",\"sequenceNumber\":5038089617575369904,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"fgjjcaaocepp\",\"sequenceNumber\":7703331559600036085,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{}]}],\"networkTapId\":\"phozymcypdbuo\",\"networkTapIds\":[\"tlz\",\"gidgwscosmhgza\",\"cgdk\",\"yavfc\"],\"pollingIntervalInSeconds\":1813343328,\"lastSyncedTime\":\"2021-11-01T18:56:53Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"qdgzbjbb\"},\"lastOperation\":{\"details\":\"dctdlkucx\"},\"networkFabricIds\":[\"fso\"],\"configurationState\":\"Accepted\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"},\"identity\":{\"principalId\":\"m\",\"tenantId\":\"spsbgxpn\",\"type\":\"None\",\"userAssignedIdentities\":{\"tdwxroam\":{\"principalId\":\"iaflxoxwndf\",\"clientId\":\"joxgalcyflzu\"},\"zbbwtagxhrir\":{\"principalId\":\"p\",\"clientId\":\"pwwarz\"},\"eqs\":{\"principalId\":\"jizuky\",\"clientId\":\"wlyjdbsxjx\"}}},\"location\":\"rolagbellp\",\"tags\":{\"sndfr\":\"brsmy\",\"ystohu\":\"hgowhnvcqhmuv\",\"phnxxwble\":\"ktodeertyijlvc\"},\"id\":\"bdkwzbkhvlsahj\",\"name\":\"ebw\",\"type\":\"qnluszilkrcpxl\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -49,60 +49,68 @@ public void testCreate() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - NetworkTapRule response = manager.networkTapRules() - .define("f") - .withRegion("akdtgpnyub") - .withExistingResourceGroup("fbrsmyisndf") - .withConfigurationType(ConfigurationType.INLINE) - .withTags(mapOf("wv", "myewbfo", "njbahxyfdd", "etj", "ixawipjracyx", "btksrdjhqcrmptj", "zrcqdvapohemin", - "zadflvbkhg")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("kgfzbykapmeomcp", new UserAssignedIdentity()))) - .withAnnotation("owhnvcqhmuvg") - .withTapRulesUrl("ohurkt") - .withIdentitySelector( - new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("rtyijlvcmp")) - .withMatchConfigurations( - Arrays.asList(new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("wbledbdkwzbkhvl") - .withSequenceNumber(4436388630444784950L) - .withIpAddressType(IpAddressType.IPV4) - .withMatchConditions( - Arrays.asList(new NetworkTapRuleMatchCondition(), new NetworkTapRuleMatchCondition(), - new NetworkTapRuleMatchCondition(), new NetworkTapRuleMatchCondition())) - .withActions(Arrays.asList(new NetworkTapRuleAction(), new NetworkTapRuleAction(), - new NetworkTapRuleAction(), new NetworkTapRuleAction())))) - .withDynamicMatchConfigurations(Arrays.asList( - new CommonDynamicMatchConfiguration().withIpGroups(Arrays.asList(new IpGroupProperties())) - .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties())) - .withPortGroups(Arrays.asList(new PortGroupProperties(), new PortGroupProperties())), - new CommonDynamicMatchConfiguration() - .withIpGroups(Arrays.asList(new IpGroupProperties(), new IpGroupProperties())) - .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties(), - new VlanGroupProperties(), new VlanGroupProperties())) - .withPortGroups(Arrays.asList(new PortGroupProperties(), new PortGroupProperties(), - new PortGroupProperties(), new PortGroupProperties())))) - .withPollingIntervalInSeconds(2056314585) - .withGlobalNetworkTapRuleActions( - new GlobalNetworkTapRuleActionProperties().withEnableCount(BooleanEnumProperty.FALSE) - .withTruncate("tyarpeyigfdp")) - .create(); + NetworkTapRule response + = manager.networkTapRules() + .define("kuovwiwtykpr") + .withRegion("v") + .withExistingResourceGroup("gsva") + .withConfigurationType(ConfigurationType.FILE) + .withTags(mapOf("y", "vzywimmmmgbynv", "fqznvahpxdgyho", "dtv", "ptxvxf", "x")) + .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf("th", new UserAssignedIdentity(), "nsvjctytyt", new UserAssignedIdentity()))) + .withAnnotation("dbe") + .withTapRulesUrl("hfszmxposmqscvy") + .withIdentitySelector( + new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("pdleesljujpsubxg")) + .withMatchConfigurations(Arrays.asList( + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("vkniqoqyrcpsje") + .withSequenceNumber(234104766064256674L) + .withIpAddressType(IpAddressType.IPV6) + .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchCondition())) + .withActions(Arrays.asList(new NetworkTapRuleAction(), new NetworkTapRuleAction())), + new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("luchbfrta") + .withSequenceNumber(4332991894507356100L) + .withIpAddressType(IpAddressType.IPV6) + .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchCondition())) + .withActions(Arrays.asList(new NetworkTapRuleAction(), new NetworkTapRuleAction())))) + .withDynamicMatchConfigurations(Arrays.asList( + new CommonDynamicMatchConfiguration().withIpGroups(Arrays.asList(new IpGroupProperties())) + .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties(), + new VlanGroupProperties())) + .withPortGroups(Arrays.asList(new PortGroupProperties(), new PortGroupProperties(), + new PortGroupProperties())), + new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList(new IpGroupProperties(), new IpGroupProperties())) + .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties())) + .withPortGroups(Arrays.asList(new PortGroupProperties(), new PortGroupProperties(), + new PortGroupProperties(), new PortGroupProperties())), + new CommonDynamicMatchConfiguration() + .withIpGroups(Arrays.asList(new IpGroupProperties(), new IpGroupProperties())) + .withVlanGroups(Arrays.asList(new VlanGroupProperties(), new VlanGroupProperties())) + .withPortGroups(Arrays.asList(new PortGroupProperties())))) + .withPollingIntervalInSeconds(1117329546) + .withGlobalNetworkTapRuleActions( + new GlobalNetworkTapRuleActionProperties().withEnableCount(BooleanEnumProperty.FALSE) + .withTruncate("etjiudc")) + .create(); - Assertions.assertEquals("nihmwvhc", response.location()); - Assertions.assertEquals("uasutdhmilhzy", response.tags().get("djc")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("sziuhm", response.annotation()); + Assertions.assertEquals("rolagbellp", response.location()); + Assertions.assertEquals("brsmy", response.tags().get("sndfr")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("rihcamg", response.annotation()); Assertions.assertEquals(ConfigurationType.FILE, response.configurationType()); - Assertions.assertEquals("hupoeljf", response.tapRulesUrl()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, + Assertions.assertEquals("vkttiteb", response.tapRulesUrl()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, response.identitySelector().identityType()); - Assertions.assertEquals("oxajitaaw", response.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("qq", response.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(4761582517033287789L, response.matchConfigurations().get(0).sequenceNumber()); - Assertions.assertEquals(IpAddressType.IPV4, response.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(2061678344, response.pollingIntervalInSeconds()); + Assertions.assertEquals("moadjooernzlzzmy", response.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("q", response.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5611771652160309611L, response.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals(IpAddressType.IPV6, response.matchConfigurations().get(0).ipAddressType()); + Assertions.assertEquals(1813343328, response.pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.TRUE, response.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("xoubekafdxgtgcfk", response.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("qdgzbjbb", response.globalNetworkTapRuleActions().truncate()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupWithResponseMockTests.java index b2777adda7d4d..8ca704628dd39 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesGetByResourceGroupWithResponseMockTests.java @@ -26,7 +26,7 @@ public final class NetworkTapRulesGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"qwutbyaeyyiw\",\"configurationType\":\"File\",\"tapRulesUrl\":\"wpdmexugdjdmwc\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"onridhwoyznjdd\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"lomvxvipuo\",\"sequenceNumber\":5766492833755362133,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{}]},{\"matchConfigurationName\":\"ydj\",\"sequenceNumber\":5026175360069810154,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{}]},{\"matchConfigurationName\":\"ftszswvyighj\",\"sequenceNumber\":6135814047212485583,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{},{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{},{}]}],\"networkTapId\":\"qzkzworuhhvdeodc\",\"networkTapIds\":[\"fxbkgpnx\"],\"pollingIntervalInSeconds\":1692679025,\"lastSyncedTime\":\"2021-09-20T04:37:39Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"klhwutyuv\"},\"lastOperation\":{\"details\":\"trfziubeflv\"},\"networkFabricIds\":[\"bmceplnukdawgzhb\",\"hjvonuhvyg\"],\"configurationState\":\"Rejected\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"coth\",\"tenantId\":\"xjc\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"dwhwd\":{\"principalId\":\"xebmliyrctfaa\",\"clientId\":\"ukraq\"},\"cuyffkay\":{\"principalId\":\"ntqsrhacjsbpdhj\",\"clientId\":\"fnbiyxq\"}}},\"location\":\"ljtrmlxrqllug\",\"tags\":{\"lpvp\":\"bwdkziwwbqukjith\",\"shhcktbfmtbprt\":\"vceiwc\",\"qbwgmznvlwcn\":\"vuxwuepjcugwku\"},\"id\":\"hqkie\",\"name\":\"qpubwz\",\"type\":\"xetxzcjrb\"}"; + = "{\"properties\":{\"annotation\":\"rrptblsatakz\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"fx\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"eyv\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"mjies\",\"sequenceNumber\":5353271479467920948,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{}]}],\"networkTapId\":\"refifbislj\",\"networkTapIds\":[\"qj\",\"frmqevgcbrmmw\",\"euyohjhpxjlgi\"],\"pollingIntervalInSeconds\":42772530,\"lastSyncedTime\":\"2021-10-01T13:38:29Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"qeqfxzcxvp\"},\"lastOperation\":{\"details\":\"tkdit\"},\"networkFabricIds\":[\"k\",\"fdeeppycwsyqx\",\"owfnsyyeytr\",\"yojhmgvmeemjazql\"],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"a\",\"tenantId\":\"holkoyxmspud\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"gzi\":{\"principalId\":\"unrqvupjxs\",\"clientId\":\"qzdfjwo\"},\"epgdd\":{\"principalId\":\"moftilhoye\",\"clientId\":\"w\"}}},\"location\":\"cdtkv\",\"tags\":{\"hsxtryyrvwmmuo\":\"fcqmfvzub\",\"ts\":\"turdhnnmhrizwm\",\"pgqxekbv\":\"gqztnbvueizu\",\"yeigngrzvegxmx\":\"xyumqoqwvtby\"},\"id\":\"nhqxzewlwwdmpvpc\",\"name\":\"ccov\",\"type\":\"kwhdtfjvfct\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,23 +36,23 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkTapRule response = manager.networkTapRules() - .getByResourceGroupWithResponse("otaoaixi", "cwyinfywtqvjno", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("hdlwlehhqxy", "lbk", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ljtrmlxrqllug", response.location()); - Assertions.assertEquals("bwdkziwwbqukjith", response.tags().get("lpvp")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("qwutbyaeyyiw", response.annotation()); - Assertions.assertEquals(ConfigurationType.FILE, response.configurationType()); - Assertions.assertEquals("wpdmexugdjdmwc", response.tapRulesUrl()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, + Assertions.assertEquals("cdtkv", response.location()); + Assertions.assertEquals("fcqmfvzub", response.tags().get("hsxtryyrvwmmuo")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type()); + Assertions.assertEquals("rrptblsatakz", response.annotation()); + Assertions.assertEquals(ConfigurationType.INLINE, response.configurationType()); + Assertions.assertEquals("fx", response.tapRulesUrl()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, response.identitySelector().identityType()); - Assertions.assertEquals("onridhwoyznjdd", response.identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("lomvxvipuo", response.matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(5766492833755362133L, response.matchConfigurations().get(0).sequenceNumber()); + Assertions.assertEquals("eyv", response.identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("mjies", response.matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(5353271479467920948L, response.matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, response.matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(1692679025, response.pollingIntervalInSeconds()); + Assertions.assertEquals(42772530, response.pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.FALSE, response.globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("klhwutyuv", response.globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("qeqfxzcxvp", response.globalNetworkTapRuleActions().truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupMockTests.java index aa15ca26b8e24..a5fcbfb2993bb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListByResourceGroupMockTests.java @@ -27,7 +27,7 @@ public final class NetworkTapRulesListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"beoofo\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"hunewkssxpnh\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"rjcfyvkk\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"xlonz\",\"sequenceNumber\":2631497632018551310,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"ghdn\",\"sequenceNumber\":6521063886444305376,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"txhpxdvrajog\",\"sequenceNumber\":6307621477114114454,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{}]}],\"networkTapId\":\"vuqbageltffqalmc\",\"networkTapIds\":[\"pzwwtcwbgmx\",\"pynslc\",\"yvmizx\",\"mhhqw\"],\"pollingIntervalInSeconds\":1262297438,\"lastSyncedTime\":\"2021-07-21T17:55:47Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"mhzlla\"},\"lastOperation\":{\"details\":\"sdnfppkyk\"},\"networkFabricIds\":[\"cyfubg\",\"mlnjdaxi\",\"hulvpnqvcutwngfd\"],\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"MAT\"},\"identity\":{\"principalId\":\"okpfyojfwvmsf\",\"tenantId\":\"yxt\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"heicexdxhxp\":{\"principalId\":\"zhqgmoexg\",\"clientId\":\"ugsas\"},\"ktiojitfa\":{\"principalId\":\"cstynjxfn\",\"clientId\":\"rofwctjhdbidl\"},\"fvoskwujh\":{\"principalId\":\"pxvetdr\",\"clientId\":\"tsorwtaknylxr\"},\"aqypjcpdt\":{\"principalId\":\"xxekzysactfimc\",\"clientId\":\"gtwpzqtimqics\"}}},\"location\":\"fpjkxkujwntnfoqw\",\"tags\":{\"dpy\":\"raxbeamipnsy\",\"rzzqfbo\":\"pipslcfw\"},\"id\":\"ifghdgsyhncxoqxt\",\"name\":\"zdp\",\"type\":\"lgllvko\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"bnktgotddydbate\",\"configurationType\":\"File\",\"tapRulesUrl\":\"colnaerwsd\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"n\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"pmvnzhdsa\",\"sequenceNumber\":4013802196304413352,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"uhz\",\"sequenceNumber\":3152119785904133345,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"lmdosiyzfdcczk\",\"sequenceNumber\":6252987242037768750,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{},{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{},{}]}],\"networkTapId\":\"akou\",\"networkTapIds\":[\"cwdqilzogilgrq\",\"w\",\"pwhfybflrpvcgq\",\"xeksghpsqvui\"],\"pollingIntervalInSeconds\":97127792,\"lastSyncedTime\":\"2021-07-29T14:46:12Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"kxxnqrqd\"},\"lastOperation\":{\"details\":\"tpvw\"},\"networkFabricIds\":[\"s\",\"i\",\"vpagwohkromzs\",\"emlozjyovrllv\"],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"zthf\",\"tenantId\":\"psalynanmwzp\",\"type\":\"None\",\"userAssignedIdentities\":{\"zknkffzdy\":{\"principalId\":\"rzfrx\",\"clientId\":\"orqliblybxi\"}}},\"location\":\"ni\",\"tags\":{\"fwebiwxmcsxid\":\"ofdedlmfwabf\"},\"id\":\"zslw\",\"name\":\"uyik\",\"type\":\"dcilinbuok\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,28 +37,26 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.networkTapRules().listByResourceGroup("qcwnbx", com.azure.core.util.Context.NONE); + = manager.networkTapRules().listByResourceGroup("fujdapcmga", com.azure.core.util.Context.NONE); - Assertions.assertEquals("fpjkxkujwntnfoqw", response.iterator().next().location()); - Assertions.assertEquals("raxbeamipnsy", response.iterator().next().tags().get("dpy")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, - response.iterator().next().identity().type()); - Assertions.assertEquals("beoofo", response.iterator().next().annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, response.iterator().next().configurationType()); - Assertions.assertEquals("hunewkssxpnh", response.iterator().next().tapRulesUrl()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, + Assertions.assertEquals("ni", response.iterator().next().location()); + Assertions.assertEquals("ofdedlmfwabf", response.iterator().next().tags().get("fwebiwxmcsxid")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.iterator().next().identity().type()); + Assertions.assertEquals("bnktgotddydbate", response.iterator().next().annotation()); + Assertions.assertEquals(ConfigurationType.FILE, response.iterator().next().configurationType()); + Assertions.assertEquals("colnaerwsd", response.iterator().next().tapRulesUrl()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, response.iterator().next().identitySelector().identityType()); - Assertions.assertEquals("rjcfyvkk", - response.iterator().next().identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("xlonz", + Assertions.assertEquals("n", response.iterator().next().identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("pmvnzhdsa", response.iterator().next().matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(2631497632018551310L, + Assertions.assertEquals(4013802196304413352L, response.iterator().next().matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, response.iterator().next().matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(1262297438, response.iterator().next().pollingIntervalInSeconds()); + Assertions.assertEquals(97127792, response.iterator().next().pollingIntervalInSeconds()); Assertions.assertEquals(BooleanEnumProperty.TRUE, response.iterator().next().globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("mhzlla", response.iterator().next().globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("kxxnqrqd", response.iterator().next().globalNetworkTapRuleActions().truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListMockTests.java index d782704ffc455..2f56260a4265c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListMockTests.java @@ -27,7 +27,7 @@ public final class NetworkTapRulesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"osoxxoqyikdjaog\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"xqxvmyb\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"rlfnsdcc\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"h\",\"sequenceNumber\":7863229487440185713,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{}]},{\"matchConfigurationName\":\"mzkxrqzgshqx\",\"sequenceNumber\":8976657734193947009,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{}]},{\"matchConfigurationName\":\"imhoaqjalhlpzn\",\"sequenceNumber\":6573925024172789161,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{}]}],\"networkTapId\":\"yadyfnxtlln\",\"networkTapIds\":[\"d\",\"svaekuovwiwty\",\"pr\",\"ddbenfjhfszmxpos\"],\"pollingIntervalInSeconds\":440863677,\"lastSyncedTime\":\"2021-11-22T18:26:05Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"pdleesljujpsubxg\"},\"lastOperation\":{\"details\":\"mvkni\"},\"networkFabricIds\":[\"yrc\"],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"csbkmaluchbfrtaj\",\"tenantId\":\"ddyqdxpnzpuk\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"nzl\":{\"principalId\":\"itxsyufexivhjyx\",\"clientId\":\"wtkqofrkfccqj\"},\"ozbdwflxdwl\":{\"principalId\":\"azy\",\"clientId\":\"jbvqaey\"},\"jlmstakgrebecxuu\":{\"principalId\":\"taieledmiupddlet\",\"clientId\":\"udcoktsgcy\"},\"tjx\":{\"principalId\":\"ukluukxejamyc\",\"clientId\":\"wrv\"}}},\"location\":\"txvmbedvvmrtnmg\",\"tags\":{\"lzwz\":\"zaaiih\",\"vooaacefxonsv\":\"lbpmpletheknbnam\",\"mmmmgbynvoy\":\"ctytytyrvtuxvzyw\",\"fqznvahpxdgyho\":\"dtv\"},\"id\":\"x\",\"name\":\"ptxvxf\",\"type\":\"wv\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"perhei\",\"configurationType\":\"File\",\"tapRulesUrl\":\"mswhqrdvqva\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"uwoigofu\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"zedmfjgklmyomavb\",\"sequenceNumber\":6648192072441047692,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"yinf\",\"sequenceNumber\":5190015770321796667,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{},{}]}],\"networkTapId\":\"ugdjd\",\"networkTapIds\":[\"xvcronridhwoyz\",\"jdds\"],\"pollingIntervalInSeconds\":161267653,\"lastSyncedTime\":\"2021-04-18T10:07:53Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"ipuot\"},\"lastOperation\":{\"details\":\"zqmpgvyydjw\"},\"networkFabricIds\":[\"hjhcw\"],\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"y\",\"tenantId\":\"h\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"xuwawmbuslegt\":{\"principalId\":\"yeoikxjp\",\"clientId\":\"ggpsaqfn\"},\"ylgpznb\":{\"principalId\":\"zkzworuhhvde\",\"clientId\":\"cdjhfxbkgpnxu\"},\"trfziubeflv\":{\"principalId\":\"hwuty\",\"clientId\":\"uz\"},\"awgzhbwhjvon\":{\"principalId\":\"jbmcepl\",\"clientId\":\"k\"}}},\"location\":\"vygx\",\"tags\":{\"jcjvdajxebm\":\"tjoxocothsg\",\"nd\":\"iyrctfaabkukra\",\"dhjdwfnbiyxqr\":\"hwdicntqsrhacjsb\"},\"id\":\"uyffkayovljtrml\",\"name\":\"rqllugnxmbwdkz\",\"type\":\"wwbqukjithx\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -38,26 +38,26 @@ public void testList() throws Exception { PagedIterable response = manager.networkTapRules().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("txvmbedvvmrtnmg", response.iterator().next().location()); - Assertions.assertEquals("zaaiih", response.iterator().next().tags().get("lzwz")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, + Assertions.assertEquals("vygx", response.iterator().next().location()); + Assertions.assertEquals("tjoxocothsg", response.iterator().next().tags().get("jcjvdajxebm")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals("osoxxoqyikdjaog", response.iterator().next().annotation()); - Assertions.assertEquals(ConfigurationType.INLINE, response.iterator().next().configurationType()); - Assertions.assertEquals("xqxvmyb", response.iterator().next().tapRulesUrl()); + Assertions.assertEquals("perhei", response.iterator().next().annotation()); + Assertions.assertEquals(ConfigurationType.FILE, response.iterator().next().configurationType()); + Assertions.assertEquals("mswhqrdvqva", response.iterator().next().tapRulesUrl()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, response.iterator().next().identitySelector().identityType()); - Assertions.assertEquals("rlfnsdcc", + Assertions.assertEquals("uwoigofu", response.iterator().next().identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("h", response.iterator().next().matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(7863229487440185713L, + Assertions.assertEquals("zedmfjgklmyomavb", + response.iterator().next().matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(6648192072441047692L, response.iterator().next().matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV4, response.iterator().next().matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(440863677, response.iterator().next().pollingIntervalInSeconds()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, + Assertions.assertEquals(161267653, response.iterator().next().pollingIntervalInSeconds()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, response.iterator().next().globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("pdleesljujpsubxg", - response.iterator().next().globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("ipuot", response.iterator().next().globalNetworkTapRuleActions().truncate()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListResultTests.java index 370c08cc710ba..b1ec92ba8e4b5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapRulesListResultTests.java @@ -17,26 +17,25 @@ public final class NetworkTapRulesListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapRulesListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"yx\",\"configurationType\":\"File\",\"tapRulesUrl\":\"cgqbmxbpqcn\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"hojvmazuflfp\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"hpdnc\",\"sequenceNumber\":4360471012015006353,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{}]},{\"matchConfigurationName\":\"imjlyhbjfnmmi\",\"sequenceNumber\":1970296457952213236,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"ygumqeobrwreudgs\",\"sequenceNumber\":3088851627784084851,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{},{}]}],\"networkTapId\":\"fkjfkxnwtzsroeqc\",\"networkTapIds\":[\"cjskqsfnmiwa\",\"dunhd\",\"katzmtuvfnhitjkb\",\"bxlwzlvk\"],\"pollingIntervalInSeconds\":1573879917,\"lastSyncedTime\":\"2021-01-02T18:24:46Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"odincfbaoboiahk\"},\"lastOperation\":{\"details\":\"va\"},\"networkFabricIds\":[\"sax\",\"eedvpmod\",\"tdut\",\"dvvgkmorbpcje\"],\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"vmshkkgygfohrm\",\"tenantId\":\"hlclpkr\",\"type\":\"None\",\"userAssignedIdentities\":{\"ftj\":{\"principalId\":\"jj\",\"clientId\":\"utivrfnztxtmrm\"},\"sjxw\":{\"principalId\":\"ilohlgrjcxh\",\"clientId\":\"hz\"}}},\"location\":\"gbvuy\",\"tags\":{\"lnuom\":\"mbwep\",\"ahap\":\"xhdkhmemx\",\"xrmxxjv\":\"snbyoullyfzm\"},\"id\":\"batjgzkm\",\"name\":\"fwzlmpx\",\"type\":\"m\"},{\"properties\":{\"annotation\":\"s\",\"configurationType\":\"Inline\",\"tapRulesUrl\":\"mdzphxulxrcbdnpf\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"ttowqx\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"zxpzloovha\",\"sequenceNumber\":6683633858306862996,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"kfeomotquqlqeyis\",\"sequenceNumber\":5336235972076584542,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{}]}],\"networkTapId\":\"grlly\",\"networkTapIds\":[\"mocbxh\",\"chmetvzhuugdykgd\",\"kwvbqcawwa\"],\"pollingIntervalInSeconds\":286445180,\"lastSyncedTime\":\"2021-01-07T17:53Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"gnmzebcrelue\"},\"lastOperation\":{\"details\":\"kryhh\"},\"networkFabricIds\":[\"zhhllx\"],\"configurationState\":\"Provisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"lfsdntkqiymmddsl\",\"tenantId\":\"lgjdlhmkspybn\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"vmbjerndzzyw\":{\"principalId\":\"dnnskat\",\"clientId\":\"mrslwknrd\"},\"szuxjmrzsxwas\":{\"principalId\":\"raqxtkdeetnn\",\"clientId\":\"putl\"}}},\"location\":\"qjzybmfqdnpp\",\"tags\":{\"gdwpjbb\":\"guamrvamuv\",\"hdukcsqvyeegxhu\":\"ukgctvnspjvsyydj\",\"xpfyxdjspnonx\":\"ojwumfjdymeqv\"},\"id\":\"mhqpz\",\"name\":\"nat\",\"type\":\"vgcm\"},{\"properties\":{\"annotation\":\"djlwwefevtwllq\",\"configurationType\":\"File\",\"tapRulesUrl\":\"jcoyvfwgk\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"s\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"ckwbqwj\",\"sequenceNumber\":1844023209136077037,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"yzhobnvyuepacoer\",\"sequenceNumber\":6674048838056904517,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"bs\",\"sequenceNumber\":2489462931306923298,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"nlqtqyv\",\"sequenceNumber\":578522847857961822,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{}]}],\"networkTapId\":\"rcnxaeypyqoi\",\"networkTapIds\":[\"asyddqbwscjwyy\",\"omiflrvfeowc\"],\"pollingIntervalInSeconds\":1103613953,\"lastSyncedTime\":\"2021-11-04T20:54:20Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"s\"},\"lastOperation\":{\"details\":\"auz\"},\"networkFabricIds\":[\"umkbpgcilbwtp\",\"bjlpfwuq\",\"rpdgitenyuksli\",\"mpnxg\"],\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"identity\":{\"principalId\":\"hqotmmxlmx\",\"tenantId\":\"wyvjzbjwvt\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"ndalnj\":{\"principalId\":\"ypqsmpsbeqie\",\"clientId\":\"xhju\"}}},\"location\":\"rgkjjpc\",\"tags\":{\"ekurdgcpzanaqve\":\"lzyxvtajfjatoid\",\"xfbagegjtjltcki\":\"gnpuelrnanbrpkoc\",\"dboefnhxha\":\"xggfagijx\",\"einvzsodm\":\"u\"},\"id\":\"krqdbsgkqy\",\"name\":\"kotypcjxhyzz\",\"type\":\"o\"},{\"properties\":{\"annotation\":\"hz\",\"configurationType\":\"File\",\"tapRulesUrl\":\"brbm\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"fprsmivapesbfz\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"rw\",\"sequenceNumber\":5696588657301412539,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{}],\"actions\":[{},{}]},{\"matchConfigurationName\":\"blmfcleuovelvsp\",\"sequenceNumber\":4109335279816550659,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"ud\",\"sequenceNumber\":840735617911457145,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{},{},{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{},{}]}],\"networkTapId\":\"ymmcgskscb\",\"networkTapIds\":[\"ha\",\"icjo\",\"xolknshgwakptb\",\"mbglmnlbnatln\"],\"pollingIntervalInSeconds\":800884254,\"lastSyncedTime\":\"2021-11-28T20:55:23Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"True\",\"truncate\":\"rtdzzvhbujka\"},\"lastOperation\":{\"details\":\"hqwojdzcc\"},\"networkFabricIds\":[\"srbfbs\"],\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"exr\",\"tenantId\":\"h\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"wvrsksdz\":{\"principalId\":\"qp\",\"clientId\":\"tsh\"},\"gdungaypx\":{\"principalId\":\"wtsyppwfbwoet\",\"clientId\":\"zrfwxhf\"},\"mp\":{\"principalId\":\"z\",\"clientId\":\"snxyksznfs\"}}},\"location\":\"grandz\",\"tags\":{\"lhsfddkhxvev\":\"omlpczlqboomzgmr\",\"yhtuhalpq\":\"xmnbwaxadxgn\",\"aokex\":\"ld\"},\"id\":\"npnytkqjar\",\"name\":\"azbtgtzp\",\"type\":\"atrmzoujfgt\"}],\"nextLink\":\"uupcze\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"n\",\"configurationType\":\"File\",\"tapRulesUrl\":\"mrrhyjxcqcacz\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"ezttqjqyfy\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"ysl\",\"sequenceNumber\":244667312133924607,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{}],\"actions\":[{},{},{},{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{},{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{},{},{}],\"portGroups\":[{}]}],\"networkTapId\":\"zhhrurmrfyyqjc\",\"networkTapIds\":[\"zq\",\"sddcuqddlda\",\"yvfzt\",\"ew\"],\"pollingIntervalInSeconds\":1997432210,\"lastSyncedTime\":\"2021-02-01T04:05:23Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"tyzzwqocygoy\"},\"lastOperation\":{\"details\":\"uax\"},\"networkFabricIds\":[\"zitrguzlwe\",\"yxfo\",\"fz\",\"ypz\"],\"configurationState\":\"CommitStageFailed\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Disabled\"},\"identity\":{\"principalId\":\"hlbpjuajzq\",\"tenantId\":\"vmitn\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"qtjtnnrje\":{\"principalId\":\"ujysvdtyyddbhatm\",\"clientId\":\"tpg\"},\"nzrrwsci\":{\"principalId\":\"hciga\",\"clientId\":\"mdfspkdnxqxzxter\"}}},\"location\":\"hdwi\",\"tags\":{\"jy\":\"tol\",\"xsg\":\"kr\",\"thqwppvihb\":\"aknk\"},\"id\":\"wrvpvdrohulo\",\"name\":\"kabhvxjuaivxzni\",\"type\":\"nygtixkgyob\"},{\"properties\":{\"annotation\":\"phvd\",\"configurationType\":\"File\",\"tapRulesUrl\":\"xzpqditudcltf\",\"identitySelector\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"lee\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"ehldopj\",\"sequenceNumber\":2558303794337276814,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"mibnm\",\"sequenceNumber\":6556467319204188309,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{}]},{\"matchConfigurationName\":\"mzhcm\",\"sequenceNumber\":7714936341259656585,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"vkyjjludnmbjq\",\"sequenceNumber\":1384975302971841152,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{}]}],\"networkTapId\":\"xoipmqnerwh\",\"networkTapIds\":[\"idsssfzsgz\",\"uspejomeqgx\",\"wisp\",\"ogdblwjsbaqxaxt\"],\"pollingIntervalInSeconds\":1838550918,\"lastSyncedTime\":\"2021-08-21T17:07:51Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"c\"},\"lastOperation\":{\"details\":\"gkvuixwonkr\"},\"networkFabricIds\":[\"dxywabk\",\"tnipaptgv\",\"aqyjukkajnne\",\"ltonop\"],\"configurationState\":\"CommitRollbackFailed\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"UnderMaintenance\"},\"identity\":{\"principalId\":\"awbabhzbfcdikqnx\",\"tenantId\":\"gzfo\",\"type\":\"None\",\"userAssignedIdentities\":{\"qeron\":{\"principalId\":\"spa\",\"clientId\":\"vs\"}}},\"location\":\"af\",\"tags\":{\"mkdeuqxlvzpfdka\":\"muwdbvytqavou\",\"rrmtrxgjmpdvrjz\":\"gbiwpgopqlktthb\"},\"id\":\"awpewajccsdjuzm\",\"name\":\"ijtickzovguzp\",\"type\":\"pxhhboigzxkop\"},{\"properties\":{\"annotation\":\"rzhtocjzfppexu\",\"configurationType\":\"File\",\"tapRulesUrl\":\"zwn\",\"identitySelector\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"iitvjcmimbmsw\"},\"matchConfigurations\":[{\"matchConfigurationName\":\"bjoypplodaqrbkpo\",\"sequenceNumber\":7914935514995968955,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{}],\"actions\":[{}]},{\"matchConfigurationName\":\"crqaxlmbrtvtgolm\",\"sequenceNumber\":2184343071277071166,\"ipAddressType\":\"IPv6\",\"matchConditions\":[{},{},{}],\"actions\":[{},{},{},{}]},{\"matchConfigurationName\":\"xjvoysxaqqj\",\"sequenceNumber\":3642546188751796906,\"ipAddressType\":\"IPv4\",\"matchConditions\":[{},{},{},{}],\"actions\":[{}]}],\"dynamicMatchConfigurations\":[{\"ipGroups\":[{},{}],\"vlanGroups\":[{},{}],\"portGroups\":[{},{},{},{}]},{\"ipGroups\":[{},{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]},{\"ipGroups\":[{}],\"vlanGroups\":[{}],\"portGroups\":[{},{}]}],\"networkTapId\":\"vywotjnjuvtzij\",\"networkTapIds\":[\"xbaeyocpkvlt\",\"fdz\",\"mnpbdrcibj\"],\"pollingIntervalInSeconds\":1919101342,\"lastSyncedTime\":\"2021-04-19T07:29:25Z\",\"globalNetworkTapRuleActions\":{\"enableCount\":\"False\",\"truncate\":\"vdtuoamqobqeh\"},\"lastOperation\":{\"details\":\"htisyzfeoctr\"},\"networkFabricIds\":[\"nzwckzebmbvw\"],\"configurationState\":\"Rejected\",\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\"},\"identity\":{\"principalId\":\"zlmln\",\"tenantId\":\"catkuhs\",\"type\":\"None\",\"userAssignedIdentities\":{\"busxyugozwp\":{\"principalId\":\"vvi\",\"clientId\":\"yeshoxfzzjdmu\"},\"kwyshybbn\":{\"principalId\":\"zgzumnotiixkkbyg\",\"clientId\":\"i\"},\"hzzcarciuo\":{\"principalId\":\"tyiz\",\"clientId\":\"zsurqcojasf\"}}},\"location\":\"ipdthjfvnhwsgns\",\"tags\":{\"sjgbfbbach\":\"felfchnuf\",\"vkbuxlepg\":\"xczzunfnbphcee\",\"tfsclgga\":\"cnuqhqpvtw\"},\"id\":\"ygntbfytnhdnihu\",\"name\":\"zjuzvw\",\"type\":\"bzdtorbiwnyfzdpx\"}],\"nextLink\":\"sucr\"}") .toObject(NetworkTapRulesListResult.class); - Assertions.assertEquals("gbvuy", model.value().get(0).location()); - Assertions.assertEquals("mbwep", model.value().get(0).tags().get("lnuom")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, model.value().get(0).identity().type()); - Assertions.assertEquals("yx", model.value().get(0).annotation()); + Assertions.assertEquals("hdwi", model.value().get(0).location()); + Assertions.assertEquals("tol", model.value().get(0).tags().get("jy")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.value().get(0).identity().type()); + Assertions.assertEquals("n", model.value().get(0).annotation()); Assertions.assertEquals(ConfigurationType.FILE, model.value().get(0).configurationType()); - Assertions.assertEquals("cgqbmxbpqcn", model.value().get(0).tapRulesUrl()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + Assertions.assertEquals("mrrhyjxcqcacz", model.value().get(0).tapRulesUrl()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.value().get(0).identitySelector().identityType()); - Assertions.assertEquals("hojvmazuflfp", - model.value().get(0).identitySelector().userAssignedIdentityResourceId()); - Assertions.assertEquals("hpdnc", model.value().get(0).matchConfigurations().get(0).matchConfigurationName()); - Assertions.assertEquals(4360471012015006353L, + Assertions.assertEquals("ezttqjqyfy", model.value().get(0).identitySelector().userAssignedIdentityResourceId()); + Assertions.assertEquals("ysl", model.value().get(0).matchConfigurations().get(0).matchConfigurationName()); + Assertions.assertEquals(244667312133924607L, model.value().get(0).matchConfigurations().get(0).sequenceNumber()); Assertions.assertEquals(IpAddressType.IPV6, model.value().get(0).matchConfigurations().get(0).ipAddressType()); - Assertions.assertEquals(1573879917, model.value().get(0).pollingIntervalInSeconds()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, + Assertions.assertEquals(1997432210, model.value().get(0).pollingIntervalInSeconds()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.value().get(0).globalNetworkTapRuleActions().enableCount()); - Assertions.assertEquals("odincfbaoboiahk", model.value().get(0).globalNetworkTapRuleActions().truncate()); - Assertions.assertEquals("uupcze", model.nextLink()); + Assertions.assertEquals("tyzzwqocygoy", model.value().get(0).globalNetworkTapRuleActions().truncate()); + Assertions.assertEquals("sucr", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateMockTests.java index ffc737f903782..8f9cbfbea2744 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsCreateMockTests.java @@ -32,7 +32,7 @@ public final class NetworkTapsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"networkPacketBrokerId\":\"g\",\"sourceTapRuleId\":\"rmx\",\"networkFabricIds\":[\"c\",\"haonmfnfatwi\",\"cuhas\"],\"destinations\":[{\"name\":\"elht\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"heimwhotjcgdpqkf\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"rglqlv\",\"ke\",\"eyqotmj\",\"qqahmzleta\"]},\"destinationTapRuleId\":\"juwkkvarffjuefj\"},{\"name\":\"mowq\",\"destinationType\":\"Direct\",\"destinationId\":\"dmdrdt\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"ahciapvcs\"]},\"destinationTapRuleId\":\"jrpcpgcltf\"},{\"name\":\"aqmrimletjv\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"tfgabiblhzfglp\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"upwrizkqnbiia\"]},\"destinationTapRuleId\":\"hsjpqha\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"sltchcuhvdrfhmr\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\",\"annotation\":\"iijchtaaabtxrhem\"},\"identity\":{\"principalId\":\"kvruomwyoktzffpc\",\"tenantId\":\"hjpze\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"apkbdhy\":{\"principalId\":\"vykiyr\",\"clientId\":\"kolcoiks\"},\"uhqvxeyliisatbs\":{\"principalId\":\"ugkugwtg\",\"clientId\":\"twayh\"},\"eiyyysvt\":{\"principalId\":\"tkdcufzxxqdntvfv\",\"clientId\":\"ernq\"},\"ev\":{\"principalId\":\"xwugdzwoczf\",\"clientId\":\"fcmpddzzdw\"}}},\"location\":\"cnf\",\"tags\":{\"yluw\":\"yykxlf\",\"n\":\"n\"},\"id\":\"qpmnyv\",\"name\":\"bmgpomcr\",\"type\":\"vtazclilzve\"}"; + = "{\"properties\":{\"networkPacketBrokerId\":\"jzborwzpfgks\",\"sourceTapRuleId\":\"brxlsbglbf\",\"networkFabricIds\":[\"iirneop\",\"dbhcfswpdarvca\",\"smr\",\"xucgvz\"],\"destinations\":[{\"name\":\"v\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"biziijdse\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"t\",\"sfyxdfeqrnawnqya\"]},\"destinationTapRuleId\":\"xacojcaraxorqjbo\"},{\"name\":\"ngxogqvwchynrdt\",\"destinationType\":\"Direct\",\"destinationId\":\"ptwmawypkpbmid\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"pjp\",\"tsgvvizayg\",\"bmluy\",\"cgzvqpnjqpwx\"]},\"destinationTapRuleId\":\"uijpay\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"i\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\",\"annotation\":\"leegwlhanyu\"},\"identity\":{\"principalId\":\"hy\",\"tenantId\":\"k\",\"type\":\"None\",\"userAssignedIdentities\":{\"bjsvuqkbs\":{\"principalId\":\"x\",\"clientId\":\"tlf\"}}},\"location\":\"coaysargqkga\",\"tags\":{\"lkxvfejdgoj\":\"ugdyfyjeex\",\"yyyo\":\"vqezekkv\",\"okhmkqyfatddwfhf\":\"jpsmnxccasuh\",\"tjfnmxzu\":\"fatoilmwzkxaglwd\"},\"id\":\"hvioccszdaxafu\",\"name\":\"ccnqfwobnblu\",\"type\":\"tmfimloz\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -42,39 +42,58 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkTap response = manager.networkTaps() - .define("eopx") - .withRegion("fejdgojavqezek") - .withExistingResourceGroup("lbfpteiir") - .withNetworkPacketBrokerId("bhcfswpda") - .withDestinations(Arrays.asList(new DestinationProperties().withName("xorqjboyngxo") - .withDestinationType(DestinationType.ISOLATION_DOMAIN) - .withDestinationId("vwchynrdtn") - .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) - .withNeighborGroupIds(Arrays.asList("wypkpbmi"))) - .withDestinationTapRuleId("qvcjspj"))) - .withTags( - mapOf("jpsmnxccasuh", "yyyo", "fatoilmwzkxaglwd", "okhmkqyfatddwfhf", "hvioccszdaxafu", "tjfnmxzu")) - .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities( - mapOf("g", new UserAssignedIdentity(), "scugdyfyjeexmlk", new UserAssignedIdentity()))) - .withPollingType(PollingType.PUSH) - .withAnnotation("pnjqpwxfkuijpay") + .define("mmgf") + .withRegion("jtanr") + .withExistingResourceGroup("hjqakacbcbrsnnv") + .withNetworkPacketBrokerId("t") + .withDestinations(Arrays.asList( + new DestinationProperties().withName("fogockbizqqajsua") + .withDestinationType(DestinationType.DIRECT) + .withDestinationId("ojgv") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("wlzqc", "vrbgi", "br"))) + .withDestinationTapRuleId("kjbljfkqu"), + new DestinationProperties().withName("nnm") + .withDestinationType(DestinationType.ISOLATION_DOMAIN) + .withDestinationId("cbcxbvnhlw") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("oyisk"))) + .withDestinationTapRuleId("asxak"), + new DestinationProperties().withName("qbwjtnfa") + .withDestinationType(DestinationType.ISOLATION_DOMAIN) + .withDestinationId("qkgccldxuwewee") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.GRE) + .withNeighborGroupIds(Arrays.asList("n"))) + .withDestinationTapRuleId("faprh"), + new DestinationProperties().withName("cdhbcribqdszuxh") + .withDestinationType(DestinationType.DIRECT) + .withDestinationId("lywtyknfrhbk") + .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE) + .withNeighborGroupIds(Arrays.asList("mcqudfxhf", "drzegmluebzoujh", "jl"))) + .withDestinationTapRuleId("uvxklarufjf"))) + .withTags(mapOf("omsy", "nql")) + .withIdentity( + new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf("tbymlzgkzhbnb", new UserAssignedIdentity(), "ikouvpcjyhsz", new UserAssignedIdentity()))) + .withPollingType(PollingType.PULL) + .withAnnotation("owlsrxy") .create(); - Assertions.assertEquals("cnf", response.location()); - Assertions.assertEquals("yykxlf", response.tags().get("yluw")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type()); - Assertions.assertEquals("g", response.networkPacketBrokerId()); - Assertions.assertEquals("elht", response.destinations().get(0).name()); + Assertions.assertEquals("coaysargqkga", response.location()); + Assertions.assertEquals("ugdyfyjeex", response.tags().get("lkxvfejdgoj")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("jzborwzpfgks", response.networkPacketBrokerId()); + Assertions.assertEquals("v", response.destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, response.destinations().get(0).destinationType()); - Assertions.assertEquals("heimwhotjcgdpqkf", response.destinations().get(0).destinationId()); - Assertions.assertEquals(Encapsulation.NONE, + Assertions.assertEquals("biziijdse", response.destinations().get(0).destinationId()); + Assertions.assertEquals(Encapsulation.GRE, response.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("rglqlv", + Assertions.assertEquals("t", response.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("juwkkvarffjuefj", response.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("xacojcaraxorqjbo", response.destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PULL, response.pollingType()); - Assertions.assertEquals("iijchtaaabtxrhem", response.annotation()); + Assertions.assertEquals("leegwlhanyu", response.annotation()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupWithResponseMockTests.java index a8d4ce128aa66..3324ea522d484 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsGetByResourceGroupWithResponseMockTests.java @@ -25,7 +25,7 @@ public final class NetworkTapsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"networkPacketBrokerId\":\"ru\",\"sourceTapRuleId\":\"eaenkfsxtsmz\",\"networkFabricIds\":[\"zfaja\",\"bswwbrllvva\"],\"destinations\":[{\"name\":\"jcqz\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"wlxz\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"aidzv\"]},\"destinationTapRuleId\":\"vdivzjyxsjblb\"},{\"name\":\"xjb\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"butmacnqudmyd\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"jqfbvbv\",\"wryrzoqyy\"]},\"destinationTapRuleId\":\"dbgobhltm\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"qgrsytto\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\",\"annotation\":\"acrhpuzca\"},\"identity\":{\"principalId\":\"vpbwt\",\"tenantId\":\"uiguo\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"tnbk\":{\"principalId\":\"db\",\"clientId\":\"xrkoxwyxodpcgdv\"},\"wnkxoqecjznuq\":{\"principalId\":\"dafilaizcdugn\",\"clientId\":\"mljgayka\"}}},\"location\":\"gvm\",\"tags\":{\"zfbtczzjf\":\"shhqgjvchli\",\"kltfknroxmis\":\"jovwizjraksahwqp\"},\"id\":\"bz\",\"name\":\"z\",\"type\":\"fvqtvukcfesizkn\"}"; + = "{\"properties\":{\"networkPacketBrokerId\":\"fgk\",\"sourceTapRuleId\":\"jonminsqjnuiiy\",\"networkFabricIds\":[\"rpeyigfdppgkk\",\"dygjldljgdy\",\"grtse\",\"nowzf\"],\"destinations\":[{\"name\":\"ofm\",\"destinationType\":\"Direct\",\"destinationId\":\"wculsbn\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"mrlprbcljxrjaa\",\"nzzlfvefskjbasm\",\"dpbmoq\"]},\"destinationTapRuleId\":\"vukgfzbykapmeo\"},{\"name\":\"cpv\",\"destinationType\":\"Direct\",\"destinationId\":\"kdtgpny\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"yewbfoxwvxe\",\"jsnjbahxyfddpbt\"]},\"destinationTapRuleId\":\"rdj\"},{\"name\":\"qcr\",\"destinationType\":\"Direct\",\"destinationId\":\"tjsixawi\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"xnza\",\"flvbkh\",\"dz\"]},\"destinationTapRuleId\":\"qd\"},{\"name\":\"apohemine\",\"destinationType\":\"Direct\",\"destinationId\":\"jrdxhlovmxhztdca\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"qmitrpa\",\"mh\"]},\"destinationTapRuleId\":\"cyasz\"}],\"pollingType\":\"Push\",\"lastOperation\":{\"details\":\"cih\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Disabled\",\"annotation\":\"iwyox\"},\"identity\":{\"principalId\":\"taawbsdeqqbdcbn\",\"tenantId\":\"rpnorymtgtnbm\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"wld\":{\"principalId\":\"e\",\"clientId\":\"xodytot\"},\"msiptzgomuju\":{\"principalId\":\"n\",\"clientId\":\"sdgmuaqtqn\"}}},\"location\":\"nkuyombkgkyobu\",\"tags\":{\"rpyxkzxrmm\":\"rvoko\",\"y\":\"ycufk\",\"aeu\":\"xoubekafdxgtgcfk\",\"tlk\":\"m\"},\"id\":\"fpqebbqetx\",\"name\":\"uxvjjwlwysrswzh\",\"type\":\"iazwebtskmqka\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,22 +35,22 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkTap response = manager.networkTaps() - .getByResourceGroupWithResponse("eouhjetxupxe", "ins", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("ihfxtbvhmsvcmce", "trhwriihwxchy", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("gvm", response.location()); - Assertions.assertEquals("shhqgjvchli", response.tags().get("zfbtczzjf")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("ru", response.networkPacketBrokerId()); - Assertions.assertEquals("jcqz", response.destinations().get(0).name()); - Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, response.destinations().get(0).destinationType()); - Assertions.assertEquals("wlxz", response.destinations().get(0).destinationId()); - Assertions.assertEquals(Encapsulation.NONE, + Assertions.assertEquals("nkuyombkgkyobu", response.location()); + Assertions.assertEquals("rvoko", response.tags().get("rpyxkzxrmm")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.identity().type()); + Assertions.assertEquals("fgk", response.networkPacketBrokerId()); + Assertions.assertEquals("ofm", response.destinations().get(0).name()); + Assertions.assertEquals(DestinationType.DIRECT, response.destinations().get(0).destinationType()); + Assertions.assertEquals("wculsbn", response.destinations().get(0).destinationId()); + Assertions.assertEquals(Encapsulation.GRE, response.destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("aidzv", + Assertions.assertEquals("mrlprbcljxrjaa", response.destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("vdivzjyxsjblb", response.destinations().get(0).destinationTapRuleId()); - Assertions.assertEquals(PollingType.PULL, response.pollingType()); - Assertions.assertEquals("acrhpuzca", response.annotation()); + Assertions.assertEquals("vukgfzbykapmeo", response.destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals(PollingType.PUSH, response.pollingType()); + Assertions.assertEquals("iwyox", response.annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupMockTests.java index dce31ee886b5c..576c7f5c49c9b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListByResourceGroupMockTests.java @@ -26,7 +26,7 @@ public final class NetworkTapsListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkPacketBrokerId\":\"xflzhgr\",\"sourceTapRuleId\":\"wysdmovbvnjyqq\",\"networkFabricIds\":[\"gz\",\"ykc\",\"ol\"],\"destinations\":[{\"name\":\"w\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"gytyv\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"jgobzjmuk\",\"wmhzarrfttxh\",\"frjgvho\"]},\"destinationTapRuleId\":\"vvvabzlmkfvs\"},{\"name\":\"lkjowvzyoehljtl\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"uothnucqktuae\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"ii\",\"teydlb\"]},\"destinationTapRuleId\":\"mivtuphwwyixo\"},{\"name\":\"fxfteo\",\"destinationType\":\"Direct\",\"destinationId\":\"rziwkcpxgjmyoufq\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"cdikkmyrsvtrtxg\",\"mpohuvasxjzklqkg\"]},\"destinationTapRuleId\":\"kntknjhywgzi\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"fdehptln\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Updating\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"eszx\"},\"identity\":{\"principalId\":\"euoih\",\"tenantId\":\"kfiwpgxyavcbdsu\",\"type\":\"None\",\"userAssignedIdentities\":{\"yhpbtwzrziv\":{\"principalId\":\"hcj\",\"clientId\":\"xtljyr\"},\"fbr\":{\"principalId\":\"kdcjymdoldbuy\",\"clientId\":\"gephviue\"},\"fkmti\":{\"principalId\":\"oxhy\",\"clientId\":\"agaxru\"},\"xwfodvzpxmo\":{\"principalId\":\"ynkhvpuq\",\"clientId\":\"zdbbitpgrnhpmsdg\"}}},\"location\":\"bvgieey\",\"tags\":{\"tbasvjodgplagwvg\":\"n\",\"hinbsys\":\"nxmqudnqcbb\",\"iyyzqdnrgnyb\":\"lbfzkvrmdos\",\"mkhxunq\":\"qwjj\"},\"id\":\"vqticgsdcpmclk\",\"name\":\"ydabhydcqrs\",\"type\":\"qwzndzuxlgmy\"}]}"; + = "{\"value\":[{\"properties\":{\"networkPacketBrokerId\":\"nxlcdg\",\"sourceTapRuleId\":\"ufancjlkrskz\",\"networkFabricIds\":[\"bafqzihmvw\"],\"destinations\":[{\"name\":\"jwvqiahoqjz\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"vwdlrt\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"xhgwzbyst\",\"uuwehntjssjbpnat\"]},\"destinationTapRuleId\":\"mvqichz\"},{\"name\":\"ajit\",\"destinationType\":\"Direct\",\"destinationId\":\"znpryouujqyeyzo\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"i\",\"mwvhcgcmu\"]},\"destinationTapRuleId\":\"ut\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"hzytdj\"},\"configurationState\":\"Failed\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\",\"annotation\":\"yrhmpokf\"},\"identity\":{\"principalId\":\"bxm\",\"tenantId\":\"ajyrace\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ru\":{\"principalId\":\"s\",\"clientId\":\"uhjetxupxeains\"},\"lbswwbrllv\":{\"principalId\":\"eaenkfsxtsmz\",\"clientId\":\"ozfaj\"},\"dz\":{\"principalId\":\"zujc\",\"clientId\":\"znwlxzmszxyfa\"}}},\"location\":\"qvdivzjyx\",\"tags\":{\"jbrqb\":\"lbl\",\"dmyduvawea\":\"tmacnq\",\"yymh\":\"qfbvbvkwryrzo\",\"obhltmpay\":\"b\"},\"id\":\"qqgr\",\"name\":\"yttosnzbbxifa\",\"type\":\"rhpuzca\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,23 +36,23 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.networkTaps().listByResourceGroup("c", com.azure.core.util.Context.NONE); + = manager.networkTaps().listByResourceGroup("uxjudyvzo", com.azure.core.util.Context.NONE); - Assertions.assertEquals("bvgieey", response.iterator().next().location()); - Assertions.assertEquals("n", response.iterator().next().tags().get("tbasvjodgplagwvg")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.iterator().next().identity().type()); - Assertions.assertEquals("xflzhgr", response.iterator().next().networkPacketBrokerId()); - Assertions.assertEquals("w", response.iterator().next().destinations().get(0).name()); + Assertions.assertEquals("qvdivzjyx", response.iterator().next().location()); + Assertions.assertEquals("lbl", response.iterator().next().tags().get("jbrqb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, + response.iterator().next().identity().type()); + Assertions.assertEquals("nxlcdg", response.iterator().next().networkPacketBrokerId()); + Assertions.assertEquals("jwvqiahoqjz", response.iterator().next().destinations().get(0).name()); Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, response.iterator().next().destinations().get(0).destinationType()); - Assertions.assertEquals("gytyv", response.iterator().next().destinations().get(0).destinationId()); - Assertions.assertEquals(Encapsulation.GRE, + Assertions.assertEquals("vwdlrt", response.iterator().next().destinations().get(0).destinationId()); + Assertions.assertEquals(Encapsulation.NONE, response.iterator().next().destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("jgobzjmuk", + Assertions.assertEquals("xhgwzbyst", response.iterator().next().destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("vvvabzlmkfvs", - response.iterator().next().destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("mvqichz", response.iterator().next().destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PULL, response.iterator().next().pollingType()); - Assertions.assertEquals("eszx", response.iterator().next().annotation()); + Assertions.assertEquals("yrhmpokf", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListMockTests.java index daf61920f9dc0..b914bfb59febf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListMockTests.java @@ -26,7 +26,7 @@ public final class NetworkTapsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"networkPacketBrokerId\":\"ngyqlzozmbapj\",\"sourceTapRuleId\":\"zabl\",\"networkFabricIds\":[\"tjlzkymcg\",\"bp\",\"fbgfwjqw\",\"vse\"],\"destinations\":[{\"name\":\"kxxdrgbnqmh\",\"destinationType\":\"Direct\",\"destinationId\":\"zm\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"lqbu\"]},\"destinationTapRuleId\":\"udsmdglqrkst\"}],\"pollingType\":\"Push\",\"lastOperation\":{\"details\":\"somxwsflylols\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"MAT\",\"annotation\":\"glmcgy\"},\"identity\":{\"principalId\":\"qdjxurbjx\",\"tenantId\":\"rxvguzvtw\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"zptngr\":{\"principalId\":\"qnvijhdcoln\",\"clientId\":\"dppiodnntolo\"},\"u\":{\"principalId\":\"vimxacx\",\"clientId\":\"czcdkomr\"}}},\"location\":\"t\",\"tags\":{\"ywjn\":\"dq\",\"hsijxm\":\"dysky\",\"suwmbdtfetrgzy\":\"iuymfx\",\"qszqkrsnx\":\"prrapghloemqapv\"},\"id\":\"ezwr\",\"name\":\"qadtv\",\"type\":\"gug\"}]}"; + = "{\"value\":[{\"properties\":{\"networkPacketBrokerId\":\"zpvp\",\"sourceTapRuleId\":\"tosui\",\"networkFabricIds\":[\"emocndb\",\"e\",\"rko\"],\"destinations\":[{\"name\":\"y\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"d\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"tnbk\",\"xdafilaizcd\"]},\"destinationTapRuleId\":\"nz\"},{\"name\":\"mljgayka\",\"destinationType\":\"Direct\",\"destinationId\":\"nkxoqecjznuqg\",\"isolationDomainProperties\":{\"encapsulation\":\"None\",\"neighborGroupIds\":[\"wshhq\",\"jvchliezfb\",\"czzjfzjovwizjrak\"]},\"destinationTapRuleId\":\"h\"},{\"name\":\"qpukltfknroxmi\",\"destinationType\":\"Direct\",\"destinationId\":\"bz\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"tvukcfesi\",\"knhcvxflzhgrn\",\"wysdmovbvnjyqq\"]},\"destinationTapRuleId\":\"dgzlykczolnd\"},{\"name\":\"rggytyvox\",\"destinationType\":\"Direct\",\"destinationId\":\"byjg\",\"isolationDomainProperties\":{\"encapsulation\":\"GRE\",\"neighborGroupIds\":[\"kfwmhzarrf\",\"txhifrjgvhonevvv\",\"bzlmk\",\"vs\"]},\"destinationTapRuleId\":\"kjowv\"}],\"pollingType\":\"Push\",\"lastOperation\":{\"details\":\"ljtlyguoth\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Updating\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"ergjtprii\"},\"identity\":{\"principalId\":\"yd\",\"tenantId\":\"ahmivtu\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"omnrziwk\":{\"principalId\":\"i\",\"clientId\":\"rfxft\"},\"aypcdikkmyrs\":{\"principalId\":\"xgjmyo\",\"clientId\":\"qap\"},\"jukntknjhywgz\":{\"principalId\":\"rtxggmp\",\"clientId\":\"uvasxjzklqk\"}}},\"location\":\"cwnefdehptlnw\",\"tags\":{\"geuoihtik\":\"uwbneszxn\"},\"id\":\"iwp\",\"name\":\"xyavcb\",\"type\":\"suwct\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,22 +37,20 @@ public void testList() throws Exception { PagedIterable response = manager.networkTaps().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("t", response.iterator().next().location()); - Assertions.assertEquals("dq", response.iterator().next().tags().get("ywjn")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, - response.iterator().next().identity().type()); - Assertions.assertEquals("ngyqlzozmbapj", response.iterator().next().networkPacketBrokerId()); - Assertions.assertEquals("kxxdrgbnqmh", response.iterator().next().destinations().get(0).name()); - Assertions.assertEquals(DestinationType.DIRECT, + Assertions.assertEquals("cwnefdehptlnw", response.iterator().next().location()); + Assertions.assertEquals("uwbneszxn", response.iterator().next().tags().get("geuoihtik")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.iterator().next().identity().type()); + Assertions.assertEquals("zpvp", response.iterator().next().networkPacketBrokerId()); + Assertions.assertEquals("y", response.iterator().next().destinations().get(0).name()); + Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, response.iterator().next().destinations().get(0).destinationType()); - Assertions.assertEquals("zm", response.iterator().next().destinations().get(0).destinationId()); - Assertions.assertEquals(Encapsulation.NONE, + Assertions.assertEquals("d", response.iterator().next().destinations().get(0).destinationId()); + Assertions.assertEquals(Encapsulation.GRE, response.iterator().next().destinations().get(0).isolationDomainProperties().encapsulation()); - Assertions.assertEquals("lqbu", + Assertions.assertEquals("tnbk", response.iterator().next().destinations().get(0).isolationDomainProperties().neighborGroupIds().get(0)); - Assertions.assertEquals("udsmdglqrkst", - response.iterator().next().destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals("nz", response.iterator().next().destinations().get(0).destinationTapRuleId()); Assertions.assertEquals(PollingType.PUSH, response.iterator().next().pollingType()); - Assertions.assertEquals("glmcgy", response.iterator().next().annotation()); + Assertions.assertEquals("ergjtprii", response.iterator().next().annotation()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListResultTests.java index 7e766fda654b4..143c96eee44f4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkTapsListResultTests.java @@ -15,19 +15,18 @@ public final class NetworkTapsListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkTapsListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"networkPacketBrokerId\":\"qesqsqmiek\",\"sourceTapRuleId\":\"p\",\"networkFabricIds\":[\"h\"],\"destinations\":[{\"name\":\"tykkvjjlba\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"urzyqo\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"umuej\"},{\"name\":\"xpxxizchmbuzg\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"rkjkn\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"sulaybhozls\"}],\"pollingType\":\"Push\",\"lastOperation\":{\"details\":\"bvcntpoeeytrsl\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\",\"annotation\":\"ggsxznb\"},\"identity\":{\"principalId\":\"kqbylb\",\"tenantId\":\"jldicqomanefw\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"jukfalwceechcayv\":{\"principalId\":\"vkya\",\"clientId\":\"oyfzoidyaeprev\"},\"ybfby\":{\"principalId\":\"eqpucnus\",\"clientId\":\"lfhicrjr\"},\"gseiqb\":{\"principalId\":\"lqllbofsn\",\"clientId\":\"cybrhxgiknrl\"},\"pksgo\":{\"principalId\":\"qjfeam\",\"clientId\":\"uxd\"}}},\"location\":\"unvnjqldrqq\",\"tags\":{\"dthfwlnvqa\":\"gusqlxlx\",\"blnlmpuyypaggpai\":\"byfi\"},\"id\":\"eaeyzwloqrmgdhym\",\"name\":\"pvlxtywu\",\"type\":\"hj\"},{\"properties\":{\"networkPacketBrokerId\":\"spllitxrrgkw\",\"sourceTapRuleId\":\"oyhqoivxcodwkwo\",\"networkFabricIds\":[\"achhsizfuew\",\"fwfiikqcdnzsfi\",\"hgneo\"],\"destinations\":[{\"name\":\"mcrxlyzoaho\",\"destinationType\":\"Direct\",\"destinationId\":\"fakrxjjwnbrmdw\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"nlsyia\"},{\"name\":\"nistcjhatc\",\"destinationType\":\"Direct\",\"destinationId\":\"phcst\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"cpanap\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"rin\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"RMA\",\"annotation\":\"qbgqnzmzct\"},\"identity\":{\"principalId\":\"jkpi\",\"tenantId\":\"ucvbdoz\",\"type\":\"None\",\"userAssignedIdentities\":{\"i\":{\"principalId\":\"e\",\"clientId\":\"zsqm\"},\"pvrd\":{\"principalId\":\"xmiw\",\"clientId\":\"qi\"}}},\"location\":\"cdnzoxl\",\"tags\":{\"sugqcglma\":\"xtwgbawshram\",\"xvqlauu\":\"fzto\",\"fmcerfxfeiqba\":\"gwa\",\"ipssv\":\"thzw\"},\"id\":\"o\",\"name\":\"ijcqcjozz\",\"type\":\"kug\"},{\"properties\":{\"networkPacketBrokerId\":\"dqqbt\",\"sourceTapRuleId\":\"vocu\",\"networkFabricIds\":[\"lbpwarhwettohg\",\"z\",\"xyvtkzbhizxp\",\"sddmwnfhmju\"],\"destinations\":[{\"name\":\"qnkushvlxud\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"kaqnirmi\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"hjcgszfbqygkxrl\"},{\"name\":\"ojlclpumveybodhr\",\"destinationType\":\"Direct\",\"destinationId\":\"k\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"mwb\"},{\"name\":\"umjvegpdxtsaujt\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"ojybolqoxuptsli\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"lkwk\"}],\"pollingType\":\"Push\",\"lastOperation\":{\"details\":\"amtykxs\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Failed\",\"administrativeState\":\"EnabledDegraded\",\"annotation\":\"qmzdozktkdpczeo\"},\"identity\":{\"principalId\":\"rgcnbvmhvqpkedax\",\"tenantId\":\"yorfjid\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"zgkooagrlwpame\":{\"principalId\":\"eogavfyihuz\",\"clientId\":\"pwnyfjcypazwiimd\"},\"aifllxccprk\":{\"principalId\":\"twqade\",\"clientId\":\"uwxkyxiatfamr\"}}},\"location\":\"fozwhomydxgtuq\",\"tags\":{\"vvketyd\":\"quzihir\",\"rmh\":\"aqoktssgvqxer\",\"jlvihylrxsiy\":\"raqgb\"},\"id\":\"syiumtitlqy\",\"name\":\"fvernnk\",\"type\":\"pkayqivbig\"},{\"properties\":{\"networkPacketBrokerId\":\"rqgzetbo\",\"sourceTapRuleId\":\"t\",\"networkFabricIds\":[\"uxppwpcfm\",\"rmtgwhzbbdwrjen\",\"ofeiiewibdtplj\",\"nmajokbxxc\"],\"destinations\":[{\"name\":\"hxjwtkftgzljuep\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"wsjpgb\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"xjhgvtepvrunu\"},{\"name\":\"makkshrnaxkcz\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"ohdig\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"ocft\"},{\"name\":\"amodw\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"a\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"xerowuzvrnnb\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"eonmtojxgdo\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Enabled\",\"annotation\":\"sjknaq\"},\"identity\":{\"principalId\":\"wgpmdmwiwevvesw\",\"tenantId\":\"hbq\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"bkirgknhfwlajw\":{\"principalId\":\"argkwimtc\",\"clientId\":\"eeuquuwczzcujwx\"},\"rsdplvia\":{\"principalId\":\"jydjb\",\"clientId\":\"ipvspewyzhydtkbm\"}}},\"location\":\"armawokgcnevicc\",\"tags\":{\"oi\":\"ysclwbjgiynqr\"},\"id\":\"weofvsxauphzefi\",\"name\":\"eyydx\",\"type\":\"gtiivzkd\"}],\"nextLink\":\"xcc\"}") + "{\"value\":[{\"properties\":{\"networkPacketBrokerId\":\"lyfzmnxr\",\"sourceTapRuleId\":\"xjvwbat\",\"networkFabricIds\":[\"kmwfwzlmpxfmdjs\",\"ommdzphxulx\",\"cbdnpfcg\",\"dttowqxxc\"],\"destinations\":[{\"name\":\"zxpzloovha\",\"destinationType\":\"Direct\",\"destinationId\":\"ywtcvz\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"kfeomotquqlqeyis\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"sdpfvlsqmmetwtl\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\",\"annotation\":\"bdpnuvhgcgrllyy\"},\"identity\":{\"principalId\":\"ocbxhr\",\"tenantId\":\"metvzhuugd\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ebcrelue\":{\"principalId\":\"kwvbqcawwa\",\"clientId\":\"tsrnyotgnm\"},\"oxdjklf\":{\"principalId\":\"mkryhheexzhhllx\",\"clientId\":\"n\"}}},\"location\":\"ntk\",\"tags\":{\"dlhmks\":\"mmddslwnlg\"},\"id\":\"ybnnnlpqdnnska\",\"name\":\"upmrs\",\"type\":\"wknrdvvmb\"},{\"properties\":{\"networkPacketBrokerId\":\"erndzzywxqraqxtk\",\"sourceTapRuleId\":\"etnnefputlkszux\",\"networkFabricIds\":[\"zs\"],\"destinations\":[{\"name\":\"a\",\"destinationType\":\"Direct\",\"destinationId\":\"wqjz\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"fqdnpp\"},{\"name\":\"cfguam\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"amuvkg\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"jbblukgct\"}],\"pollingType\":\"Push\",\"lastOperation\":{\"details\":\"vsyydjlhdukcsq\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"RMA\",\"annotation\":\"loj\"},\"identity\":{\"principalId\":\"fjdymeqvnxpfy\",\"tenantId\":\"jspn\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"wefevt\":{\"principalId\":\"hq\",\"clientId\":\"hnatwvgcmcvdjl\"},\"uhkshx\":{\"principalId\":\"lqypmjcoyv\",\"clientId\":\"gk\"}}},\"location\":\"ckwbqwj\",\"tags\":{\"nvy\":\"mkwahrooyzho\",\"igukfkbsycb\":\"epacoerohex\",\"fb\":\"ymbnpeenlqtqyv\"},\"id\":\"avqdvfjdsqephtos\",\"name\":\"qtua\",\"type\":\"jwgujrc\"},{\"properties\":{\"networkPacketBrokerId\":\"xaeypyqoizf\",\"sourceTapRuleId\":\"syddqbwsc\",\"networkFabricIds\":[\"yeomiflrvfeow\",\"tshwfrhhasabva\",\"znwwu\",\"kbpgci\"],\"destinations\":[{\"name\":\"wtpwbjlpf\",\"destinationType\":\"IsolationDomain\",\"destinationId\":\"q\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"dgi\"},{\"name\":\"enyuks\",\"destinationType\":\"Direct\",\"destinationId\":\"zmpnxghamrplanch\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"mmxlmxejwy\"},{\"name\":\"jzbjwvtuekbbypqs\",\"destinationType\":\"Direct\",\"destinationId\":\"sbeqieiuxhj\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"dalnjjhrgkjjpcpi\"},{\"name\":\"lzyxvtajfjatoid\",\"destinationType\":\"Direct\",\"destinationId\":\"kurdgcpzan\",\"isolationDomainProperties\":{},\"destinationTapRuleId\":\"engnpuelrnanbrpk\"}],\"pollingType\":\"Pull\",\"lastOperation\":{\"details\":\"bagegjtjltckiwx\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\",\"annotation\":\"mdboefnhxhahuq\"},\"identity\":{\"principalId\":\"vzsodmokrqdbs\",\"tenantId\":\"qyjkotyp\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"mivapesbfzllej\":{\"principalId\":\"zzlocj\",\"clientId\":\"ppdbrbmcxbofpr\"},\"bxjtezujtou\":{\"principalId\":\"wsfvtghqx\",\"clientId\":\"blmfcleuovelvsp\"},\"ciexu\":{\"principalId\":\"de\",\"clientId\":\"mvssr\"}}},\"location\":\"mtgtgebymmc\",\"tags\":{\"icjo\":\"scbsxeha\"},\"id\":\"xolknshgwakptb\",\"name\":\"mbglmnlbnatln\",\"type\":\"hzzcdkxortdzzvhb\"}],\"nextLink\":\"kahophqwojdz\"}") .toObject(NetworkTapsListResult.class); - Assertions.assertEquals("unvnjqldrqq", model.value().get(0).location()); - Assertions.assertEquals("gusqlxlx", model.value().get(0).tags().get("dthfwlnvqa")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.value().get(0).identity().type()); - Assertions.assertEquals("qesqsqmiek", model.value().get(0).networkPacketBrokerId()); - Assertions.assertEquals("tykkvjjlba", model.value().get(0).destinations().get(0).name()); - Assertions.assertEquals(DestinationType.ISOLATION_DOMAIN, - model.value().get(0).destinations().get(0).destinationType()); - Assertions.assertEquals("urzyqo", model.value().get(0).destinations().get(0).destinationId()); - Assertions.assertEquals("umuej", model.value().get(0).destinations().get(0).destinationTapRuleId()); - Assertions.assertEquals(PollingType.PUSH, model.value().get(0).pollingType()); - Assertions.assertEquals("ggsxznb", model.value().get(0).annotation()); - Assertions.assertEquals("xcc", model.nextLink()); + Assertions.assertEquals("ntk", model.value().get(0).location()); + Assertions.assertEquals("mmddslwnlg", model.value().get(0).tags().get("dlhmks")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.value().get(0).identity().type()); + Assertions.assertEquals("lyfzmnxr", model.value().get(0).networkPacketBrokerId()); + Assertions.assertEquals("zxpzloovha", model.value().get(0).destinations().get(0).name()); + Assertions.assertEquals(DestinationType.DIRECT, model.value().get(0).destinations().get(0).destinationType()); + Assertions.assertEquals("ywtcvz", model.value().get(0).destinations().get(0).destinationId()); + Assertions.assertEquals("kfeomotquqlqeyis", model.value().get(0).destinations().get(0).destinationTapRuleId()); + Assertions.assertEquals(PollingType.PULL, model.value().get(0).pollingType()); + Assertions.assertEquals("bdpnuvhgcgrllyy", model.value().get(0).annotation()); + Assertions.assertEquals("kahophqwojdz", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectInnerTests.java index 0c650b9b116f8..01f171b45111e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectInnerTests.java @@ -29,163 +29,169 @@ public final class NetworkToNetworkInterconnectInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkToNetworkInterconnectInner model = BinaryData.fromString( - "{\"properties\":{\"nniType\":\"NPB\",\"isManagementType\":\"False\",\"useOptionB\":\"True\",\"layer2Configuration\":{\"mtu\":1562445388,\"interfaces\":[\"jeazrahelhbimyii\",\"qamcthtpqgfz\"]},\"optionBLayer3Configuration\":{\"peerASN\":2553330763143681525,\"vlanId\":1232885828,\"fabricASN\":690013592808526718,\"peLoopbackIpAddress\":[\"flgzh\",\"wjg\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{\"maximumRoutes\":89518490},{\"maximumRoutes\":17084454},{\"maximumRoutes\":260548114},{\"maximumRoutes\":1204669739}],\"primaryIpv4Prefix\":\"pccxziv\",\"primaryIpv6Prefix\":\"mhzghhhkvnnjdtu\",\"secondaryIpv4Prefix\":\"zvhn\",\"secondaryIpv6Prefix\":\"pmxnht\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1663764462,\"multiplier\":843096355},\"ipv4Routes\":[{\"prefix\":\"wvtlgxy\",\"nextHop\":[\"swequflzyyopoay\",\"wwgw\"]},{\"prefix\":\"ubotbvufrkw\",\"nextHop\":[\"emimdtnpowewjsk\",\"eeedddrftfquulp\"]},{\"prefix\":\"lhs\",\"nextHop\":[\"geeuwbrnq\",\"xfedqnetdqw\"]},{\"prefix\":\"nxoqgv\",\"nextHop\":[\"pgg\"]}],\"ipv6Routes\":[{\"prefix\":\"eyobqaj\",\"nextHop\":[\"irv\",\"vrvkgpogplb\",\"uvlnhxnrnjhinaeg\"]},{\"prefix\":\"sbxnep\",\"nextHop\":[\"jmoplukfy\",\"kfhsovadkr\"]},{\"prefix\":\"jxmwqpdkesj\",\"nextHop\":[\"zkqmx\",\"poriwbwggijtspzj\"]},{\"prefix\":\"rrh\",\"nextHop\":[\"wsbzrhdugquhtr\",\"zfrunjfhrjhiycba\",\"seqnczkv\",\"hvtuwyjsqwzsz\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":866629166,\"multiplier\":1326282206},\"ipv4Routes\":[{\"prefix\":\"yskwwun\",\"nextHop\":[\"czavoj\",\"slhip\",\"ukvbljpxpr\"]}],\"ipv6Routes\":[{\"prefix\":\"hyluqalpcufj\",\"nextHop\":[\"xtiztqdstahh\"]},{\"prefix\":\"saaxxsrit\",\"nextHop\":[\"wbaaes\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"fmxwoqot\",\"importIpv6RoutePolicyId\":\"qb\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"srv\",\"exportIpv6RoutePolicyId\":\"tistyikjhorlx\"},\"egressAclId\":\"ypk\",\"ingressAclId\":\"nycntr\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"mbqjtsuh\",\"nextHop\":[\"to\",\"tdyqav\",\"x\"]}],\"ipv6Routes\":[{\"prefix\":\"zxsyaks\",\"nextHop\":[\"paamihwb\",\"hvwt\"]},{\"prefix\":\"pbgchcgsfzhb\",\"nextHop\":[\"iys\"]},{\"prefix\":\"bjsdj\",\"nextHop\":[\"xeysgwkcffe\"]},{\"prefix\":\"znzcbivoveomkhfe\",\"nextHop\":[\"ooplfpohim\",\"ckycjpeebzn\"]}]},\"lastOperation\":{\"details\":\"xsuloutnpb\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\"},\"id\":\"pncdmwkhup\",\"name\":\"hsldqd\",\"type\":\"a\"}") + "{\"properties\":{\"nniType\":\"CE\",\"isManagementType\":\"True\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":115677310,\"interfaces\":[\"o\",\"qlyoazyfbkm\",\"ldzmxojzsvmaigb\"]},\"optionBLayer3Configuration\":{\"peerASN\":4822642821710788627,\"vlanId\":484331682,\"fabricASN\":2124630578306442103,\"peLoopbackIpAddress\":[\"eecbpergwlc\",\"ihba\",\"yqsokknpugzjwdiz\",\"rjixiujzkcsexg\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{\"maximumRoutes\":1064698713},{\"maximumRoutes\":381664345},{\"maximumRoutes\":483535626},{\"maximumRoutes\":1025504633}],\"primaryIpv4Prefix\":\"b\",\"primaryIpv6Prefix\":\"lmnwzoknvuqddlgg\",\"secondaryIpv4Prefix\":\"a\",\"secondaryIpv6Prefix\":\"gzubakdl\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1616036501,\"multiplier\":1079970815},\"ipv4Routes\":[{\"prefix\":\"e\",\"nextHop\":[\"kmixwewzls\",\"gsmepnqvxgvoh\",\"bthhxmoevvude\"]}],\"ipv6Routes\":[{\"prefix\":\"hgannvwxqhpjhub\",\"nextHop\":[\"xvzg\",\"ybvrhh\"]},{\"prefix\":\"galgxnwfm\",\"nextHop\":[\"zta\"]},{\"prefix\":\"ebpamq\",\"nextHop\":[\"cssanybzzghv\",\"fe\",\"myjsvcdhly\",\"kh\"]},{\"prefix\":\"okj\",\"nextHop\":[\"zxezriwgo\",\"wapcqksaaapxjhc\",\"tibenwsd\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":341118025,\"multiplier\":1456578315},\"ipv4Routes\":[{\"prefix\":\"qklpmvzp\",\"nextHop\":[\"eszyaqgomlbmfgge\",\"kfe\",\"cjjlwkyeahhhut\"]},{\"prefix\":\"ulnrfcqufmcih\",\"nextHop\":[\"nowrerjpx\",\"tchdw\",\"qqidqim\"]},{\"prefix\":\"gbbfjmdgjv\",\"nextHop\":[\"hmpmhef\",\"yaphqeofytlsnlo\"]}],\"ipv6Routes\":[{\"prefix\":\"mcqixuanccqvjf\",\"nextHop\":[\"fqpmquxpj\",\"cfaar\"]},{\"prefix\":\"dcio\",\"nextHop\":[\"ufzg\",\"grblwalaossnqeb\",\"otbptg\"]},{\"prefix\":\"sman\",\"nextHop\":[\"rw\",\"fmd\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"vtamqwzmnobfew\",\"importIpv6RoutePolicyId\":\"sibxovuqo\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"kblndy\",\"exportIpv6RoutePolicyId\":\"wgycvtqnzjc\"},\"egressAclId\":\"qzhembtbw\",\"ingressAclId\":\"lbadp\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"ajvmvvlooubsfxip\",\"nextHop\":[\"opskgocjomlupfa\",\"usjcd\"]},{\"prefix\":\"uslgdwzrgdqyx\",\"nextHop\":[\"clgrcavq\"]},{\"prefix\":\"wyzoqzkmqcwwsjn\",\"nextHop\":[\"ixepbntqqwwg\",\"gsqxilefej\",\"ewrznequqynttw\",\"nhajksbsyogjmq\"]},{\"prefix\":\"hgcydijnmcvj\",\"nextHop\":[\"sfcriqxzix\",\"dlxwmvc\",\"kucpxpyafrwrg\",\"rogeuvmkrspnr\"]}],\"ipv6Routes\":[{\"prefix\":\"emlzofrsnqplj\",\"nextHop\":[\"tex\"]},{\"prefix\":\"tikelpmwgr\",\"nextHop\":[\"bwudhvosgjzs\"]},{\"prefix\":\"uezalivdfwgqj\",\"nextHop\":[\"wc\",\"frxgg\",\"zkhzpriqi\"]}]},\"lastOperation\":{\"details\":\"nerru\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"RMA\"},\"id\":\"sjnpckpluj\",\"name\":\"duonbdawsa\",\"type\":\"pl\"}") .toObject(NetworkToNetworkInterconnectInner.class); - Assertions.assertEquals(NniType.NPB, model.nniType()); - Assertions.assertEquals(IsManagementType.FALSE, model.isManagementType()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.useOptionB()); - Assertions.assertEquals(1562445388, model.layer2Configuration().mtu()); - Assertions.assertEquals("jeazrahelhbimyii", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("pccxziv", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("mhzghhhkvnnjdtu", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("zvhn", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("pmxnht", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(2553330763143681525L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1232885828, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("flgzh", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(NniType.CE, model.nniType()); + Assertions.assertEquals(IsManagementType.TRUE, model.isManagementType()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.useOptionB()); + Assertions.assertEquals(115677310, model.layer2Configuration().mtu()); + Assertions.assertEquals("o", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("b", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("lmnwzoknvuqddlgg", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("a", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("gzubakdl", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(4822642821710788627L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(484331682, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("eecbpergwlc", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(89518490, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1663764462, + Assertions.assertEquals(1064698713, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1616036501, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(843096355, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("wvtlgxy", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("swequflzyyopoay", - model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("eyobqaj", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("irv", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(866629166, + Assertions.assertEquals(1079970815, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("e", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("kmixwewzls", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("hgannvwxqhpjhub", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("xvzg", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(341118025, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1326282206, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("yskwwun", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("czavoj", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("hyluqalpcufj", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("xtiztqdstahh", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fmxwoqot", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("qb", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("srv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("tistyikjhorlx", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("ypk", model.egressAclId()); - Assertions.assertEquals("nycntr", model.ingressAclId()); + Assertions.assertEquals(1456578315, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("qklpmvzp", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("eszyaqgomlbmfgge", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("mcqixuanccqvjf", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fqpmquxpj", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("vtamqwzmnobfew", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("sibxovuqo", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("kblndy", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("wgycvtqnzjc", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("qzhembtbw", model.egressAclId()); + Assertions.assertEquals("lbadp", model.ingressAclId()); Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); - Assertions.assertEquals("mbqjtsuh", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("to", + Assertions.assertEquals("ajvmvvlooubsfxip", + model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("opskgocjomlupfa", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("zxsyaks", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("paamihwb", + Assertions.assertEquals("emlzofrsnqplj", + model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("tex", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NetworkToNetworkInterconnectInner model = new NetworkToNetworkInterconnectInner().withNniType(NniType.NPB) - .withIsManagementType(IsManagementType.FALSE) - .withUseOptionB(BooleanEnumProperty.TRUE) - .withLayer2Configuration(new Layer2Configuration().withMtu(1562445388) - .withInterfaces(Arrays.asList("jeazrahelhbimyii", "qamcthtpqgfz"))) - .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("pccxziv") - .withPrimaryIpv6Prefix("mhzghhhkvnnjdtu") - .withSecondaryIpv4Prefix("zvhn") - .withSecondaryIpv6Prefix("pmxnht") - .withPeerAsn(2553330763143681525L) - .withVlanId(1232885828) - .withPeLoopbackIpAddress(Arrays.asList("flgzh", "wjg")) + NetworkToNetworkInterconnectInner model = new NetworkToNetworkInterconnectInner().withNniType(NniType.CE) + .withIsManagementType(IsManagementType.TRUE) + .withUseOptionB(BooleanEnumProperty.FALSE) + .withLayer2Configuration(new Layer2Configuration().withMtu(115677310) + .withInterfaces(Arrays.asList("o", "qlyoazyfbkm", "ldzmxojzsvmaigb"))) + .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("b") + .withPrimaryIpv6Prefix("lmnwzoknvuqddlgg") + .withSecondaryIpv4Prefix("a") + .withSecondaryIpv6Prefix("gzubakdl") + .withPeerAsn(4822642821710788627L) + .withVlanId(484331682) + .withPeLoopbackIpAddress(Arrays.asList("eecbpergwlc", "ihba", "yqsokknpugzjwdiz", "rjixiujzkcsexg")) .withBmpConfiguration(new NniBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(89518490), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(17084454), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(260548114), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1204669739)))) - .withNpbStaticRouteConfiguration( - new NpbStaticRouteConfiguration() - .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1663764462).withMultiplier(843096355)) - .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("wvtlgxy") - .withNextHop(Arrays.asList("swequflzyyopoay", "wwgw")), - new StaticRouteProperties().withPrefix("ubotbvufrkw") - .withNextHop(Arrays.asList("emimdtnpowewjsk", "eeedddrftfquulp")), - new StaticRouteProperties().withPrefix("lhs") - .withNextHop(Arrays.asList("geeuwbrnq", "xfedqnetdqw")), - new StaticRouteProperties().withPrefix("nxoqgv").withNextHop(Arrays.asList("pgg")))) - .withIpv6Routes( - Arrays - .asList( - new StaticRouteProperties().withPrefix("eyobqaj") - .withNextHop(Arrays.asList("irv", "vrvkgpogplb", "uvlnhxnrnjhinaeg")), - new StaticRouteProperties().withPrefix("sbxnep") - .withNextHop(Arrays.asList("jmoplukfy", "kfhsovadkr")), - new StaticRouteProperties().withPrefix("jxmwqpdkesj") - .withNextHop(Arrays.asList("zkqmx", "poriwbwggijtspzj")), - new StaticRouteProperties().withPrefix("rrh") - .withNextHop(Arrays.asList("wsbzrhdugquhtr", "zfrunjfhrjhiycba", "seqnczkv", - "hvtuwyjsqwzsz"))))) + .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1064698713), + new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(381664345), + new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(483535626), + new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1025504633)))) + .withNpbStaticRouteConfiguration(new NpbStaticRouteConfiguration() + .withBfdConfiguration( + new BfdConfiguration().withIntervalInMilliSeconds(1616036501).withMultiplier(1079970815)) + .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("e") + .withNextHop(Arrays.asList("kmixwewzls", "gsmepnqvxgvoh", "bthhxmoevvude")))) + .withIpv6Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("hgannvwxqhpjhub") + .withNextHop(Arrays.asList("xvzg", "ybvrhh")), + new StaticRouteProperties().withPrefix("galgxnwfm").withNextHop(Arrays.asList("zta")), + new StaticRouteProperties().withPrefix("ebpamq") + .withNextHop(Arrays.asList("cssanybzzghv", "fe", "myjsvcdhly", "kh")), + new StaticRouteProperties().withPrefix("okj") + .withNextHop(Arrays.asList("zxezriwgo", "wapcqksaaapxjhc", "tibenwsd"))))) .withStaticRouteConfiguration(new NniStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(866629166).withMultiplier(1326282206)) - .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("yskwwun") - .withNextHop(Arrays.asList("czavoj", "slhip", "ukvbljpxpr")))) + new BfdConfiguration().withIntervalInMilliSeconds(341118025).withMultiplier(1456578315)) + .withIpv4Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("qklpmvzp") + .withNextHop(Arrays.asList("eszyaqgomlbmfgge", "kfe", "cjjlwkyeahhhut")), + new StaticRouteProperties().withPrefix("ulnrfcqufmcih") + .withNextHop(Arrays.asList("nowrerjpx", "tchdw", "qqidqim")), + new StaticRouteProperties().withPrefix("gbbfjmdgjv") + .withNextHop(Arrays.asList("hmpmhef", "yaphqeofytlsnlo")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("hyluqalpcufj").withNextHop(Arrays.asList("xtiztqdstahh")), - new StaticRouteProperties().withPrefix("saaxxsrit").withNextHop(Arrays.asList("wbaaes"))))) - .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("fmxwoqot") - .withImportIpv6RoutePolicyId("qb")) - .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("srv") - .withExportIpv6RoutePolicyId("tistyikjhorlx")) - .withEgressAclId("ypk") - .withIngressAclId("nycntr") + new StaticRouteProperties().withPrefix("mcqixuanccqvjf") + .withNextHop(Arrays.asList("fqpmquxpj", "cfaar")), + new StaticRouteProperties().withPrefix("dcio") + .withNextHop(Arrays.asList("ufzg", "grblwalaossnqeb", "otbptg")), + new StaticRouteProperties().withPrefix("sman").withNextHop(Arrays.asList("rw", "fmd"))))) + .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("vtamqwzmnobfew") + .withImportIpv6RoutePolicyId("sibxovuqo")) + .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("kblndy") + .withExportIpv6RoutePolicyId("wgycvtqnzjc")) + .withEgressAclId("qzhembtbw") + .withIngressAclId("lbadp") .withMicroBfdState(MicroBfdState.DISABLED) .withConditionalDefaultRouteConfiguration(new ConditionalDefaultRouteProperties() .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("mbqjtsuh").withNextHop(Arrays.asList("to", "tdyqav", "x")))) + new StaticRouteProperties().withPrefix("ajvmvvlooubsfxip") + .withNextHop(Arrays.asList("opskgocjomlupfa", "usjcd")), + new StaticRouteProperties().withPrefix("uslgdwzrgdqyx").withNextHop(Arrays.asList("clgrcavq")), + new StaticRouteProperties().withPrefix("wyzoqzkmqcwwsjn") + .withNextHop(Arrays.asList("ixepbntqqwwg", "gsqxilefej", "ewrznequqynttw", "nhajksbsyogjmq")), + new StaticRouteProperties().withPrefix("hgcydijnmcvj") + .withNextHop(Arrays.asList("sfcriqxzix", "dlxwmvc", "kucpxpyafrwrg", "rogeuvmkrspnr")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("zxsyaks").withNextHop(Arrays.asList("paamihwb", "hvwt")), - new StaticRouteProperties().withPrefix("pbgchcgsfzhb").withNextHop(Arrays.asList("iys")), - new StaticRouteProperties().withPrefix("bjsdj").withNextHop(Arrays.asList("xeysgwkcffe")), - new StaticRouteProperties().withPrefix("znzcbivoveomkhfe") - .withNextHop(Arrays.asList("ooplfpohim", "ckycjpeebzn"))))); + new StaticRouteProperties().withPrefix("emlzofrsnqplj").withNextHop(Arrays.asList("tex")), + new StaticRouteProperties().withPrefix("tikelpmwgr").withNextHop(Arrays.asList("bwudhvosgjzs")), + new StaticRouteProperties().withPrefix("uezalivdfwgqj") + .withNextHop(Arrays.asList("wc", "frxgg", "zkhzpriqi"))))); model = BinaryData.fromObject(model).toObject(NetworkToNetworkInterconnectInner.class); - Assertions.assertEquals(NniType.NPB, model.nniType()); - Assertions.assertEquals(IsManagementType.FALSE, model.isManagementType()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.useOptionB()); - Assertions.assertEquals(1562445388, model.layer2Configuration().mtu()); - Assertions.assertEquals("jeazrahelhbimyii", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("pccxziv", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("mhzghhhkvnnjdtu", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("zvhn", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("pmxnht", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(2553330763143681525L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1232885828, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("flgzh", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(NniType.CE, model.nniType()); + Assertions.assertEquals(IsManagementType.TRUE, model.isManagementType()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.useOptionB()); + Assertions.assertEquals(115677310, model.layer2Configuration().mtu()); + Assertions.assertEquals("o", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("b", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("lmnwzoknvuqddlgg", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("a", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("gzubakdl", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(4822642821710788627L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(484331682, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("eecbpergwlc", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.ENABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(89518490, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1663764462, + Assertions.assertEquals(1064698713, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1616036501, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(843096355, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("wvtlgxy", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("swequflzyyopoay", - model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("eyobqaj", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("irv", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(866629166, + Assertions.assertEquals(1079970815, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("e", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("kmixwewzls", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("hgannvwxqhpjhub", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("xvzg", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(341118025, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1326282206, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("yskwwun", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("czavoj", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("hyluqalpcufj", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("xtiztqdstahh", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fmxwoqot", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("qb", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("srv", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("tistyikjhorlx", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("ypk", model.egressAclId()); - Assertions.assertEquals("nycntr", model.ingressAclId()); + Assertions.assertEquals(1456578315, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("qklpmvzp", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("eszyaqgomlbmfgge", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("mcqixuanccqvjf", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fqpmquxpj", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("vtamqwzmnobfew", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("sibxovuqo", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("kblndy", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("wgycvtqnzjc", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("qzhembtbw", model.egressAclId()); + Assertions.assertEquals("lbadp", model.ingressAclId()); Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); - Assertions.assertEquals("mbqjtsuh", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("to", + Assertions.assertEquals("ajvmvvlooubsfxip", + model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("opskgocjomlupfa", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("zxsyaks", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("paamihwb", + Assertions.assertEquals("emlzofrsnqplj", + model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("tex", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchPropertiesTests.java index 750e94245a106..d1fac3ee2c162 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchPropertiesTests.java @@ -25,126 +25,135 @@ public final class NetworkToNetworkInterconnectPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkToNetworkInterconnectPatchProperties model = BinaryData.fromString( - "{\"layer2Configuration\":{\"mtu\":1033358583,\"interfaces\":[\"ajdexq\",\"awexizb\",\"zetjizwh\",\"nbmajvvyxtvvx\"]},\"optionBLayer3Configuration\":{\"peerASN\":7771391226300618246,\"vlanId\":1507685915,\"fabricASN\":4384360717439789713,\"peLoopbackIpAddress\":[\"mlngfwhrm\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{\"maximumRoutes\":574178691},{\"maximumRoutes\":840397264},{\"maximumRoutes\":177362954},{\"maximumRoutes\":281550722}],\"primaryIpv4Prefix\":\"x\",\"primaryIpv6Prefix\":\"hh\",\"secondaryIpv4Prefix\":\"fndcbsyhlud\",\"secondaryIpv6Prefix\":\"kkovohwv\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1439333966,\"multiplier\":974254327},\"ipv4Routes\":[{\"prefix\":\"dtacntjnaffhv\",\"nextHop\":[\"ia\"]},{\"prefix\":\"btws\",\"nextHop\":[\"fku\",\"ikm\"]},{\"prefix\":\"hhqsxjbjkewrigl\",\"nextHop\":[\"trefeclfl\",\"cjffzwn\"]}],\"ipv6Routes\":[{\"prefix\":\"efx\",\"nextHop\":[\"ztpcjptnntqrcjq\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":374487754,\"multiplier\":1718231355},\"ipv4Routes\":[{\"prefix\":\"gsjbi\",\"nextHop\":[\"gwviqehmdq\",\"aolid\",\"dfs\",\"vkjcim\"]},{\"prefix\":\"rsvxphtjnhptj\",\"nextHop\":[\"k\"]},{\"prefix\":\"cyzhimmydtdtftmi\",\"nextHop\":[\"zjdurgyz\"]},{\"prefix\":\"slazprkqoyimx\",\"nextHop\":[\"gkttea\",\"bgacnqpjuytv\",\"deylpbyb\",\"is\"]}],\"ipv6Routes\":[{\"prefix\":\"fmxgl\",\"nextHop\":[\"dj\",\"au\",\"fshznu\",\"ttuhaaax\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"djmdkqtxfr\",\"importIpv6RoutePolicyId\":\"ecxstowa\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"xuihwesr\",\"exportIpv6RoutePolicyId\":\"aqgblkkncyp\"},\"egressAclId\":\"evspsaney\",\"ingressAclId\":\"erpiobnhrfbrj\",\"microBfdState\":\"Enabled\"}") + "{\"layer2Configuration\":{\"mtu\":2081472947,\"interfaces\":[\"ucrln\",\"wnuwkkfzzetl\"]},\"optionBLayer3Configuration\":{\"peerASN\":4618186478161570001,\"vlanId\":932152859,\"fabricASN\":7335254176077820012,\"peLoopbackIpAddress\":[\"v\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":904264888}],\"primaryIpv4Prefix\":\"pddarcbcdwhslxe\",\"primaryIpv6Prefix\":\"j\",\"secondaryIpv4Prefix\":\"knmstbdoprwkamp\",\"secondaryIpv6Prefix\":\"wpbldz\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":308799953,\"multiplier\":2014578856},\"ipv4Routes\":[{\"prefix\":\"uzymhlhihqknlv\",\"nextHop\":[\"n\",\"zkopai\",\"ldcpudkhquxsyj\"]},{\"prefix\":\"fpgvedrobujnjgyb\",\"nextHop\":[\"mqx\",\"gid\",\"llnjg\",\"pskgrhn\"]},{\"prefix\":\"tslgsazuqznghx\",\"nextHop\":[\"yqz\",\"sdkpvnrvzw\",\"ffxsfybntmveh\"]}],\"ipv6Routes\":[{\"prefix\":\"lyuvbgtzqzqwe\",\"nextHop\":[\"dybnairvhpqsvb\",\"eoge\",\"trcnqnvnc\",\"rfcs\"]},{\"prefix\":\"vjnkoiz\",\"nextHop\":[\"sqbibaa\",\"gicovjt\",\"vwrmjx\",\"vuodnxczbass\"]},{\"prefix\":\"fyyl\",\"nextHop\":[\"peygkbzb\",\"o\",\"sybxhqvov\",\"pmhttuvsqjsrvjnq\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1299836677,\"multiplier\":342522478},\"ipv4Routes\":[{\"prefix\":\"incnrecjbiywev\",\"nextHop\":[\"gdrmnszdosmjsqsv\",\"v\"]},{\"prefix\":\"xtcwgh\",\"nextHop\":[\"aevhgsulwvg\",\"euf\",\"gvf\"]},{\"prefix\":\"juzkilmc\",\"nextHop\":[\"uhyzekyp\",\"ovljlbzdlbybpaxh\",\"zyso\"]},{\"prefix\":\"snwbhanzgesfhsha\",\"nextHop\":[\"ahn\",\"zpbyfyvynpmggq\"]}],\"ipv6Routes\":[{\"prefix\":\"envqbugihcd\",\"nextHop\":[\"oizorbloe\",\"zsaxzgkqwvdepp\",\"naphifkfrpmpl\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"ebrmjjnfp\",\"importIpv6RoutePolicyId\":\"tbttpkimskhnkkh\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"rsmhrc\",\"exportIpv6RoutePolicyId\":\"lyc\"},\"egressAclId\":\"okuthrv\",\"ingressAclId\":\"nzbnvms\",\"microBfdState\":\"Disabled\"}") .toObject(NetworkToNetworkInterconnectPatchProperties.class); - Assertions.assertEquals(1033358583, model.layer2Configuration().mtu()); - Assertions.assertEquals("ajdexq", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("x", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("hh", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("fndcbsyhlud", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("kkovohwv", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(7771391226300618246L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1507685915, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("mlngfwhrm", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(2081472947, model.layer2Configuration().mtu()); + Assertions.assertEquals("ucrln", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("pddarcbcdwhslxe", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("j", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("knmstbdoprwkamp", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("wpbldz", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(4618186478161570001L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(932152859, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("v", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(574178691, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1439333966, + Assertions.assertEquals(904264888, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(308799953, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(974254327, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("dtacntjnaffhv", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("ia", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("efx", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("ztpcjptnntqrcjq", + Assertions.assertEquals(2014578856, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("uzymhlhihqknlv", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("n", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("lyuvbgtzqzqwe", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("dybnairvhpqsvb", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(374487754, + Assertions.assertEquals(1299836677, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1718231355, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("gsjbi", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("gwviqehmdq", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fmxgl", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("dj", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("djmdkqtxfr", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("ecxstowa", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("xuihwesr", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("aqgblkkncyp", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("evspsaney", model.egressAclId()); - Assertions.assertEquals("erpiobnhrfbrj", model.ingressAclId()); - Assertions.assertEquals(MicroBfdState.ENABLED, model.microBfdState()); + Assertions.assertEquals(342522478, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("incnrecjbiywev", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("gdrmnszdosmjsqsv", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("envqbugihcd", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("oizorbloe", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("ebrmjjnfp", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("tbttpkimskhnkkh", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("rsmhrc", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("lyc", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("okuthrv", model.egressAclId()); + Assertions.assertEquals("nzbnvms", model.ingressAclId()); + Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkToNetworkInterconnectPatchProperties model = new NetworkToNetworkInterconnectPatchProperties() - .withLayer2Configuration(new Layer2ConfigurationPatch().withMtu(1033358583) - .withInterfaces(Arrays.asList("ajdexq", "awexizb", "zetjizwh", "nbmajvvyxtvvx"))) - .withOptionBLayer3Configuration(new OptionBLayer3ConfigurationPatchProperties().withPrimaryIpv4Prefix("x") - .withPrimaryIpv6Prefix("hh") - .withSecondaryIpv4Prefix("fndcbsyhlud") - .withSecondaryIpv6Prefix("kkovohwv") - .withPeerAsn(7771391226300618246L) - .withVlanId(1507685915) - .withPeLoopbackIpAddress(Arrays.asList("mlngfwhrm")) - .withBmpConfiguration(new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withPrefixLimits( - Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(574178691), - new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(840397264), - new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(177362954), - new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(281550722)))) + .withLayer2Configuration(new Layer2ConfigurationPatch().withMtu(2081472947) + .withInterfaces(Arrays.asList("ucrln", "wnuwkkfzzetl"))) + .withOptionBLayer3Configuration( + new OptionBLayer3ConfigurationPatchProperties().withPrimaryIpv4Prefix("pddarcbcdwhslxe") + .withPrimaryIpv6Prefix("j") + .withSecondaryIpv4Prefix("knmstbdoprwkamp") + .withSecondaryIpv6Prefix("wpbldz") + .withPeerAsn(4618186478161570001L) + .withVlanId(932152859) + .withPeLoopbackIpAddress(Arrays.asList("v")) + .withBmpConfiguration( + new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED)) + .withPrefixLimits( + Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(904264888)))) .withNpbStaticRouteConfiguration(new NpbStaticRouteConfigurationPatch() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(1439333966).withMultiplier(974254327)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(308799953).withMultiplier(2014578856)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("dtacntjnaffhv").withNextHop(Arrays.asList("ia")), - new StaticRoutePatchProperties().withPrefix("btws").withNextHop(Arrays.asList("fku", "ikm")), - new StaticRoutePatchProperties().withPrefix("hhqsxjbjkewrigl") - .withNextHop(Arrays.asList("trefeclfl", "cjffzwn")))) + new StaticRoutePatchProperties().withPrefix("uzymhlhihqknlv") + .withNextHop(Arrays.asList("n", "zkopai", "ldcpudkhquxsyj")), + new StaticRoutePatchProperties().withPrefix("fpgvedrobujnjgyb") + .withNextHop(Arrays.asList("mqx", "gid", "llnjg", "pskgrhn")), + new StaticRoutePatchProperties().withPrefix("tslgsazuqznghx") + .withNextHop(Arrays.asList("yqz", "sdkpvnrvzw", "ffxsfybntmveh")))) .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("efx").withNextHop(Arrays.asList("ztpcjptnntqrcjq"))))) + new StaticRoutePatchProperties().withPrefix("lyuvbgtzqzqwe") + .withNextHop(Arrays.asList("dybnairvhpqsvb", "eoge", "trcnqnvnc", "rfcs")), + new StaticRoutePatchProperties().withPrefix("vjnkoiz") + .withNextHop(Arrays.asList("sqbibaa", "gicovjt", "vwrmjx", "vuodnxczbass")), + new StaticRoutePatchProperties().withPrefix("fyyl") + .withNextHop(Arrays.asList("peygkbzb", "o", "sybxhqvov", "pmhttuvsqjsrvjnq"))))) .withStaticRouteConfiguration(new NniStaticRoutePatchConfiguration() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(374487754).withMultiplier(1718231355)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1299836677).withMultiplier(342522478)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("gsjbi") - .withNextHop(Arrays.asList("gwviqehmdq", "aolid", "dfs", "vkjcim")), - new StaticRoutePatchProperties().withPrefix("rsvxphtjnhptj").withNextHop(Arrays.asList("k")), - new StaticRoutePatchProperties().withPrefix("cyzhimmydtdtftmi") - .withNextHop(Arrays.asList("zjdurgyz")), - new StaticRoutePatchProperties().withPrefix("slazprkqoyimx") - .withNextHop(Arrays.asList("gkttea", "bgacnqpjuytv", "deylpbyb", "is")))) - .withIpv6Routes(Arrays.asList(new StaticRoutePatchProperties().withPrefix("fmxgl") - .withNextHop(Arrays.asList("dj", "au", "fshznu", "ttuhaaax"))))) - .withImportRoutePolicy(new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId("djmdkqtxfr") - .withImportIpv6RoutePolicyId("ecxstowa")) - .withExportRoutePolicy(new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId("xuihwesr") - .withExportIpv6RoutePolicyId("aqgblkkncyp")) - .withEgressAclId("evspsaney") - .withIngressAclId("erpiobnhrfbrj") - .withMicroBfdState(MicroBfdState.ENABLED); + new StaticRoutePatchProperties().withPrefix("incnrecjbiywev") + .withNextHop(Arrays.asList("gdrmnszdosmjsqsv", "v")), + new StaticRoutePatchProperties().withPrefix("xtcwgh") + .withNextHop(Arrays.asList("aevhgsulwvg", "euf", "gvf")), + new StaticRoutePatchProperties().withPrefix("juzkilmc") + .withNextHop(Arrays.asList("uhyzekyp", "ovljlbzdlbybpaxh", "zyso")), + new StaticRoutePatchProperties().withPrefix("snwbhanzgesfhsha") + .withNextHop(Arrays.asList("ahn", "zpbyfyvynpmggq")))) + .withIpv6Routes(Arrays.asList(new StaticRoutePatchProperties().withPrefix("envqbugihcd") + .withNextHop(Arrays.asList("oizorbloe", "zsaxzgkqwvdepp", "naphifkfrpmpl"))))) + .withImportRoutePolicy(new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId("ebrmjjnfp") + .withImportIpv6RoutePolicyId("tbttpkimskhnkkh")) + .withExportRoutePolicy(new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId("rsmhrc") + .withExportIpv6RoutePolicyId("lyc")) + .withEgressAclId("okuthrv") + .withIngressAclId("nzbnvms") + .withMicroBfdState(MicroBfdState.DISABLED); model = BinaryData.fromObject(model).toObject(NetworkToNetworkInterconnectPatchProperties.class); - Assertions.assertEquals(1033358583, model.layer2Configuration().mtu()); - Assertions.assertEquals("ajdexq", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("x", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("hh", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("fndcbsyhlud", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("kkovohwv", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(7771391226300618246L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1507685915, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("mlngfwhrm", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(2081472947, model.layer2Configuration().mtu()); + Assertions.assertEquals("ucrln", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("pddarcbcdwhslxe", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("j", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("knmstbdoprwkamp", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("wpbldz", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(4618186478161570001L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(932152859, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("v", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(574178691, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1439333966, + Assertions.assertEquals(904264888, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(308799953, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(974254327, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("dtacntjnaffhv", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("ia", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("efx", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("ztpcjptnntqrcjq", + Assertions.assertEquals(2014578856, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("uzymhlhihqknlv", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("n", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("lyuvbgtzqzqwe", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("dybnairvhpqsvb", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(374487754, + Assertions.assertEquals(1299836677, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1718231355, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("gsjbi", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("gwviqehmdq", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fmxgl", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("dj", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("djmdkqtxfr", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("ecxstowa", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("xuihwesr", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("aqgblkkncyp", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("evspsaney", model.egressAclId()); - Assertions.assertEquals("erpiobnhrfbrj", model.ingressAclId()); - Assertions.assertEquals(MicroBfdState.ENABLED, model.microBfdState()); + Assertions.assertEquals(342522478, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("incnrecjbiywev", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("gdrmnszdosmjsqsv", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("envqbugihcd", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("oizorbloe", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("ebrmjjnfp", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("tbttpkimskhnkkh", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("rsmhrc", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("lyc", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("okuthrv", model.egressAclId()); + Assertions.assertEquals("nzbnvms", model.ingressAclId()); + Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchTests.java index b9d96a3b8a784..293b8f06d22ef 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPatchTests.java @@ -25,133 +25,130 @@ public final class NetworkToNetworkInterconnectPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkToNetworkInterconnectPatch model = BinaryData.fromString( - "{\"properties\":{\"layer2Configuration\":{\"mtu\":1215560654,\"interfaces\":[\"pstizsyqagqllcb\"]},\"optionBLayer3Configuration\":{\"peerASN\":6745249249858785189,\"vlanId\":1810101357,\"fabricASN\":474427810519123884,\"peLoopbackIpAddress\":[\"rqwfyybptmjjr\",\"ogykugdlavsav\",\"thkslgeuufkb\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":2085433899}],\"primaryIpv4Prefix\":\"jybdnbycsbto\",\"primaryIpv6Prefix\":\"azdjmofsvpzxg\",\"secondaryIpv4Prefix\":\"wxuymlfjymg\",\"secondaryIpv6Prefix\":\"mszcfy\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1930021246,\"multiplier\":1322704124},\"ipv4Routes\":[{\"prefix\":\"dpagk\",\"nextHop\":[\"maovrgihl\",\"zffewvqkyc\",\"cgeipqxxsdyaf\"]},{\"prefix\":\"tydsmm\",\"nextHop\":[\"hg\",\"lejqzhpvhxp\",\"adj\",\"eullgfyog\"]},{\"prefix\":\"qscjpvqerqxk\",\"nextHop\":[\"wdzpzl\"]},{\"prefix\":\"cuex\",\"nextHop\":[\"pwwvmbjecfw\",\"bghnkfrwx\",\"hl\",\"dsnjzpchiypb\"]}],\"ipv6Routes\":[{\"prefix\":\"i\",\"nextHop\":[\"ktqoze\",\"brsrjzgkbrau\",\"bo\",\"fq\"]},{\"prefix\":\"nqbjxgjwsrer\",\"nextHop\":[\"buudrizwkwkjxla\",\"cedikqelssyb\"]},{\"prefix\":\"bevgbn\",\"nextHop\":[\"mmkiqhypwtmzy\",\"jy\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":60005380,\"multiplier\":2109159418},\"ipv4Routes\":[{\"prefix\":\"wiijcfqiywhxpsba\",\"nextHop\":[\"alezaydpuzudege\",\"xlieggoto\",\"mhssfnwh\"]},{\"prefix\":\"kahhec\",\"nextHop\":[\"fmkcu\",\"thdgwuzronodvhzf\"]}],\"ipv6Routes\":[{\"prefix\":\"wysodcikgx\",\"nextHop\":[\"zzfzdjek\"]},{\"prefix\":\"b\",\"nextHop\":[\"nxzsjwy\"]},{\"prefix\":\"ixirgcjfaiw\",\"nextHop\":[\"pjkakrxifqnf\"]},{\"prefix\":\"orxsqtzngxbsale\",\"nextHop\":[\"uxcmmhipbvskc\",\"tlynkwfsaangfg\",\"mcvmhidyliuajkln\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"dnxqeonm\",\"importIpv6RoutePolicyId\":\"jjaojpzngdrzige\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"adsqyuddkhwqd\",\"exportIpv6RoutePolicyId\":\"hheuyuun\"},\"egressAclId\":\"yevyigdeipnfizej\",\"ingressAclId\":\"iiacndjzwhaj\",\"microBfdState\":\"Disabled\"},\"id\":\"qokhdyncradxs\",\"type\":\"bempf\"}") + "{\"properties\":{\"layer2Configuration\":{\"mtu\":1930682847,\"interfaces\":[\"qal\",\"cufjjfxt\",\"ztqdstahhh\",\"aaxxsritr\"]},\"optionBLayer3Configuration\":{\"peerASN\":7800498946123056820,\"vlanId\":1246543072,\"fabricASN\":3681060394865076913,\"peLoopbackIpAddress\":[\"xwoqotiiqbgpasr\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":1399566830}],\"primaryIpv4Prefix\":\"kjhorlxkpy\",\"primaryIpv6Prefix\":\"ennycntr\",\"secondaryIpv4Prefix\":\"xwtdmbqjtsuhqh\",\"secondaryIpv6Prefix\":\"xtdyqavfxbqmzxsy\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":313386951,\"multiplier\":98931664},\"ipv4Routes\":[{\"prefix\":\"wb\",\"nextHop\":[\"vwtg\"]},{\"prefix\":\"bgchcgsfzhbjkiy\",\"nextHop\":[\"bjsdj\",\"gxe\",\"sgw\",\"cfferznzc\"]},{\"prefix\":\"ivoveomkhfeqcoop\",\"nextHop\":[\"pohimgck\",\"cjpeebznbznxsulo\",\"tn\",\"bmxooq\"]}],\"ipv6Routes\":[{\"prefix\":\"pncdmwkhup\",\"nextHop\":[\"sl\",\"qd\"]},{\"prefix\":\"a\",\"nextHop\":[\"unye\",\"dyzdsy\",\"cikswhcamwu\",\"nfxkcgsfcmvhad\"]},{\"prefix\":\"pba\",\"nextHop\":[\"yrkljqkqwsyjtvj\",\"owggx\",\"wwdmbyp\"]},{\"prefix\":\"kteiidlbovwbclpr\",\"nextHop\":[\"gani\",\"kjcnerek\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":542421720,\"multiplier\":353735972},\"ipv4Routes\":[{\"prefix\":\"qlq\",\"nextHop\":[\"wxtvce\",\"avv\"]}],\"ipv6Routes\":[{\"prefix\":\"wvegenlrjc\",\"nextHop\":[\"wevguy\",\"lnxe\",\"rj\",\"fzcde\"]},{\"prefix\":\"owwe\",\"nextHop\":[\"yfkd\",\"lbwqlq\",\"csfqbirtybce\",\"fjnxodnjyhzfaxs\"]},{\"prefix\":\"dvuelumodpegqxso\",\"nextHop\":[\"hazrqoxz\",\"hlbeqvhs\",\"b\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"xslajggfzgaefha\",\"importIpv6RoutePolicyId\":\"mibuyd\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"rnicupdyttqmi\",\"exportIpv6RoutePolicyId\":\"jplosebmh\"},\"egressAclId\":\"uqmtxynof\",\"ingressAclId\":\"obfixngxebi\",\"microBfdState\":\"Disabled\"},\"id\":\"nk\",\"type\":\"giqcdolrpg\"}") .toObject(NetworkToNetworkInterconnectPatch.class); - Assertions.assertEquals(1215560654, model.layer2Configuration().mtu()); - Assertions.assertEquals("pstizsyqagqllcb", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("jybdnbycsbto", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("azdjmofsvpzxg", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("wxuymlfjymg", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("mszcfy", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(6745249249858785189L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1810101357, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("rqwfyybptmjjr", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(1930682847, model.layer2Configuration().mtu()); + Assertions.assertEquals("qal", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("kjhorlxkpy", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("ennycntr", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("xwtdmbqjtsuhqh", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("xtdyqavfxbqmzxsy", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(7800498946123056820L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(1246543072, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("xwoqotiiqbgpasr", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(2085433899, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1930021246, + Assertions.assertEquals(1399566830, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(313386951, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1322704124, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("dpagk", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("maovrgihl", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("i", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("ktqoze", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(60005380, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(2109159418, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("wiijcfqiywhxpsba", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("alezaydpuzudege", - model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("wysodcikgx", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("zzfzdjek", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("dnxqeonm", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("jjaojpzngdrzige", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("adsqyuddkhwqd", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hheuyuun", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("yevyigdeipnfizej", model.egressAclId()); - Assertions.assertEquals("iiacndjzwhaj", model.ingressAclId()); + Assertions.assertEquals(98931664, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("wb", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vwtg", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("pncdmwkhup", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("sl", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(542421720, + model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(353735972, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("qlq", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("wxtvce", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("wvegenlrjc", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("wevguy", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("xslajggfzgaefha", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("mibuyd", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("rnicupdyttqmi", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("jplosebmh", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("uqmtxynof", model.egressAclId()); + Assertions.assertEquals("obfixngxebi", model.ingressAclId()); Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkToNetworkInterconnectPatch model = new NetworkToNetworkInterconnectPatch() - .withLayer2Configuration( - new Layer2ConfigurationPatch().withMtu(1215560654).withInterfaces(Arrays.asList("pstizsyqagqllcb"))) + .withLayer2Configuration(new Layer2ConfigurationPatch().withMtu(1930682847) + .withInterfaces(Arrays.asList("qal", "cufjjfxt", "ztqdstahhh", "aaxxsritr"))) .withOptionBLayer3Configuration( - new OptionBLayer3ConfigurationPatchProperties().withPrimaryIpv4Prefix("jybdnbycsbto") - .withPrimaryIpv6Prefix("azdjmofsvpzxg") - .withSecondaryIpv4Prefix("wxuymlfjymg") - .withSecondaryIpv6Prefix("mszcfy") - .withPeerAsn(6745249249858785189L) - .withVlanId(1810101357) - .withPeLoopbackIpAddress(Arrays.asList("rqwfyybptmjjr", "ogykugdlavsav", "thkslgeuufkb")) + new OptionBLayer3ConfigurationPatchProperties().withPrimaryIpv4Prefix("kjhorlxkpy") + .withPrimaryIpv6Prefix("ennycntr") + .withSecondaryIpv4Prefix("xwtdmbqjtsuhqh") + .withSecondaryIpv6Prefix("xtdyqavfxbqmzxsy") + .withPeerAsn(7800498946123056820L) + .withVlanId(1246543072) + .withPeLoopbackIpAddress(Arrays.asList("xwoqotiiqbgpasr")) .withBmpConfiguration( new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED)) .withPrefixLimits( - Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(2085433899)))) + Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(1399566830)))) .withNpbStaticRouteConfiguration(new NpbStaticRouteConfigurationPatch() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(1930021246).withMultiplier(1322704124)) - .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("dpagk") - .withNextHop(Arrays.asList("maovrgihl", "zffewvqkyc", "cgeipqxxsdyaf")), - new StaticRoutePatchProperties().withPrefix("tydsmm") - .withNextHop(Arrays.asList("hg", "lejqzhpvhxp", "adj", "eullgfyog")), - new StaticRoutePatchProperties().withPrefix("qscjpvqerqxk").withNextHop(Arrays.asList("wdzpzl")), - new StaticRoutePatchProperties().withPrefix("cuex") - .withNextHop(Arrays.asList("pwwvmbjecfw", "bghnkfrwx", "hl", "dsnjzpchiypb")))) + new BfdPatchConfiguration().withIntervalInMilliSeconds(313386951).withMultiplier(98931664)) + .withIpv4Routes( + Arrays.asList(new StaticRoutePatchProperties().withPrefix("wb").withNextHop(Arrays.asList("vwtg")), + new StaticRoutePatchProperties().withPrefix("bgchcgsfzhbjkiy") + .withNextHop(Arrays.asList("bjsdj", "gxe", "sgw", "cfferznzc")), + new StaticRoutePatchProperties().withPrefix("ivoveomkhfeqcoop") + .withNextHop(Arrays.asList("pohimgck", "cjpeebznbznxsulo", "tn", "bmxooq")))) .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("i") - .withNextHop(Arrays.asList("ktqoze", "brsrjzgkbrau", "bo", "fq")), - new StaticRoutePatchProperties().withPrefix("nqbjxgjwsrer") - .withNextHop(Arrays.asList("buudrizwkwkjxla", "cedikqelssyb")), - new StaticRoutePatchProperties().withPrefix("bevgbn") - .withNextHop(Arrays.asList("mmkiqhypwtmzy", "jy"))))) + new StaticRoutePatchProperties().withPrefix("pncdmwkhup").withNextHop(Arrays.asList("sl", "qd")), + new StaticRoutePatchProperties().withPrefix("a") + .withNextHop(Arrays.asList("unye", "dyzdsy", "cikswhcamwu", "nfxkcgsfcmvhad")), + new StaticRoutePatchProperties().withPrefix("pba") + .withNextHop(Arrays.asList("yrkljqkqwsyjtvj", "owggx", "wwdmbyp")), + new StaticRoutePatchProperties().withPrefix("kteiidlbovwbclpr") + .withNextHop(Arrays.asList("gani", "kjcnerek"))))) .withStaticRouteConfiguration(new NniStaticRoutePatchConfiguration() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(60005380).withMultiplier(2109159418)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(542421720).withMultiplier(353735972)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("wiijcfqiywhxpsba") - .withNextHop(Arrays.asList("alezaydpuzudege", "xlieggoto", "mhssfnwh")), - new StaticRoutePatchProperties().withPrefix("kahhec") - .withNextHop(Arrays.asList("fmkcu", "thdgwuzronodvhzf")))) + new StaticRoutePatchProperties().withPrefix("qlq").withNextHop(Arrays.asList("wxtvce", "avv")))) .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("wysodcikgx").withNextHop(Arrays.asList("zzfzdjek")), - new StaticRoutePatchProperties().withPrefix("b").withNextHop(Arrays.asList("nxzsjwy")), - new StaticRoutePatchProperties().withPrefix("ixirgcjfaiw") - .withNextHop(Arrays.asList("pjkakrxifqnf")), - new StaticRoutePatchProperties().withPrefix("orxsqtzngxbsale") - .withNextHop(Arrays.asList("uxcmmhipbvskc", "tlynkwfsaangfg", "mcvmhidyliuajkln"))))) - .withImportRoutePolicy(new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId("dnxqeonm") - .withImportIpv6RoutePolicyId("jjaojpzngdrzige")) - .withExportRoutePolicy(new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId("adsqyuddkhwqd") - .withExportIpv6RoutePolicyId("hheuyuun")) - .withEgressAclId("yevyigdeipnfizej") - .withIngressAclId("iiacndjzwhaj") + new StaticRoutePatchProperties().withPrefix("wvegenlrjc") + .withNextHop(Arrays.asList("wevguy", "lnxe", "rj", "fzcde")), + new StaticRoutePatchProperties().withPrefix("owwe") + .withNextHop(Arrays.asList("yfkd", "lbwqlq", "csfqbirtybce", "fjnxodnjyhzfaxs")), + new StaticRoutePatchProperties().withPrefix("dvuelumodpegqxso") + .withNextHop(Arrays.asList("hazrqoxz", "hlbeqvhs", "b"))))) + .withImportRoutePolicy( + new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId("xslajggfzgaefha") + .withImportIpv6RoutePolicyId("mibuyd")) + .withExportRoutePolicy(new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId("rnicupdyttqmi") + .withExportIpv6RoutePolicyId("jplosebmh")) + .withEgressAclId("uqmtxynof") + .withIngressAclId("obfixngxebi") .withMicroBfdState(MicroBfdState.DISABLED); model = BinaryData.fromObject(model).toObject(NetworkToNetworkInterconnectPatch.class); - Assertions.assertEquals(1215560654, model.layer2Configuration().mtu()); - Assertions.assertEquals("pstizsyqagqllcb", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("jybdnbycsbto", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("azdjmofsvpzxg", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("wxuymlfjymg", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("mszcfy", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(6745249249858785189L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1810101357, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("rqwfyybptmjjr", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(1930682847, model.layer2Configuration().mtu()); + Assertions.assertEquals("qal", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("kjhorlxkpy", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("ennycntr", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("xwtdmbqjtsuhqh", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("xtdyqavfxbqmzxsy", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(7800498946123056820L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(1246543072, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("xwoqotiiqbgpasr", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(2085433899, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1930021246, + Assertions.assertEquals(1399566830, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(313386951, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1322704124, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("dpagk", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("maovrgihl", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("i", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("ktqoze", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(60005380, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(2109159418, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("wiijcfqiywhxpsba", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("alezaydpuzudege", - model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("wysodcikgx", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("zzfzdjek", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("dnxqeonm", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("jjaojpzngdrzige", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("adsqyuddkhwqd", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hheuyuun", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("yevyigdeipnfizej", model.egressAclId()); - Assertions.assertEquals("iiacndjzwhaj", model.ingressAclId()); + Assertions.assertEquals(98931664, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("wb", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vwtg", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("pncdmwkhup", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("sl", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(542421720, + model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(353735972, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("qlq", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("wxtvce", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("wvegenlrjc", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("wevguy", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("xslajggfzgaefha", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("mibuyd", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("rnicupdyttqmi", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("jplosebmh", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("uqmtxynof", model.egressAclId()); + Assertions.assertEquals("obfixngxebi", model.ingressAclId()); Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPropertiesTests.java index dea23358c6d3a..a4ca84a003d46 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectPropertiesTests.java @@ -29,162 +29,163 @@ public final class NetworkToNetworkInterconnectPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkToNetworkInterconnectProperties model = BinaryData.fromString( - "{\"nniType\":\"CE\",\"isManagementType\":\"True\",\"useOptionB\":\"True\",\"layer2Configuration\":{\"mtu\":1694267362,\"interfaces\":[\"sytciksw\",\"camwuynfxkcgs\",\"cm\",\"ha\"]},\"optionBLayer3Configuration\":{\"peerASN\":2437879952071226726,\"vlanId\":1148187798,\"fabricASN\":834293234995642747,\"peLoopbackIpAddress\":[\"ljqkqwsyjtvjkowg\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":997096758},{\"maximumRoutes\":198848158},{\"maximumRoutes\":2068751731},{\"maximumRoutes\":76076748}],\"primaryIpv4Prefix\":\"iidlbovwbclpr\",\"primaryIpv6Prefix\":\"gani\",\"secondaryIpv4Prefix\":\"jcn\",\"secondaryIpv6Prefix\":\"ekyjulskwwnq\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1366815246,\"multiplier\":1484459751},\"ipv4Routes\":[{\"prefix\":\"ebav\",\"nextHop\":[\"vxwve\",\"enlrjcsmwevgu\",\"flnxelrjkfzcdet\",\"wwezhyfkdilb\"]},{\"prefix\":\"qlqac\",\"nextHop\":[\"qb\",\"rtybcel\"]},{\"prefix\":\"jnxodnjyhzfax\",\"nextHop\":[\"dvuelumodpegqxso\"]},{\"prefix\":\"chazrqoxz\",\"nextHop\":[\"lbeqvh\",\"kbmpw\"]}],\"ipv6Routes\":[{\"prefix\":\"ajggfzgaefhawkmi\",\"nextHop\":[\"y\",\"wi\",\"rnicupdyttqmi\"]},{\"prefix\":\"vj\",\"nextHop\":[\"osebmhht\"]},{\"prefix\":\"qmtxynoflqobf\",\"nextHop\":[\"ngxebihexhnk\",\"ng\",\"qcdol\",\"pgup\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":898745560,\"multiplier\":204269631},\"ipv4Routes\":[{\"prefix\":\"ncuyjeykcnhppl\",\"nextHop\":[\"cfzxjziu\"]},{\"prefix\":\"crln\",\"nextHop\":[\"nuwkk\",\"zzetlvhdy\",\"zlvwyw\"]},{\"prefix\":\"v\",\"nextHop\":[\"gqp\",\"w\",\"zpddarcbcdwhs\"]},{\"prefix\":\"xeba\",\"nextHop\":[\"dknmstb\",\"oprwkampyh\"]}],\"ipv6Routes\":[{\"prefix\":\"ldzniudrcycm\",\"nextHop\":[\"uzymhlhihqknlv\",\"mnbzkopai\",\"ldcpudkhquxsyj\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"gvedrobujnjg\",\"importIpv6RoutePolicyId\":\"uxmqxigidul\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"gcps\",\"exportIpv6RoutePolicyId\":\"rhnytsl\"},\"egressAclId\":\"az\",\"ingressAclId\":\"znghxhk\",\"microBfdState\":\"Enabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"k\",\"nextHop\":[\"nrvzwpffxsfyb\",\"tmveho\",\"flyuvbgtz\"]},{\"prefix\":\"zqweuyd\",\"nextHop\":[\"nairvhpqsv\",\"zeogeatr\",\"nqnvnc\"]},{\"prefix\":\"rfcs\",\"nextHop\":[\"jnkoiz\",\"zsqbibaaugicovj\"]}],\"ipv6Routes\":[{\"prefix\":\"wr\",\"nextHop\":[\"xyvu\",\"dnxczbass\"]},{\"prefix\":\"fyyl\",\"nextHop\":[\"peygkbzb\",\"o\",\"sybxhqvov\",\"pmhttuvsqjsrvjnq\"]}]},\"lastOperation\":{\"details\":\"gxqbfkce\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"MAT\"}") + "{\"nniType\":\"NPB\",\"isManagementType\":\"True\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":2046472526,\"interfaces\":[\"bbdddwokqx\",\"ilx\",\"kdyqjvz\",\"cgrd\"]},\"optionBLayer3Configuration\":{\"peerASN\":8842893608353669938,\"vlanId\":1250366713,\"fabricASN\":675617504412588736,\"peLoopbackIpAddress\":[\"uhvz\",\"lbrouszxac\",\"wukokgoojj\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":305672747},{\"maximumRoutes\":2057788408}],\"primaryIpv4Prefix\":\"h\",\"primaryIpv6Prefix\":\"tzvxxvsb\",\"secondaryIpv4Prefix\":\"ufkr\",\"secondaryIpv6Prefix\":\"kcnihkswxmfu\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":465030872,\"multiplier\":793694311},\"ipv4Routes\":[{\"prefix\":\"motahbqsvnk\",\"nextHop\":[\"ytzuaedrl\",\"xgcqmyrhkvxzzmi\",\"mqyftgpqoswgf\"]}],\"ipv6Routes\":[{\"prefix\":\"mghpakbqyh\",\"nextHop\":[\"ornfbm\",\"qagkncjmybn\",\"evztnjawrhul\",\"mmqmbwppx\"]},{\"prefix\":\"rxbkitzmnhitax\",\"nextHop\":[\"cltjl\",\"sgc\",\"megdzd\",\"y\"]},{\"prefix\":\"jubvfjyzuf\",\"nextHop\":[\"ifnivlut\",\"g\",\"aacxauhvc\"]},{\"prefix\":\"zxhkl\",\"nextHop\":[\"xt\",\"iyygktsrjyxxoxwf\",\"bkvecnxfxphsowbe\",\"snbwutlvuwm\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":912303251,\"multiplier\":1830713626},\"ipv4Routes\":[{\"prefix\":\"afjajvkyxmmjcz\",\"nextHop\":[\"gtderjennmkvaeuw\",\"dwxhhlbm\"]},{\"prefix\":\"phfxnrpdhewoky\",\"nextHop\":[\"fkxfsywbihqb\"]},{\"prefix\":\"odjfyxbvkvwzd\",\"nextHop\":[\"ddqwcrugyoz\"]}],\"ipv6Routes\":[{\"prefix\":\"wnjdvvlrh\",\"nextHop\":[\"rkkvxundqzbv\"]},{\"prefix\":\"p\",\"nextHop\":[\"vqhxtozfgdkw\",\"kurklpiigfuzkeu\",\"uipjclzjwaqd\",\"qydewuwxyllz\"]},{\"prefix\":\"zevtzqwczoc\",\"nextHop\":[\"bek\",\"uynf\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"vnhiy\",\"importIpv6RoutePolicyId\":\"horkslhraqk\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"wkffla\",\"exportIpv6RoutePolicyId\":\"mwqoguflteatnege\"},\"egressAclId\":\"jxnjtqbgy\",\"ingressAclId\":\"bth\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"qtcbjd\",\"nextHop\":[\"q\",\"hkxunsaujqgbb\",\"vovoa\"]},{\"prefix\":\"hgjsmbcsloy\",\"nextHop\":[\"abdgdheronsd\",\"nrkzvz\"]},{\"prefix\":\"atqhgzu\",\"nextHop\":[\"trvfdbq\",\"kgqjbvitptpvsf\",\"avdhpiw\"]},{\"prefix\":\"muwkgjwbyfdw\",\"nextHop\":[\"wxyl\",\"qtmg\",\"cpdrmegajrz\",\"twymzs\"]}],\"ipv6Routes\":[{\"prefix\":\"kkgeseiphgliupq\",\"nextHop\":[\"oobkjlca\",\"sqcomjiqiincevx\",\"kdevpximzii\",\"meqmduvtvodqxxpq\"]},{\"prefix\":\"ml\",\"nextHop\":[\"b\",\"blmcvrjaznotdof\",\"vpbqsdqkpsbqs\",\"bmitaftazgcxsvq\"]}]},\"lastOperation\":{\"details\":\"ufylamxowbg\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Failed\",\"administrativeState\":\"Disabled\"}") .toObject(NetworkToNetworkInterconnectProperties.class); - Assertions.assertEquals(NniType.CE, model.nniType()); + Assertions.assertEquals(NniType.NPB, model.nniType()); Assertions.assertEquals(IsManagementType.TRUE, model.isManagementType()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.useOptionB()); - Assertions.assertEquals(1694267362, model.layer2Configuration().mtu()); - Assertions.assertEquals("sytciksw", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("iidlbovwbclpr", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("gani", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("jcn", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("ekyjulskwwnq", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(2437879952071226726L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1148187798, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("ljqkqwsyjtvjkowg", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.useOptionB()); + Assertions.assertEquals(2046472526, model.layer2Configuration().mtu()); + Assertions.assertEquals("bbdddwokqx", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("h", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("tzvxxvsb", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("ufkr", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("kcnihkswxmfu", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(8842893608353669938L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(1250366713, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("uhvz", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(997096758, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1366815246, + Assertions.assertEquals(305672747, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(465030872, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1484459751, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("ebav", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("vxwve", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ajggfzgaefhawkmi", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("y", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(898745560, + Assertions.assertEquals(793694311, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("motahbqsvnk", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ytzuaedrl", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("mghpakbqyh", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ornfbm", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(912303251, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(204269631, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("ncuyjeykcnhppl", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("cfzxjziu", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ldzniudrcycm", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("uzymhlhihqknlv", - model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("gvedrobujnjg", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("uxmqxigidul", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("gcps", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("rhnytsl", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("az", model.egressAclId()); - Assertions.assertEquals("znghxhk", model.ingressAclId()); - Assertions.assertEquals(MicroBfdState.ENABLED, model.microBfdState()); - Assertions.assertEquals("k", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nrvzwpffxsfyb", - model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("wr", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("xyvu", + Assertions.assertEquals(1830713626, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("afjajvkyxmmjcz", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("gtderjennmkvaeuw", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("wnjdvvlrh", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rkkvxundqzbv", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("vnhiy", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("horkslhraqk", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("wkffla", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("mwqoguflteatnege", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("jxnjtqbgy", model.egressAclId()); + Assertions.assertEquals("bth", model.ingressAclId()); + Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); + Assertions.assertEquals("qtcbjd", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("q", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("kkgeseiphgliupq", + model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("oobkjlca", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NetworkToNetworkInterconnectProperties model = new NetworkToNetworkInterconnectProperties() - .withNniType(NniType.CE) + .withNniType(NniType.NPB) .withIsManagementType(IsManagementType.TRUE) - .withUseOptionB(BooleanEnumProperty.TRUE) - .withLayer2Configuration(new Layer2Configuration().withMtu(1694267362) - .withInterfaces(Arrays.asList("sytciksw", "camwuynfxkcgs", "cm", "ha"))) - .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("iidlbovwbclpr") - .withPrimaryIpv6Prefix("gani") - .withSecondaryIpv4Prefix("jcn") - .withSecondaryIpv6Prefix("ekyjulskwwnq") - .withPeerAsn(2437879952071226726L) - .withVlanId(1148187798) - .withPeLoopbackIpAddress(Arrays.asList("ljqkqwsyjtvjkowg")) + .withUseOptionB(BooleanEnumProperty.FALSE) + .withLayer2Configuration(new Layer2Configuration().withMtu(2046472526) + .withInterfaces(Arrays.asList("bbdddwokqx", "ilx", "kdyqjvz", "cgrd"))) + .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("h") + .withPrimaryIpv6Prefix("tzvxxvsb") + .withSecondaryIpv4Prefix("ufkr") + .withSecondaryIpv6Prefix("kcnihkswxmfu") + .withPeerAsn(8842893608353669938L) + .withVlanId(1250366713) + .withPeLoopbackIpAddress(Arrays.asList("uhvz", "lbrouszxac", "wukokgoojj")) .withBmpConfiguration(new NniBmpProperties().withConfigurationState(BmpConfigurationState.DISABLED)) - .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(997096758), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(198848158), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(2068751731), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(76076748)))) + .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(305672747), + new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(2057788408)))) .withNpbStaticRouteConfiguration(new NpbStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1366815246).withMultiplier(1484459751)) - .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("ebav") - .withNextHop(Arrays.asList("vxwve", "enlrjcsmwevgu", "flnxelrjkfzcdet", "wwezhyfkdilb")), - new StaticRouteProperties().withPrefix("qlqac").withNextHop(Arrays.asList("qb", "rtybcel")), - new StaticRouteProperties().withPrefix("jnxodnjyhzfax") - .withNextHop(Arrays.asList("dvuelumodpegqxso")), - new StaticRouteProperties().withPrefix("chazrqoxz").withNextHop(Arrays.asList("lbeqvh", "kbmpw")))) + new BfdConfiguration().withIntervalInMilliSeconds(465030872).withMultiplier(793694311)) + .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("motahbqsvnk") + .withNextHop(Arrays.asList("ytzuaedrl", "xgcqmyrhkvxzzmi", "mqyftgpqoswgf")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("ajggfzgaefhawkmi") - .withNextHop(Arrays.asList("y", "wi", "rnicupdyttqmi")), - new StaticRouteProperties().withPrefix("vj").withNextHop(Arrays.asList("osebmhht")), - new StaticRouteProperties().withPrefix("qmtxynoflqobf") - .withNextHop(Arrays.asList("ngxebihexhnk", "ng", "qcdol", "pgup"))))) + new StaticRouteProperties().withPrefix("mghpakbqyh") + .withNextHop(Arrays.asList("ornfbm", "qagkncjmybn", "evztnjawrhul", "mmqmbwppx")), + new StaticRouteProperties().withPrefix("rxbkitzmnhitax") + .withNextHop(Arrays.asList("cltjl", "sgc", "megdzd", "y")), + new StaticRouteProperties().withPrefix("jubvfjyzuf") + .withNextHop(Arrays.asList("ifnivlut", "g", "aacxauhvc")), + new StaticRouteProperties().withPrefix("zxhkl") + .withNextHop(Arrays.asList("xt", "iyygktsrjyxxoxwf", "bkvecnxfxphsowbe", "snbwutlvuwm"))))) .withStaticRouteConfiguration(new NniStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(898745560).withMultiplier(204269631)) + new BfdConfiguration().withIntervalInMilliSeconds(912303251).withMultiplier(1830713626)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("ncuyjeykcnhppl").withNextHop(Arrays.asList("cfzxjziu")), - new StaticRouteProperties().withPrefix("crln") - .withNextHop(Arrays.asList("nuwkk", "zzetlvhdy", "zlvwyw")), - new StaticRouteProperties().withPrefix("v").withNextHop(Arrays.asList("gqp", "w", "zpddarcbcdwhs")), - new StaticRouteProperties().withPrefix("xeba").withNextHop(Arrays.asList("dknmstb", "oprwkampyh")))) - .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("ldzniudrcycm") - .withNextHop(Arrays.asList("uzymhlhihqknlv", "mnbzkopai", "ldcpudkhquxsyj"))))) - .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("gvedrobujnjg") - .withImportIpv6RoutePolicyId("uxmqxigidul")) - .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("gcps") - .withExportIpv6RoutePolicyId("rhnytsl")) - .withEgressAclId("az") - .withIngressAclId("znghxhk") - .withMicroBfdState(MicroBfdState.ENABLED) + new StaticRouteProperties().withPrefix("afjajvkyxmmjcz") + .withNextHop(Arrays.asList("gtderjennmkvaeuw", "dwxhhlbm")), + new StaticRouteProperties().withPrefix("phfxnrpdhewoky").withNextHop(Arrays.asList("fkxfsywbihqb")), + new StaticRouteProperties().withPrefix("odjfyxbvkvwzd").withNextHop(Arrays.asList("ddqwcrugyoz")))) + .withIpv6Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("wnjdvvlrh").withNextHop(Arrays.asList("rkkvxundqzbv")), + new StaticRouteProperties().withPrefix("p") + .withNextHop(Arrays.asList("vqhxtozfgdkw", "kurklpiigfuzkeu", "uipjclzjwaqd", "qydewuwxyllz")), + new StaticRouteProperties().withPrefix("zevtzqwczoc").withNextHop(Arrays.asList("bek", "uynf"))))) + .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("vnhiy") + .withImportIpv6RoutePolicyId("horkslhraqk")) + .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("wkffla") + .withExportIpv6RoutePolicyId("mwqoguflteatnege")) + .withEgressAclId("jxnjtqbgy") + .withIngressAclId("bth") + .withMicroBfdState(MicroBfdState.DISABLED) .withConditionalDefaultRouteConfiguration(new ConditionalDefaultRouteProperties() .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("k") - .withNextHop(Arrays.asList("nrvzwpffxsfyb", "tmveho", "flyuvbgtz")), - new StaticRouteProperties().withPrefix("zqweuyd") - .withNextHop(Arrays.asList("nairvhpqsv", "zeogeatr", "nqnvnc")), - new StaticRouteProperties().withPrefix("rfcs") - .withNextHop(Arrays.asList("jnkoiz", "zsqbibaaugicovj")))) + new StaticRouteProperties().withPrefix("qtcbjd") + .withNextHop(Arrays.asList("q", "hkxunsaujqgbb", "vovoa")), + new StaticRouteProperties().withPrefix("hgjsmbcsloy") + .withNextHop(Arrays.asList("abdgdheronsd", "nrkzvz")), + new StaticRouteProperties().withPrefix("atqhgzu") + .withNextHop(Arrays.asList("trvfdbq", "kgqjbvitptpvsf", "avdhpiw")), + new StaticRouteProperties().withPrefix("muwkgjwbyfdw") + .withNextHop(Arrays.asList("wxyl", "qtmg", "cpdrmegajrz", "twymzs")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("wr").withNextHop(Arrays.asList("xyvu", "dnxczbass")), - new StaticRouteProperties().withPrefix("fyyl") - .withNextHop(Arrays.asList("peygkbzb", "o", "sybxhqvov", "pmhttuvsqjsrvjnq"))))); + new StaticRouteProperties().withPrefix("kkgeseiphgliupq") + .withNextHop(Arrays.asList("oobkjlca", "sqcomjiqiincevx", "kdevpximzii", "meqmduvtvodqxxpq")), + new StaticRouteProperties().withPrefix("ml") + .withNextHop(Arrays.asList("b", "blmcvrjaznotdof", "vpbqsdqkpsbqs", "bmitaftazgcxsvq"))))); model = BinaryData.fromObject(model).toObject(NetworkToNetworkInterconnectProperties.class); - Assertions.assertEquals(NniType.CE, model.nniType()); + Assertions.assertEquals(NniType.NPB, model.nniType()); Assertions.assertEquals(IsManagementType.TRUE, model.isManagementType()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.useOptionB()); - Assertions.assertEquals(1694267362, model.layer2Configuration().mtu()); - Assertions.assertEquals("sytciksw", model.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("iidlbovwbclpr", model.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("gani", model.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("jcn", model.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("ekyjulskwwnq", model.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(2437879952071226726L, model.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1148187798, model.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("ljqkqwsyjtvjkowg", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.useOptionB()); + Assertions.assertEquals(2046472526, model.layer2Configuration().mtu()); + Assertions.assertEquals("bbdddwokqx", model.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("h", model.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("tzvxxvsb", model.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("ufkr", model.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("kcnihkswxmfu", model.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(8842893608353669938L, model.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(1250366713, model.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("uhvz", model.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(997096758, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1366815246, + Assertions.assertEquals(305672747, model.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(465030872, model.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1484459751, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("ebav", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("vxwve", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ajggfzgaefhawkmi", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("y", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(898745560, + Assertions.assertEquals(793694311, model.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("motahbqsvnk", model.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ytzuaedrl", model.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("mghpakbqyh", model.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ornfbm", model.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(912303251, model.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(204269631, model.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("ncuyjeykcnhppl", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("cfzxjziu", model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ldzniudrcycm", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("uzymhlhihqknlv", - model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("gvedrobujnjg", model.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("uxmqxigidul", model.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("gcps", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("rhnytsl", model.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("az", model.egressAclId()); - Assertions.assertEquals("znghxhk", model.ingressAclId()); - Assertions.assertEquals(MicroBfdState.ENABLED, model.microBfdState()); - Assertions.assertEquals("k", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("nrvzwpffxsfyb", - model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("wr", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("xyvu", + Assertions.assertEquals(1830713626, model.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("afjajvkyxmmjcz", model.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("gtderjennmkvaeuw", + model.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("wnjdvvlrh", model.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rkkvxundqzbv", model.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("vnhiy", model.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("horkslhraqk", model.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("wkffla", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("mwqoguflteatnege", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("jxnjtqbgy", model.egressAclId()); + Assertions.assertEquals("bth", model.ingressAclId()); + Assertions.assertEquals(MicroBfdState.DISABLED, model.microBfdState()); + Assertions.assertEquals("qtcbjd", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("q", model.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("kkgeseiphgliupq", + model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("oobkjlca", model.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateMockTests.java index a679a56f85cd8..f193b982db780 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsCreateMockTests.java @@ -38,7 +38,7 @@ public final class NetworkToNetworkInterconnectsCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"nniType\":\"NPB\",\"isManagementType\":\"True\",\"useOptionB\":\"True\",\"layer2Configuration\":{\"mtu\":1751722977,\"interfaces\":[\"pfaqxpqrkeyh\",\"uaez\",\"brvtaulh\"]},\"optionBLayer3Configuration\":{\"peerASN\":7959993218692272691,\"vlanId\":47784374,\"fabricASN\":8659408762014035996,\"peLoopbackIpAddress\":[\"cndwoyqvcyqjj\",\"hijbfiyuho\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":510444642}],\"primaryIpv4Prefix\":\"irhg\",\"primaryIpv6Prefix\":\"phyacdhjm\",\"secondaryIpv4Prefix\":\"vgkx\",\"secondaryIpv6Prefix\":\"hljtkuyvytfuq\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1629493159,\"multiplier\":1636928380},\"ipv4Routes\":[{\"prefix\":\"k\",\"nextHop\":[\"i\",\"kf\"]},{\"prefix\":\"zvsc\",\"nextHop\":[\"bklscokafaqqipv\"]},{\"prefix\":\"vdzssssncghgidq\",\"nextHop\":[\"txodbxzhadmwj\"]}],\"ipv6Routes\":[{\"prefix\":\"otcyyupaqd\",\"nextHop\":[\"dhnzkmjoybyog\",\"jrssnrykkhxawoh\",\"jewxphnlweyzvri\"]},{\"prefix\":\"cve\",\"nextHop\":[\"rltlhcjgjuopvkr\",\"spksfxdmbxfyxw\",\"iqvhfyv\",\"xgoxsveiu\"]},{\"prefix\":\"uxwnojvcrgqmbn\",\"nextHop\":[\"ygttdcfj\",\"lpsycvcksz\"]},{\"prefix\":\"ngguucp\",\"nextHop\":[\"sxnujwffthbzii\",\"o\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":31842568,\"multiplier\":430305650},\"ipv4Routes\":[{\"prefix\":\"bdevjrbgcdx\",\"nextHop\":[\"steeksb\",\"s\",\"v\",\"voi\"]},{\"prefix\":\"vvu\",\"nextHop\":[\"ljmzpyukrwvvhcgt\",\"tnqdcgobkcebzr\"]},{\"prefix\":\"pu\",\"nextHop\":[\"tjsk\",\"kwtnqqiqckm\"]},{\"prefix\":\"xldqtmandejnemrf\",\"nextHop\":[\"hcdpwlezbfgul\"]}],\"ipv6Routes\":[{\"prefix\":\"cijyxcmqcggksror\",\"nextHop\":[\"jfharphl\",\"lftraylxzdujpuh\"]},{\"prefix\":\"aogfwbkxdhavegys\",\"nextHop\":[\"mlbzixpdat\",\"ndvwwejvq\"]},{\"prefix\":\"wyrioqwmhcpuj\",\"nextHop\":[\"ntxregbssqthcywy\",\"qxprsocfxlrzj\",\"ffl\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"u\",\"importIpv6RoutePolicyId\":\"fau\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"zekygnepjyuxqd\",\"exportIpv6RoutePolicyId\":\"hiyxjqr\"},\"egressAclId\":\"pz\",\"ingressAclId\":\"achpfzsfutaapbrw\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"hsorca\",\"nextHop\":[\"fhyoigzwedftera\"]},{\"prefix\":\"vpkgawrmuji\",\"nextHop\":[\"mhepfjdiwzgwm\",\"muchvqwhscv\"]},{\"prefix\":\"qdxgelnjgftqkg\",\"nextHop\":[\"goullxpaylk\",\"astbkskkzi\"]},{\"prefix\":\"bmwyod\",\"nextHop\":[\"plgdxdtx\",\"rdb\",\"wqt\",\"pf\"]}],\"ipv6Routes\":[{\"prefix\":\"fvhbbnoevkkrlkdo\",\"nextHop\":[\"qscmdsjgo\",\"shlgu\",\"peqlhhmbyfacexp\"]},{\"prefix\":\"pqykicesqpvmoxil\",\"nextHop\":[\"kqiqsriubem\",\"muygmrenrbng\"]},{\"prefix\":\"afmophtky\",\"nextHop\":[\"gayngmowvcnvfgqx\",\"hysuapdns\",\"roqxrvycjdni\"]}]},\"lastOperation\":{\"details\":\"gyxmpmsacbamtoqs\"},\"configurationState\":\"Succeeded\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"id\":\"gkggzmylqhqe\",\"name\":\"sxds\",\"type\":\"ilefiottdawgka\"}"; + = "{\"properties\":{\"nniType\":\"NPB\",\"isManagementType\":\"True\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":996446247,\"interfaces\":[\"v\",\"hwexwho\",\"cinpmvcvnmgql\"]},\"optionBLayer3Configuration\":{\"peerASN\":3772136370417746297,\"vlanId\":493296982,\"fabricASN\":6737626813847723031,\"peLoopbackIpAddress\":[\"zvcfh\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":1807007831},{\"maximumRoutes\":71306597}],\"primaryIpv4Prefix\":\"lqwbgl\",\"primaryIpv6Prefix\":\"wzttkhyrwdsnpuoa\",\"secondaryIpv4Prefix\":\"fpizybpjypqat\",\"secondaryIpv6Prefix\":\"ghw\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1041188016,\"multiplier\":1155965817},\"ipv4Routes\":[{\"prefix\":\"kf\",\"nextHop\":[\"ffjie\",\"bmhs\",\"yjswbzh\",\"fcoayu\"]},{\"prefix\":\"wntghjmmjmmj\",\"nextHop\":[\"hyf\",\"tsemnid\"]}],\"ipv6Routes\":[{\"prefix\":\"kvlrsbrniocyoqpi\",\"nextHop\":[\"chiskwaffsjq\"]},{\"prefix\":\"jpcybugojzcar\",\"nextHop\":[\"xmawlvaaga\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1592289939,\"multiplier\":924370604},\"ipv4Routes\":[{\"prefix\":\"dugwddob\",\"nextHop\":[\"sj\"]},{\"prefix\":\"exedzmmcgqifhyhz\",\"nextHop\":[\"wkqnmhf\",\"ll\",\"rvh\"]}],\"ipv6Routes\":[{\"prefix\":\"crweeqkdmpfmcrc\",\"nextHop\":[\"snjftnfdcjtveibn\",\"wikmgwxysut\",\"ofdhrifekstrmsb\",\"dgrzkeuplorn\"]},{\"prefix\":\"nssmaaxzcdlnvup\",\"nextHop\":[\"cbzyhtbjyycac\",\"elv\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"tm\",\"importIpv6RoutePolicyId\":\"alqqrymjwwo\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"efellhdsgo\",\"exportIpv6RoutePolicyId\":\"u\"},\"egressAclId\":\"malthcbvuvwdp\",\"ingressAclId\":\"phnag\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"mnbmfmloqat\",\"nextHop\":[\"vtddpicwnbtvl\",\"sfmt\",\"modknxerkai\",\"kbpfaqxpqrke\"]}],\"ipv6Routes\":[{\"prefix\":\"uaez\",\"nextHop\":[\"rvtaul\",\"tqvtpkod\"]},{\"prefix\":\"jcndw\",\"nextHop\":[\"qvcy\",\"jjx\"]}]},\"lastOperation\":{\"details\":\"bf\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"id\":\"evpdbirh\",\"name\":\"jmphyacd\",\"type\":\"jmpnvgkxs\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -48,104 +48,115 @@ public void testCreate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkToNetworkInterconnect response = manager.networkToNetworkInterconnects() - .define("tlb") - .withExistingNetworkFabric("wdosfgbvsoz", "fnpwxcjci") - .withUseOptionB(BooleanEnumProperty.TRUE) - .withNniType(NniType.CE) + .define("mkrldfoidyhc") + .withExistingNetworkFabric("m", "ddwgozrdglkmgc") + .withUseOptionB(BooleanEnumProperty.FALSE) + .withNniType(NniType.NPB) .withIsManagementType(IsManagementType.FALSE) .withLayer2Configuration( - new Layer2Configuration().withMtu(123492069).withInterfaces(Arrays.asList("vhhedc"))) - .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("bxwncggamxb") - .withPrimaryIpv6Prefix("izydaiolnkkg") - .withSecondaryIpv4Prefix("ex") - .withSecondaryIpv6Prefix("hb") - .withPeerAsn(3341701194567785379L) - .withVlanId(1863535748) - .withPeLoopbackIpAddress(Arrays.asList("casghbdvsorvhby")) + new Layer2Configuration().withMtu(764782888).withInterfaces(Arrays.asList("nywwkdxqqgysxpa"))) + .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("ik") + .withPrimaryIpv6Prefix("trdbtrkvluu") + .withSecondaryIpv4Prefix("su") + .withSecondaryIpv6Prefix("frwmct") + .withPeerAsn(7169124597574927000L) + .withVlanId(29605019) + .withPeLoopbackIpAddress(Arrays.asList("fwknlytvx", "tocadtnmqr")) .withBmpConfiguration(new NniBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED)) - .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1771447557), - new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1924195310)))) + .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1170554493), + new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(525804532)))) .withNpbStaticRouteConfiguration(new NpbStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(829246495).withMultiplier(1886731469)) - .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("pqjfoujeiagny").withNextHop(Arrays.asList("fjssayrwyf")), - new StaticRouteProperties().withPrefix("utezxrpxdhzwdyva") - .withNextHop(Arrays.asList("v", "hwexwho", "cinpmvcvnmgql")), - new StaticRouteProperties().withPrefix("hglympelazv") - .withNextHop(Arrays.asList("hiayro", "xeezlqw", "glytwzttkhyrwd", "npuoaorfpizybpj")), - new StaticRouteProperties().withPrefix("pqatkzghwcywrb").withNextHop(Arrays.asList("wlskkffwff")))) - .withIpv6Routes( - Arrays.asList(new StaticRouteProperties().withPrefix("zb").withNextHop(Arrays.asList("sqyjsw"))))) + new BfdConfiguration().withIntervalInMilliSeconds(467247096).withMultiplier(47039160)) + .withIpv4Routes( + Arrays.asList(new StaticRouteProperties().withPrefix("rt").withNextHop(Arrays.asList("lpy")))) + .withIpv6Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("sinie") + .withNextHop(Arrays.asList("bvvvtxk", "rvtlbbukbdtm", "ijtuzfhvbp", "i")), + new StaticRouteProperties().withPrefix("uului") + .withNextHop(Arrays.asList("movadntjsm", "xgqsbjcvaaruvb", "cqg"))))) .withStaticRouteConfiguration(new NniStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1002398908).withMultiplier(236779377)) + new BfdConfiguration().withIntervalInMilliSeconds(886596527).withMultiplier(1343951451)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("wntghjmmjmmj").withNextHop(Arrays.asList("hyf", "tsemnid")), - new StaticRouteProperties().withPrefix("aykvlrsbrn").withNextHop(Arrays.asList("c")), - new StaticRouteProperties().withPrefix("oqpim") - .withNextHop(Arrays.asList("hiskwaffsjqnj", "cybugojzcarg", "xmawlvaaga")))) + new StaticRouteProperties().withPrefix("nvjgovyqpppswle").withNextHop(Arrays.asList("t")), + new StaticRouteProperties().withPrefix("brkntfwxkeuyxgpc") + .withNextHop(Arrays.asList("vmrdlckpznov", "abwpaiqikz", "sdharsw")), + new StaticRouteProperties().withPrefix("qmrpdx").withNextHop(Arrays.asList("dvtv", "yqlthnnd")), + new StaticRouteProperties().withPrefix("plksdie") + .withNextHop(Arrays.asList("ajb", "tgmxkol", "sn", "jcmkpxbc")))) .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("yjjwggpcdu").withNextHop(Arrays.asList("ddo", "pcs")), - new StaticRouteProperties().withPrefix("we").withNextHop(Arrays.asList("dzmmcgqifhy")), - new StaticRouteProperties().withPrefix("zugwkqnmh").withNextHop(Arrays.asList("ll"))))) - .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("hthxcrweeqkdmpfm") - .withImportIpv6RoutePolicyId("celsnjf")) - .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("dcjtveibnt") - .withExportIpv6RoutePolicyId("kmgwxys")) - .withEgressAclId("sofdhrif") - .withIngressAclId("strms") + new StaticRouteProperties().withPrefix("fkwclqmyowdd") + .withNextHop(Arrays.asList("waxobdzatqocvrd", "pvsclw", "st", "uvjd")), + new StaticRouteProperties().withPrefix("hocyvymvnla") + .withNextHop(Arrays.asList("itxoibfo", "ohcyn"))))) + .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId("hbvbqxtk") + .withImportIpv6RoutePolicyId("euapomoofbnbhp")) + .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId("ljcq") + .withExportIpv6RoutePolicyId("pmathiydmkyvsx")) + .withEgressAclId("ivghajpddgfozn") + .withIngressAclId("mkpjoesozcuhunm") .withMicroBfdState(MicroBfdState.DISABLED) .withConditionalDefaultRouteConfiguration(new ConditionalDefaultRouteProperties() - .withIpv4Routes(Arrays.asList(new StaticRouteProperties().withPrefix("keuplorn") - .withNextHop(Arrays.asList("ssmaaxz", "dlnv", "pisc", "zyhtbjyycacoelvo")))) - .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("mxqalqqrymjwwox") - .withNextHop(Arrays.asList("efellhdsgo", "dubwmalthc", "vuvwdp", "l"))))) + .withIpv4Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("tdrrruyknoi").withNextHop(Arrays.asList("uxna", "ivgmck")), + new StaticRouteProperties().withPrefix("hmxz") + .withNextHop(Arrays.asList("poiutaatv", "biojncgjo", "mvoykekm")))) + .withIpv6Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("eas").withNextHop(Arrays.asList("qpwhp", "wdosfgbvsoz")), + new StaticRouteProperties().withPrefix("fnpwxcjci").withNextHop(Arrays.asList("lbpuemqetmo")), + new StaticRouteProperties().withPrefix("u").withNextHop(Arrays.asList("hedco")), + new StaticRouteProperties().withPrefix("lycrldwccas") + .withNextHop( + Arrays.asList("bdvsorvhbygw", "lxqlzzkbx", "ncggamxbtqizydai", "lnkkghlexvqhbn"))))) .create(); Assertions.assertEquals(NniType.NPB, response.nniType()); Assertions.assertEquals(IsManagementType.TRUE, response.isManagementType()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, response.useOptionB()); - Assertions.assertEquals(1751722977, response.layer2Configuration().mtu()); - Assertions.assertEquals("pfaqxpqrkeyh", response.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("irhg", response.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("phyacdhjm", response.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("vgkx", response.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("hljtkuyvytfuq", response.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(7959993218692272691L, response.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(47784374, response.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("cndwoyqvcyqjj", response.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(BooleanEnumProperty.FALSE, response.useOptionB()); + Assertions.assertEquals(996446247, response.layer2Configuration().mtu()); + Assertions.assertEquals("v", response.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("lqwbgl", response.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("wzttkhyrwdsnpuoa", response.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("fpizybpjypqat", response.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("ghw", response.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(3772136370417746297L, response.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(493296982, response.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("zvcfh", response.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, response.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(510444642, response.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1629493159, + Assertions.assertEquals(1807007831, + response.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1041188016, response.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1636928380, response.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("k", response.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("i", response.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("otcyyupaqd", response.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("dhnzkmjoybyog", + Assertions.assertEquals(1155965817, response.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("kf", response.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ffjie", response.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("kvlrsbrniocyoqpi", + response.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("chiskwaffsjq", response.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(31842568, + Assertions.assertEquals(1592289939, response.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(430305650, response.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("bdevjrbgcdx", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("steeksb", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("cijyxcmqcggksror", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jfharphl", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("u", response.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("fau", response.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("zekygnepjyuxqd", response.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("hiyxjqr", response.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("pz", response.egressAclId()); - Assertions.assertEquals("achpfzsfutaapbrw", response.ingressAclId()); + Assertions.assertEquals(924370604, response.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("dugwddob", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("sj", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("crweeqkdmpfmcrc", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("snjftnfdcjtveibn", + response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("tm", response.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("alqqrymjwwo", response.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("efellhdsgo", response.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("u", response.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("malthcbvuvwdp", response.egressAclId()); + Assertions.assertEquals("phnag", response.ingressAclId()); Assertions.assertEquals(MicroBfdState.DISABLED, response.microBfdState()); - Assertions.assertEquals("hsorca", response.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("fhyoigzwedftera", + Assertions.assertEquals("mnbmfmloqat", + response.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("vtddpicwnbtvl", response.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("fvhbbnoevkkrlkdo", - response.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("qscmdsjgo", + Assertions.assertEquals("uaez", response.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("rvtaul", response.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetWithResponseMockTests.java index cfe06fae45360..cb721386ef86f 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsGetWithResponseMockTests.java @@ -26,7 +26,7 @@ public final class NetworkToNetworkInterconnectsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"nniType\":\"NPB\",\"isManagementType\":\"False\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":497534781,\"interfaces\":[\"kzhxadmauanxz\",\"qtmhaerhxdshk\",\"rkhjjbw\"]},\"optionBLayer3Configuration\":{\"peerASN\":1367050823225865981,\"vlanId\":1314876476,\"fabricASN\":472471701726957947,\"peLoopbackIpAddress\":[\"oguypmselwszqve\",\"kddxljjzdbzk\",\"wgwvkujshc\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{\"maximumRoutes\":1181044241},{\"maximumRoutes\":666118004},{\"maximumRoutes\":1701870517},{\"maximumRoutes\":969744431}],\"primaryIpv4Prefix\":\"dvyypjkjirvjo\",\"primaryIpv6Prefix\":\"alvjlhnimuaeoky\",\"secondaryIpv4Prefix\":\"wqu\",\"secondaryIpv6Prefix\":\"lzofuzthszjyanh\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":90830154,\"multiplier\":1402806144},\"ipv4Routes\":[{\"prefix\":\"opdpufqs\",\"nextHop\":[\"qzxjbxolmehquqi\",\"gibog\",\"ojupenoupc\",\"lxcwrszwa\"]}],\"ipv6Routes\":[{\"prefix\":\"isdkcuhqtskyb\",\"nextHop\":[\"eeeucvvnbymrgel\",\"oduexx\",\"d\",\"fr\"]},{\"prefix\":\"envkqtvtq\",\"nextHop\":[\"qzvq\",\"nozwphkaqr\",\"c\",\"cbrtltpohbz\"]},{\"prefix\":\"bj\",\"nextHop\":[\"amit\",\"v\",\"vpdvdbyelr\",\"eunkwypum\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1638277433,\"multiplier\":328771490},\"ipv4Routes\":[{\"prefix\":\"fdmlylzdb\",\"nextHop\":[\"jlwfthfrxwiq\"]},{\"prefix\":\"sfgkwrcb\",\"nextHop\":[\"yprabp\",\"wecz\",\"izabjb\",\"y\"]},{\"prefix\":\"ddijfkkt\",\"nextHop\":[\"iseepl\"]}],\"ipv6Routes\":[{\"prefix\":\"rxydsompnce\",\"nextHop\":[\"kjtm\",\"aczkjkfakgrwt\",\"esfanmjmpceuwmfd\"]},{\"prefix\":\"lvpyhhgq\",\"nextHop\":[\"zj\",\"ijzhv\"]},{\"prefix\":\"jqjekoln\",\"nextHop\":[\"pykjpakaouyaan\",\"xaicheycak\",\"on\",\"yd\"]},{\"prefix\":\"dwyhadz\",\"nextHop\":[\"a\",\"nhwuqewcnhsksf\",\"kxfkeeqofwbe\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"erwss\",\"importIpv6RoutePolicyId\":\"mrpdjrylfpdudx\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"euriehxbanfsqfh\",\"exportIpv6RoutePolicyId\":\"qssngeviy\"},\"egressAclId\":\"gohrhjspsyhda\",\"ingressAclId\":\"npvg\",\"microBfdState\":\"Enabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"etzydtgpvn\",\"nextHop\":[\"fpoybjkuokaj\",\"yrhuc\",\"fkaqlpuzpte\",\"onbqaktao\"]},{\"prefix\":\"mgefobcqvzm\",\"nextHop\":[\"vsynsccmos\",\"vojgolmkklzab\",\"uvnclntaoidjhoy\",\"gtyvrnfikireet\"]},{\"prefix\":\"jfizafd\",\"nextHop\":[\"h\",\"uvndgrolgxajcsi\",\"fwlyeiaj\",\"pjmqteirrjj\"]},{\"prefix\":\"vrzfppopwxxdgzhn\",\"nextHop\":[\"buwauytq\",\"kgaxloafwsuaxqro\",\"w\"]}],\"ipv6Routes\":[{\"prefix\":\"pnd\",\"nextHop\":[\"lxjrhctbrv\"]}]},\"lastOperation\":{\"details\":\"amoyvqfjpkezq\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"MAT\"},\"id\":\"epcacgvlnpj\",\"name\":\"byry\",\"type\":\"ktuvdes\"}"; + = "{\"properties\":{\"nniType\":\"CE\",\"isManagementType\":\"False\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":1421644018,\"interfaces\":[\"vcxjols\",\"oixqpnmsfqn\",\"akroxk\"]},\"optionBLayer3Configuration\":{\"peerASN\":3529812506284754899,\"vlanId\":2143103492,\"fabricASN\":2983367610206178393,\"peLoopbackIpAddress\":[\"wk\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{\"maximumRoutes\":535674321},{\"maximumRoutes\":1338686240},{\"maximumRoutes\":1121173377}],\"primaryIpv4Prefix\":\"prdpvblonlh\",\"primaryIpv6Prefix\":\"exwjhicuzqa\",\"secondaryIpv4Prefix\":\"mxnhylwogtvl\",\"secondaryIpv6Prefix\":\"gd\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":718737690,\"multiplier\":230320531},\"ipv4Routes\":[{\"prefix\":\"dclkmg\",\"nextHop\":[\"zlfyxaiafe\",\"mxekfvycvhwduo\",\"y\"]}],\"ipv6Routes\":[{\"prefix\":\"zcxkuusbahca\",\"nextHop\":[\"qeybdnzeyakgrko\"]},{\"prefix\":\"fqmxzkicx\",\"nextHop\":[\"mqi\"]},{\"prefix\":\"awctaarboxal\",\"nextHop\":[\"admcvvkjnpef\",\"wevlohuahl\",\"mcboxgpmmzhx\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":852582100,\"multiplier\":1789508916},\"ipv4Routes\":[{\"prefix\":\"lspzcy\",\"nextHop\":[\"ynlbtriaec\",\"ag\",\"drhadgyhqra\",\"xeomjqq\"]}],\"ipv6Routes\":[{\"prefix\":\"xiuhi\",\"nextHop\":[\"bhzdjvdyrzijggb\",\"dpzgvqfznxzal\",\"icrutyhmf\",\"vxilayt\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"fq\",\"importIpv6RoutePolicyId\":\"noghqdl\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"qngpvvnbu\",\"exportIpv6RoutePolicyId\":\"vkutl\"},\"egressAclId\":\"xuuqb\",\"ingressAclId\":\"pbeswgkreozpufk\",\"microBfdState\":\"Enabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"zgikl\",\"nextHop\":[\"egcg\",\"ndpbsi\",\"ymmcbiktetzvqtc\"]},{\"prefix\":\"svcsbyimygswd\",\"nextHop\":[\"pdnbzqweohmlkzhx\",\"dmauanxzrqt\",\"haerhxd\"]},{\"prefix\":\"hkbrkhjjbwelicrx\",\"nextHop\":[\"q\",\"oguypmselwszqve\"]}],\"ipv6Routes\":[{\"prefix\":\"dxljjzdbzk\",\"nextHop\":[\"gw\",\"kujshcsn\",\"iygpqxq\"]},{\"prefix\":\"v\",\"nextHop\":[\"dvyypjkjirvjo\"]},{\"prefix\":\"salvjlhn\",\"nextHop\":[\"uaeokympwquutl\",\"ofuzthszjyanhs\",\"iqeftgunropdpuf\",\"sdtqzxjbxolmehq\"]}]},\"lastOperation\":{\"details\":\"hgib\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"id\":\"noupcolxcwrszwad\",\"name\":\"sisdkcuhqts\",\"type\":\"yby\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,55 +36,54 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); NetworkToNetworkInterconnect response = manager.networkToNetworkInterconnects() - .getWithResponse("esvcs", "yimyg", "wduzp", com.azure.core.util.Context.NONE) + .getWithResponse("kfdrimoopf", "dfjjrhxornuoq", "obwarsdx", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals(NniType.NPB, response.nniType()); + Assertions.assertEquals(NniType.CE, response.nniType()); Assertions.assertEquals(IsManagementType.FALSE, response.isManagementType()); Assertions.assertEquals(BooleanEnumProperty.FALSE, response.useOptionB()); - Assertions.assertEquals(497534781, response.layer2Configuration().mtu()); - Assertions.assertEquals("kzhxadmauanxz", response.layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("dvyypjkjirvjo", response.optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("alvjlhnimuaeoky", response.optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("wqu", response.optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("lzofuzthszjyanh", response.optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(1367050823225865981L, response.optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1314876476, response.optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("oguypmselwszqve", response.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); + Assertions.assertEquals(1421644018, response.layer2Configuration().mtu()); + Assertions.assertEquals("vcxjols", response.layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("prdpvblonlh", response.optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("exwjhicuzqa", response.optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("mxnhylwogtvl", response.optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("gd", response.optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(3529812506284754899L, response.optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(2143103492, response.optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("wk", response.optionBLayer3Configuration().peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.ENABLED, response.optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(1181044241, - response.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(90830154, + Assertions.assertEquals(535674321, response.optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(718737690, response.npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1402806144, response.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("opdpufqs", response.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("qzxjbxolmehquqi", + Assertions.assertEquals(230320531, response.npbStaticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("dclkmg", response.npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("zlfyxaiafe", response.npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("isdkcuhqtskyb", response.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("eeeucvvnbymrgel", + Assertions.assertEquals("zcxkuusbahca", response.npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("qeybdnzeyakgrko", response.npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(1638277433, + Assertions.assertEquals(852582100, response.staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(328771490, response.staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("fdmlylzdb", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jlwfthfrxwiq", - response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("rxydsompnce", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("kjtm", response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("erwss", response.importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("mrpdjrylfpdudx", response.importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("euriehxbanfsqfh", response.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("qssngeviy", response.exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("gohrhjspsyhda", response.egressAclId()); - Assertions.assertEquals("npvg", response.ingressAclId()); + Assertions.assertEquals(1789508916, response.staticRouteConfiguration().bfdConfiguration().multiplier()); + Assertions.assertEquals("lspzcy", response.staticRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("ynlbtriaec", response.staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("xiuhi", response.staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("bhzdjvdyrzijggb", + response.staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("fq", response.importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("noghqdl", response.importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("qngpvvnbu", response.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("vkutl", response.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("xuuqb", response.egressAclId()); + Assertions.assertEquals("pbeswgkreozpufk", response.ingressAclId()); Assertions.assertEquals(MicroBfdState.ENABLED, response.microBfdState()); - Assertions.assertEquals("etzydtgpvn", - response.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("fpoybjkuokaj", + Assertions.assertEquals("zgikl", response.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); + Assertions.assertEquals("egcg", response.conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("pnd", response.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("lxjrhctbrv", + Assertions.assertEquals("dxljjzdbzk", + response.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("gw", response.conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricMockTests.java index 4b186aae821a6..a43fb9cebb2da 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListByNetworkFabricMockTests.java @@ -27,7 +27,7 @@ public final class NetworkToNetworkInterconnectsListByNetworkFabricMockTests { @Test public void testListByNetworkFabric() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"nniType\":\"NPB\",\"isManagementType\":\"False\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":1815481604,\"interfaces\":[\"xjsvz\",\"l\",\"eotdscqkxzrfloqz\",\"vem\"]},\"optionBLayer3Configuration\":{\"peerASN\":4703007845031173996,\"vlanId\":1699690495,\"fabricASN\":8548818076168058188,\"peLoopbackIpAddress\":[\"trrhhgwawiz\",\"anvcfxdv\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{\"maximumRoutes\":1100644461},{\"maximumRoutes\":154530214}],\"primaryIpv4Prefix\":\"txhqqvdhdyyad\",\"primaryIpv6Prefix\":\"nepubsdinfa\",\"secondaryIpv4Prefix\":\"t\",\"secondaryIpv6Prefix\":\"vsdyqyjkmfo\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1464382799,\"multiplier\":1461029317},\"ipv4Routes\":[{\"prefix\":\"xtpbapojknvxantl\",\"nextHop\":[\"piipfgdnqpkvvr\",\"oqyvqdv\"]}],\"ipv6Routes\":[{\"prefix\":\"oduexhskhkqlv\",\"nextHop\":[\"rddqxh\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":195356058,\"multiplier\":1905392711},\"ipv4Routes\":[{\"prefix\":\"qrunqwcrkka\",\"nextHop\":[\"xxyfnipywgjgfbsf\",\"vayge\",\"y\",\"okkiptnwpwskck\"]},{\"prefix\":\"wymfy\",\"nextHop\":[\"gvqioqrebwarljpl\",\"pemxcdreqaqvsp\"]},{\"prefix\":\"yvearwt\",\"nextHop\":[\"bscwbiwvwmcrhy\"]}],\"ipv6Routes\":[{\"prefix\":\"tplmy\",\"nextHop\":[\"hvyj\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"rhxgstiawyw\",\"importIpv6RoutePolicyId\":\"qxujxbdyczplmlj\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"xbwsftytpj\",\"exportIpv6RoutePolicyId\":\"fd\"},\"egressAclId\":\"hqlzantahuykxsjy\",\"ingressAclId\":\"sx\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"qnsmp\",\"nextHop\":[\"yjvlzqsyvryoleq\",\"kcorkemobo\",\"xfhtbtuvw\"]},{\"prefix\":\"jycgcieagxikzvng\",\"nextHop\":[\"knrwchysnmyuvfm\",\"cnrapxw\",\"tpxoelfobe\",\"rcfgl\"]}],\"ipv6Routes\":[{\"prefix\":\"cz\",\"nextHop\":[\"tfwkvirmbr\",\"ognqahn\",\"msfybh\"]},{\"prefix\":\"dzvuhw\",\"nextHop\":[\"nazjvyiiezdnez\",\"tqzdbrmyutztt\",\"oymivkk\"]},{\"prefix\":\"zr\",\"nextHop\":[\"egyz\",\"zhcfu\",\"mxezzumklroogf\",\"h\"]}]},\"lastOperation\":{\"details\":\"pxb\"},\"configurationState\":\"PendingCommit\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"Enabled\"},\"id\":\"zye\",\"name\":\"woukdhnferdggjih\",\"type\":\"zvoehgwgqg\"}]}"; + = "{\"value\":[{\"properties\":{\"nniType\":\"NPB\",\"isManagementType\":\"False\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":928340166,\"interfaces\":[\"tvtqpwqzvqtno\"]},\"optionBLayer3Configuration\":{\"peerASN\":7933581828750311359,\"vlanId\":1123031250,\"fabricASN\":8127974522767380244,\"peLoopbackIpAddress\":[\"vcbrtltpohbzbb\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":1786716977}],\"primaryIpv4Prefix\":\"v\",\"primaryIpv6Prefix\":\"pdv\",\"secondaryIpv4Prefix\":\"yelrteunkwypu\",\"secondaryIpv6Prefix\":\"fmsygt\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1528136850,\"multiplier\":402060879},\"ipv4Routes\":[{\"prefix\":\"dbrwjlwfthf\",\"nextHop\":[\"w\"]},{\"prefix\":\"qjsfgkwrcb\",\"nextHop\":[\"yprabp\",\"wecz\",\"izabjb\",\"y\"]}],\"ipv6Routes\":[{\"prefix\":\"ijfkktigiseepl\",\"nextHop\":[\"erxydsompncea\",\"kjtm\",\"aczkjkfakgrwt\",\"esfanmjmpceuwmfd\"]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":534410646,\"multiplier\":1328944201},\"ipv4Routes\":[{\"prefix\":\"zj\",\"nextHop\":[\"jzhvej\",\"jekolnylpyk\"]},{\"prefix\":\"pa\",\"nextHop\":[\"ouya\",\"nfxaicheycakkona\",\"dpd\"]}],\"ipv6Routes\":[{\"prefix\":\"adzyxaanhwuqewcn\",\"nextHop\":[\"ksfbkxfkeeqofwb\",\"kpe\",\"rwssw\",\"mrpdjrylfpdudx\"]},{\"prefix\":\"igeurieh\",\"nextHop\":[\"an\",\"sqfhatqssngevi\",\"ffgohrhjspsyh\",\"apynpvgyafttbet\"]},{\"prefix\":\"ydtgpvnczfp\",\"nextHop\":[\"b\",\"kuokajky\"]},{\"prefix\":\"hucbfkaqlpuzp\",\"nextHop\":[\"ronbqakt\",\"otmge\"]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"cqvzmywvsynsccm\",\"importIpv6RoutePolicyId\":\"qvojgolmkk\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"b\",\"exportIpv6RoutePolicyId\":\"vnclnt\"},\"egressAclId\":\"idjhoykgtyvrn\",\"ingressAclId\":\"kiree\",\"microBfdState\":\"Enabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"afdgjhnuvn\",\"nextHop\":[\"r\",\"l\",\"xajcsipfwlyei\",\"jd\"]}],\"ipv6Routes\":[{\"prefix\":\"qteirrjjmvr\",\"nextHop\":[\"ppopw\",\"xdgzhnpxbuwauytq\",\"kgaxloafwsuaxqro\"]},{\"prefix\":\"w\",\"nextHop\":[\"ipn\",\"dqlx\"]},{\"prefix\":\"rhctbrvegdamoy\",\"nextHop\":[\"fjpkezqjizbyczme\",\"cac\"]},{\"prefix\":\"vlnpjjbyr\",\"nextHop\":[\"ktuvdes\",\"arul\"]}]},\"lastOperation\":{\"details\":\"qtvyhsxhcrff\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Disabled\"},\"id\":\"izvxjsv\",\"name\":\"h\",\"type\":\"keotds\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,69 +37,67 @@ public void testListByNetworkFabric() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.networkToNetworkInterconnects() - .listByNetworkFabric("arul", "hbqtvyhsxhcrff", com.azure.core.util.Context.NONE); + .listByNetworkFabric("eeeucvvnbymrgel", "oduexx", com.azure.core.util.Context.NONE); Assertions.assertEquals(NniType.NPB, response.iterator().next().nniType()); Assertions.assertEquals(IsManagementType.FALSE, response.iterator().next().isManagementType()); Assertions.assertEquals(BooleanEnumProperty.FALSE, response.iterator().next().useOptionB()); - Assertions.assertEquals(1815481604, response.iterator().next().layer2Configuration().mtu()); - Assertions.assertEquals("xjsvz", response.iterator().next().layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("txhqqvdhdyyad", - response.iterator().next().optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("nepubsdinfa", - response.iterator().next().optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("t", response.iterator().next().optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("vsdyqyjkmfo", + Assertions.assertEquals(928340166, response.iterator().next().layer2Configuration().mtu()); + Assertions.assertEquals("tvtqpwqzvqtno", response.iterator().next().layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("v", response.iterator().next().optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("pdv", response.iterator().next().optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("yelrteunkwypu", + response.iterator().next().optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("fmsygt", response.iterator().next().optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(4703007845031173996L, + Assertions.assertEquals(7933581828750311359L, response.iterator().next().optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1699690495, response.iterator().next().optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("trrhhgwawiz", + Assertions.assertEquals(1123031250, response.iterator().next().optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("vcbrtltpohbzbb", response.iterator().next().optionBLayer3Configuration().peLoopbackIpAddress().get(0)); - Assertions.assertEquals(BmpConfigurationState.ENABLED, + Assertions.assertEquals(BmpConfigurationState.DISABLED, response.iterator().next().optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(1100644461, + Assertions.assertEquals(1786716977, response.iterator().next().optionBLayer3Configuration().prefixLimits().get(0).maximumRoutes()); - Assertions.assertEquals(1464382799, + Assertions.assertEquals(1528136850, response.iterator().next().npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1461029317, + Assertions.assertEquals(402060879, response.iterator().next().npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("xtpbapojknvxantl", + Assertions.assertEquals("dbrwjlwfthf", response.iterator().next().npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("piipfgdnqpkvvr", + Assertions.assertEquals("w", response.iterator().next().npbStaticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("oduexhskhkqlv", + Assertions.assertEquals("ijfkktigiseepl", response.iterator().next().npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("rddqxh", + Assertions.assertEquals("erxydsompncea", response.iterator().next().npbStaticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(195356058, + Assertions.assertEquals(534410646, response.iterator().next().staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1905392711, + Assertions.assertEquals(1328944201, response.iterator().next().staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("qrunqwcrkka", + Assertions.assertEquals("zj", response.iterator().next().staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("xxyfnipywgjgfbsf", + Assertions.assertEquals("jzhvej", response.iterator().next().staticRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("tplmy", + Assertions.assertEquals("adzyxaanhwuqewcn", response.iterator().next().staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("hvyj", + Assertions.assertEquals("ksfbkxfkeeqofwb", response.iterator().next().staticRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("rhxgstiawyw", + Assertions.assertEquals("cqvzmywvsynsccm", response.iterator().next().importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("qxujxbdyczplmlj", - response.iterator().next().importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("xbwsftytpj", response.iterator().next().exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("fd", response.iterator().next().exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("hqlzantahuykxsjy", response.iterator().next().egressAclId()); - Assertions.assertEquals("sx", response.iterator().next().ingressAclId()); - Assertions.assertEquals(MicroBfdState.DISABLED, response.iterator().next().microBfdState()); - Assertions.assertEquals("qnsmp", + Assertions.assertEquals("qvojgolmkk", response.iterator().next().importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("b", response.iterator().next().exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("vnclnt", response.iterator().next().exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("idjhoykgtyvrn", response.iterator().next().egressAclId()); + Assertions.assertEquals("kiree", response.iterator().next().ingressAclId()); + Assertions.assertEquals(MicroBfdState.ENABLED, response.iterator().next().microBfdState()); + Assertions.assertEquals("afdgjhnuvn", response.iterator().next().conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("yjvlzqsyvryoleq", + Assertions.assertEquals("r", response.iterator().next().conditionalDefaultRouteConfiguration().ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("cz", + Assertions.assertEquals("qteirrjjmvr", response.iterator().next().conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("tfwkvirmbr", + Assertions.assertEquals("ppopw", response.iterator().next().conditionalDefaultRouteConfiguration().ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListTests.java index 384b82ba94472..0be350191ac04 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NetworkToNetworkInterconnectsListTests.java @@ -17,50 +17,49 @@ public final class NetworkToNetworkInterconnectsListTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NetworkToNetworkInterconnectsList model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"nniType\":\"CE\",\"isManagementType\":\"True\",\"useOptionB\":\"True\",\"layer2Configuration\":{\"mtu\":423559092,\"interfaces\":[\"znjqswshe\",\"gcsqosecxlngou\",\"pizpbm\",\"xzspfy\"]},\"optionBLayer3Configuration\":{\"peerASN\":1223806933735819402,\"vlanId\":1731558660,\"fabricASN\":4844358657106659923,\"peLoopbackIpAddress\":[\"gtdumjty\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{},{}],\"primaryIpv4Prefix\":\"n\",\"primaryIpv6Prefix\":\"xozqthkwxfugfziz\",\"secondaryIpv4Prefix\":\"duyjnqzbr\",\"secondaryIpv6Prefix\":\"akmfc\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1115388108,\"multiplier\":1185749240},\"ipv4Routes\":[{\"prefix\":\"bqoitwhmucjiuh\",\"nextHop\":[]},{\"prefix\":\"xy\",\"nextHop\":[]},{\"prefix\":\"ehyklelyqdvpqfbx\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"udusdmtxqlefnohe\",\"nextHop\":[]},{\"prefix\":\"wvfopkyllrey\",\"nextHop\":[]},{\"prefix\":\"nj\",\"nextHop\":[]},{\"prefix\":\"w\",\"nextHop\":[]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":2027496783,\"multiplier\":1238684910},\"ipv4Routes\":[{\"prefix\":\"vcneqswxhqhgk\",\"nextHop\":[]},{\"prefix\":\"tbzvulqevvjncp\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"t\",\"nextHop\":[]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"mvghcmixmlwkfefb\",\"importIpv6RoutePolicyId\":\"jrtalqeebudf\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"ooaezktom\",\"exportIpv6RoutePolicyId\":\"oi\"},\"egressAclId\":\"qwbywaazbaeee\",\"ingressAclId\":\"ztvn\",\"microBfdState\":\"Disabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"ow\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"jdkxh\",\"nextHop\":[]},{\"prefix\":\"ewy\",\"nextHop\":[]},{\"prefix\":\"olclzxkrd\",\"nextHop\":[]},{\"prefix\":\"uyytbpkrpkhqetp\",\"nextHop\":[]}]},\"lastOperation\":{\"details\":\"efno\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"RMA\"},\"id\":\"yrxowv\",\"name\":\"ufcmuajwblxp\",\"type\":\"tozfrfa\"}],\"nextLink\":\"nnsvrfajynihti\"}") + "{\"value\":[{\"properties\":{\"nniType\":\"CE\",\"isManagementType\":\"False\",\"useOptionB\":\"False\",\"layer2Configuration\":{\"mtu\":1193359942,\"interfaces\":[\"gknxmaovrg\",\"hlnzffew\",\"qkycj\"]},\"optionBLayer3Configuration\":{\"peerASN\":5087027319042843881,\"vlanId\":1608962177,\"fabricASN\":8198143981615463474,\"peLoopbackIpAddress\":[\"yafwtyd\",\"mma\"],\"bmpConfiguration\":{\"configurationState\":\"Enabled\"},\"prefixLimits\":[{},{},{}],\"primaryIpv4Prefix\":\"jqzhpvhxpba\",\"primaryIpv6Prefix\":\"zeullgfyogtq\",\"secondaryIpv4Prefix\":\"jpvqerqxko\",\"secondaryIpv6Prefix\":\"dzpzlhcuexl\"},\"npbStaticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1663750320,\"multiplier\":1156522687},\"ipv4Routes\":[{\"prefix\":\"wlbg\",\"nextHop\":[]},{\"prefix\":\"nkfrwxo\",\"nextHop\":[]},{\"prefix\":\"lydsnjzpchiypbf\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"hi\",\"nextHop\":[]}]},\"staticRouteConfiguration\":{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1259958997,\"multiplier\":956888194},\"ipv4Routes\":[{\"prefix\":\"jzgkbrauxbo\",\"nextHop\":[]},{\"prefix\":\"fq\",\"nextHop\":[]},{\"prefix\":\"nqbjxgjwsrer\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"uudrizwkwkjxlaac\",\"nextHop\":[]},{\"prefix\":\"dikqelssybz\",\"nextHop\":[]},{\"prefix\":\"evgb\",\"nextHop\":[]},{\"prefix\":\"rommkiqhypwt\",\"nextHop\":[]}]},\"importRoutePolicy\":{\"importIpv4RoutePolicyId\":\"jjy\",\"importIpv6RoutePolicyId\":\"omzq\"},\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"agwiijc\",\"exportIpv6RoutePolicyId\":\"iywhxpsb\"},\"egressAclId\":\"ialezaydpu\",\"ingressAclId\":\"degefxlieggoto\",\"microBfdState\":\"Enabled\",\"conditionalDefaultRouteConfiguration\":{\"ipv4Routes\":[{\"prefix\":\"nwhz\",\"nextHop\":[]},{\"prefix\":\"ah\",\"nextHop\":[]},{\"prefix\":\"ecknfm\",\"nextHop\":[]},{\"prefix\":\"cufthdgwuzrono\",\"nextHop\":[]}],\"ipv6Routes\":[{\"prefix\":\"zfk\",\"nextHop\":[]}]},\"lastOperation\":{\"details\":\"ysodcikgx\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"Disabled\"},\"id\":\"ekebawnxzs\",\"name\":\"wyfixi\",\"type\":\"gcjf\"}],\"nextLink\":\"wulpjkakrxif\"}") .toObject(NetworkToNetworkInterconnectsList.class); Assertions.assertEquals(NniType.CE, model.value().get(0).nniType()); - Assertions.assertEquals(IsManagementType.TRUE, model.value().get(0).isManagementType()); - Assertions.assertEquals(BooleanEnumProperty.TRUE, model.value().get(0).useOptionB()); - Assertions.assertEquals(423559092, model.value().get(0).layer2Configuration().mtu()); - Assertions.assertEquals("znjqswshe", model.value().get(0).layer2Configuration().interfaces().get(0)); - Assertions.assertEquals("n", model.value().get(0).optionBLayer3Configuration().primaryIpv4Prefix()); - Assertions.assertEquals("xozqthkwxfugfziz", - model.value().get(0).optionBLayer3Configuration().primaryIpv6Prefix()); - Assertions.assertEquals("duyjnqzbr", model.value().get(0).optionBLayer3Configuration().secondaryIpv4Prefix()); - Assertions.assertEquals("akmfc", model.value().get(0).optionBLayer3Configuration().secondaryIpv6Prefix()); - Assertions.assertEquals(1223806933735819402L, model.value().get(0).optionBLayer3Configuration().peerAsn()); - Assertions.assertEquals(1731558660, model.value().get(0).optionBLayer3Configuration().vlanId()); - Assertions.assertEquals("gtdumjty", + Assertions.assertEquals(IsManagementType.FALSE, model.value().get(0).isManagementType()); + Assertions.assertEquals(BooleanEnumProperty.FALSE, model.value().get(0).useOptionB()); + Assertions.assertEquals(1193359942, model.value().get(0).layer2Configuration().mtu()); + Assertions.assertEquals("gknxmaovrg", model.value().get(0).layer2Configuration().interfaces().get(0)); + Assertions.assertEquals("jqzhpvhxpba", model.value().get(0).optionBLayer3Configuration().primaryIpv4Prefix()); + Assertions.assertEquals("zeullgfyogtq", model.value().get(0).optionBLayer3Configuration().primaryIpv6Prefix()); + Assertions.assertEquals("jpvqerqxko", model.value().get(0).optionBLayer3Configuration().secondaryIpv4Prefix()); + Assertions.assertEquals("dzpzlhcuexl", model.value().get(0).optionBLayer3Configuration().secondaryIpv6Prefix()); + Assertions.assertEquals(5087027319042843881L, model.value().get(0).optionBLayer3Configuration().peerAsn()); + Assertions.assertEquals(1608962177, model.value().get(0).optionBLayer3Configuration().vlanId()); + Assertions.assertEquals("yafwtyd", model.value().get(0).optionBLayer3Configuration().peLoopbackIpAddress().get(0)); - Assertions.assertEquals(BmpConfigurationState.DISABLED, + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.value().get(0).optionBLayer3Configuration().bmpConfiguration().configurationState()); - Assertions.assertEquals(1115388108, + Assertions.assertEquals(1663750320, model.value().get(0).npbStaticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1185749240, + Assertions.assertEquals(1156522687, model.value().get(0).npbStaticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("bqoitwhmucjiuh", + Assertions.assertEquals("wlbg", model.value().get(0).npbStaticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("udusdmtxqlefnohe", - model.value().get(0).npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals(2027496783, + Assertions.assertEquals("hi", model.value().get(0).npbStaticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals(1259958997, model.value().get(0).staticRouteConfiguration().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1238684910, + Assertions.assertEquals(956888194, model.value().get(0).staticRouteConfiguration().bfdConfiguration().multiplier()); - Assertions.assertEquals("vcneqswxhqhgk", + Assertions.assertEquals("jzgkbrauxbo", model.value().get(0).staticRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("t", model.value().get(0).staticRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("mvghcmixmlwkfefb", model.value().get(0).importRoutePolicy().importIpv4RoutePolicyId()); - Assertions.assertEquals("jrtalqeebudf", model.value().get(0).importRoutePolicy().importIpv6RoutePolicyId()); - Assertions.assertEquals("ooaezktom", model.value().get(0).exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("oi", model.value().get(0).exportRoutePolicy().exportIpv6RoutePolicyId()); - Assertions.assertEquals("qwbywaazbaeee", model.value().get(0).egressAclId()); - Assertions.assertEquals("ztvn", model.value().get(0).ingressAclId()); - Assertions.assertEquals(MicroBfdState.DISABLED, model.value().get(0).microBfdState()); - Assertions.assertEquals("ow", + Assertions.assertEquals("uudrizwkwkjxlaac", + model.value().get(0).staticRouteConfiguration().ipv6Routes().get(0).prefix()); + Assertions.assertEquals("jjy", model.value().get(0).importRoutePolicy().importIpv4RoutePolicyId()); + Assertions.assertEquals("omzq", model.value().get(0).importRoutePolicy().importIpv6RoutePolicyId()); + Assertions.assertEquals("agwiijc", model.value().get(0).exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("iywhxpsb", model.value().get(0).exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("ialezaydpu", model.value().get(0).egressAclId()); + Assertions.assertEquals("degefxlieggoto", model.value().get(0).ingressAclId()); + Assertions.assertEquals(MicroBfdState.ENABLED, model.value().get(0).microBfdState()); + Assertions.assertEquals("nwhz", model.value().get(0).conditionalDefaultRouteConfiguration().ipv4Routes().get(0).prefix()); - Assertions.assertEquals("jdkxh", + Assertions.assertEquals("zfk", model.value().get(0).conditionalDefaultRouteConfiguration().ipv6Routes().get(0).prefix()); - Assertions.assertEquals("nnsvrfajynihti", model.nextLink()); + Assertions.assertEquals("wulpjkakrxif", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPatchPropertiesTests.java index e5df0e0f16f5f..7f0a4a9165ac2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPatchPropertiesTests.java @@ -13,15 +13,14 @@ public final class NniBmpPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NniBmpPatchProperties model - = BinaryData.fromString("{\"configurationState\":\"Disabled\"}").toObject(NniBmpPatchProperties.class); - Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); + = BinaryData.fromString("{\"configurationState\":\"Enabled\"}").toObject(NniBmpPatchProperties.class); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NniBmpPatchProperties model - = new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED); + NniBmpPatchProperties model = new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED); model = BinaryData.fromObject(model).toObject(NniBmpPatchProperties.class); - Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPropertiesTests.java index 08511dd6d06a1..a9a42df7ddf9c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniBmpPropertiesTests.java @@ -13,14 +13,14 @@ public final class NniBmpPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NniBmpProperties model - = BinaryData.fromString("{\"configurationState\":\"Disabled\"}").toObject(NniBmpProperties.class); - Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); + = BinaryData.fromString("{\"configurationState\":\"Enabled\"}").toObject(NniBmpProperties.class); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NniBmpProperties model = new NniBmpProperties().withConfigurationState(BmpConfigurationState.DISABLED); + NniBmpProperties model = new NniBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED); model = BinaryData.fromObject(model).toObject(NniBmpProperties.class); - Assertions.assertEquals(BmpConfigurationState.DISABLED, model.configurationState()); + Assertions.assertEquals(BmpConfigurationState.ENABLED, model.configurationState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRouteConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRouteConfigurationTests.java index 5fb905687a06e..631c571e9fe75 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRouteConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRouteConfigurationTests.java @@ -15,34 +15,35 @@ public final class NniStaticRouteConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NniStaticRouteConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":994754921,\"multiplier\":1258889554},\"ipv4Routes\":[{\"prefix\":\"yixlv\",\"nextHop\":[\"gulaebxiauqs\",\"ptessjlw\",\"tatpvblskxgxqay\"]},{\"prefix\":\"aslkvcvwpvl\",\"nextHop\":[\"bvyezj\",\"jkqonbw\",\"iieyozvrc\"]}],\"ipv6Routes\":[{\"prefix\":\"ucwnbcgqefgzjv\",\"nextHop\":[\"qcbgoarxtuu\",\"iag\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":79740918,\"multiplier\":2128449869},\"ipv4Routes\":[{\"prefix\":\"wjg\",\"nextHop\":[\"hcrx\",\"f\",\"rutvnpccxz\"]},{\"prefix\":\"vx\",\"nextHop\":[\"hzghhhkvn\",\"jd\",\"ujqzvhnjvpmxnht\",\"zstqlf\"]}],\"ipv6Routes\":[{\"prefix\":\"rwvtlgxyfjswequf\",\"nextHop\":[\"yyopoaytwwgw\",\"ubotbvufrkw\",\"iemimdtn\",\"owewjskr\"]},{\"prefix\":\"eedddrftfquu\",\"nextHop\":[\"clhsiigeeuw\"]}]}") .toObject(NniStaticRouteConfiguration.class); - Assertions.assertEquals(994754921, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1258889554, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("yixlv", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("gulaebxiauqs", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ucwnbcgqefgzjv", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("qcbgoarxtuu", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(79740918, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2128449869, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("wjg", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("hcrx", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("rwvtlgxyfjswequf", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("yyopoaytwwgw", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NniStaticRouteConfiguration model = new NniStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(994754921).withMultiplier(1258889554)) + new BfdConfiguration().withIntervalInMilliSeconds(79740918).withMultiplier(2128449869)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("yixlv") - .withNextHop(Arrays.asList("gulaebxiauqs", "ptessjlw", "tatpvblskxgxqay")), - new StaticRouteProperties().withPrefix("aslkvcvwpvl") - .withNextHop(Arrays.asList("bvyezj", "jkqonbw", "iieyozvrc")))) - .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("ucwnbcgqefgzjv") - .withNextHop(Arrays.asList("qcbgoarxtuu", "iag")))); + new StaticRouteProperties().withPrefix("wjg").withNextHop(Arrays.asList("hcrx", "f", "rutvnpccxz")), + new StaticRouteProperties().withPrefix("vx") + .withNextHop(Arrays.asList("hzghhhkvn", "jd", "ujqzvhnjvpmxnht", "zstqlf")))) + .withIpv6Routes(Arrays.asList( + new StaticRouteProperties().withPrefix("rwvtlgxyfjswequf") + .withNextHop(Arrays.asList("yyopoaytwwgw", "ubotbvufrkw", "iemimdtn", "owewjskr")), + new StaticRouteProperties().withPrefix("eedddrftfquu").withNextHop(Arrays.asList("clhsiigeeuw")))); model = BinaryData.fromObject(model).toObject(NniStaticRouteConfiguration.class); - Assertions.assertEquals(994754921, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1258889554, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("yixlv", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("gulaebxiauqs", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("ucwnbcgqefgzjv", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("qcbgoarxtuu", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(79740918, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2128449869, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("wjg", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("hcrx", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("rwvtlgxyfjswequf", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("yyopoaytwwgw", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRoutePatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRoutePatchConfigurationTests.java index 7d2252370f438..90762d4f4f882 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRoutePatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniStaticRoutePatchConfigurationTests.java @@ -15,38 +15,36 @@ public final class NniStaticRoutePatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NniStaticRoutePatchConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":322494378,\"multiplier\":1253508971},\"ipv4Routes\":[{\"prefix\":\"swtdapsmirmnrije\",\"nextHop\":[\"rtwxce\",\"dspthg\",\"fmwtblgm\"]},{\"prefix\":\"okqoikx\",\"nextHop\":[\"fwlnmlkff\",\"nuestbsli\"]},{\"prefix\":\"jdnccote\",\"nextHop\":[\"kjiytehh\",\"tzxqdwby\",\"uqlngncrdor\"]}],\"ipv6Routes\":[{\"prefix\":\"s\",\"nextHop\":[\"pek\"]},{\"prefix\":\"xdbyhq\",\"nextHop\":[\"cvimmwck\",\"zvlfymtrts\",\"xup\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":2042412681,\"multiplier\":1420991290},\"ipv4Routes\":[{\"prefix\":\"kixyxxhwrlqoma\",\"nextHop\":[\"yilpzz\",\"rwnrzo\",\"sxagysokli\",\"ksybvrrbnhylsb\"]}],\"ipv6Routes\":[{\"prefix\":\"cydyllmxv\",\"nextHop\":[\"tizsyqagqllc\",\"r\",\"aidyl\"]},{\"prefix\":\"y\",\"nextHop\":[\"rrqwfyybpt\",\"jjrnogykugdlavsa\",\"gthkslgeu\"]},{\"prefix\":\"fkbzbfbxjblajy\",\"nextHop\":[\"nbycs\",\"t\",\"isazdjm\"]}]}") .toObject(NniStaticRoutePatchConfiguration.class); - Assertions.assertEquals(322494378, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1253508971, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("swtdapsmirmnrije", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("rtwxce", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("s", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("pek", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(2042412681, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1420991290, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("kixyxxhwrlqoma", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("yilpzz", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("cydyllmxv", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("tizsyqagqllc", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NniStaticRoutePatchConfiguration model = new NniStaticRoutePatchConfiguration() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(322494378).withMultiplier(1253508971)) - .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("swtdapsmirmnrije") - .withNextHop(Arrays.asList("rtwxce", "dspthg", "fmwtblgm")), - new StaticRoutePatchProperties().withPrefix("okqoikx") - .withNextHop(Arrays.asList("fwlnmlkff", "nuestbsli")), - new StaticRoutePatchProperties().withPrefix("jdnccote") - .withNextHop(Arrays.asList("kjiytehh", "tzxqdwby", "uqlngncrdor")))) - .withIpv6Routes( - Arrays.asList(new StaticRoutePatchProperties().withPrefix("s").withNextHop(Arrays.asList("pek")), - new StaticRoutePatchProperties().withPrefix("xdbyhq") - .withNextHop(Arrays.asList("cvimmwck", "zvlfymtrts", "xup")))); + new BfdPatchConfiguration().withIntervalInMilliSeconds(2042412681).withMultiplier(1420991290)) + .withIpv4Routes(Arrays.asList(new StaticRoutePatchProperties().withPrefix("kixyxxhwrlqoma") + .withNextHop(Arrays.asList("yilpzz", "rwnrzo", "sxagysokli", "ksybvrrbnhylsb")))) + .withIpv6Routes(Arrays.asList( + new StaticRoutePatchProperties().withPrefix("cydyllmxv") + .withNextHop(Arrays.asList("tizsyqagqllc", "r", "aidyl")), + new StaticRoutePatchProperties().withPrefix("y") + .withNextHop(Arrays.asList("rrqwfyybpt", "jjrnogykugdlavsa", "gthkslgeu")), + new StaticRoutePatchProperties().withPrefix("fkbzbfbxjblajy") + .withNextHop(Arrays.asList("nbycs", "t", "isazdjm")))); model = BinaryData.fromObject(model).toObject(NniStaticRoutePatchConfiguration.class); - Assertions.assertEquals(322494378, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1253508971, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("swtdapsmirmnrije", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("rtwxce", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("s", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("pek", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(2042412681, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1420991290, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("kixyxxhwrlqoma", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("yilpzz", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("cydyllmxv", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("tizsyqagqllc", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateRequestTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateRequestTests.java index 185d3fdc3cef4..2adbe21e64b8c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateRequestTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateRequestTests.java @@ -14,19 +14,19 @@ public final class NniUpdateBfdAdministrativeStateRequestTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NniUpdateBfdAdministrativeStateRequest model - = BinaryData.fromString("{\"routeType\":\"Static\",\"administrativeState\":\"Enabled\"}") + = BinaryData.fromString("{\"routeType\":\"OptionA\",\"administrativeState\":\"RMA\"}") .toObject(NniUpdateBfdAdministrativeStateRequest.class); - Assertions.assertEquals(RouteType.STATIC, model.routeType()); - Assertions.assertEquals(BfdAdministrativeState.ENABLED, model.administrativeState()); + Assertions.assertEquals(RouteType.OPTIONA, model.routeType()); + Assertions.assertEquals(BfdAdministrativeState.RMA, model.administrativeState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NniUpdateBfdAdministrativeStateRequest model - = new NniUpdateBfdAdministrativeStateRequest().withRouteType(RouteType.STATIC) - .withAdministrativeState(BfdAdministrativeState.ENABLED); + = new NniUpdateBfdAdministrativeStateRequest().withRouteType(RouteType.OPTIONA) + .withAdministrativeState(BfdAdministrativeState.RMA); model = BinaryData.fromObject(model).toObject(NniUpdateBfdAdministrativeStateRequest.class); - Assertions.assertEquals(RouteType.STATIC, model.routeType()); - Assertions.assertEquals(BfdAdministrativeState.ENABLED, model.administrativeState()); + Assertions.assertEquals(RouteType.OPTIONA, model.routeType()); + Assertions.assertEquals(BfdAdministrativeState.RMA, model.administrativeState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateResponsePropertiesTests.java index a578b16028a0a..fa44690153bcd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NniUpdateBfdAdministrativeStateResponsePropertiesTests.java @@ -14,9 +14,9 @@ public final class NniUpdateBfdAdministrativeStateResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NniUpdateBfdAdministrativeStateResponseProperties model - = BinaryData.fromString("{\"routeType\":\"OptionA\",\"administrativeState\":\"RMA\"}") + = BinaryData.fromString("{\"routeType\":\"OptionA\",\"administrativeState\":\"Enabled\"}") .toObject(NniUpdateBfdAdministrativeStateResponseProperties.class); Assertions.assertEquals(RouteType.OPTIONA, model.routeType()); - Assertions.assertEquals(BfdAdministrativeState.RMA, model.administrativeState()); + Assertions.assertEquals(BfdAdministrativeState.ENABLED, model.administrativeState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationPatchTests.java index f892f74de176e..c67ba91ca3346 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationPatchTests.java @@ -15,36 +15,41 @@ public final class NpbStaticRouteConfigurationPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NpbStaticRouteConfigurationPatch model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":2097273618,\"multiplier\":364038370},\"ipv4Routes\":[{\"prefix\":\"rztir\",\"nextHop\":[\"qxvwk\",\"ocxoerjwbuo\"]},{\"prefix\":\"qflm\",\"nextHop\":[\"rlqxbctatez\",\"o\",\"dbcqq\",\"lsjxcscnito\"]},{\"prefix\":\"mra\",\"nextHop\":[\"jido\",\"nvlt\",\"vmah\",\"uwkup\"]},{\"prefix\":\"bnhi\",\"nextHop\":[\"hyzhrcqdfwbifn\"]}],\"ipv6Routes\":[{\"prefix\":\"sforsimtfcqmmyn\",\"nextHop\":[\"pelpfijtezgxmpe\",\"zamadlerzi\",\"f\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1064917842,\"multiplier\":425450497},\"ipv4Routes\":[{\"prefix\":\"gvkdlhuduk\",\"nextHop\":[\"joafm\",\"fex\"]},{\"prefix\":\"lvoepknarse\",\"nextHop\":[\"ncsqoacbuqd\",\"sapleqfg\"]},{\"prefix\":\"xenvszgl\",\"nextHop\":[\"akeszsuuvul\",\"qcwggchxvl\"]},{\"prefix\":\"gfbrv\",\"nextHop\":[\"icaovphirlzbipi\",\"nnepkwzzzku\",\"r\",\"wcjomipvw\"]}],\"ipv6Routes\":[{\"prefix\":\"jttwykoxv\",\"nextHop\":[\"ofxxdplrelfk\",\"gahcbt\",\"xlbpxrhrfjenrazw\"]},{\"prefix\":\"fiktlhqa\",\"nextHop\":[\"tostjixyzsecig\",\"zdwjtacfvvtdpcbp\",\"fomcsau\",\"brhfiwltkfysunte\"]},{\"prefix\":\"hkl\",\"nextHop\":[\"hcvasyy\"]}]}") .toObject(NpbStaticRouteConfigurationPatch.class); - Assertions.assertEquals(2097273618, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(364038370, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("rztir", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("qxvwk", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("sforsimtfcqmmyn", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("pelpfijtezgxmpe", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(1064917842, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(425450497, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("gvkdlhuduk", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("joafm", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("jttwykoxv", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ofxxdplrelfk", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NpbStaticRouteConfigurationPatch model = new NpbStaticRouteConfigurationPatch() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(2097273618).withMultiplier(364038370)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1064917842).withMultiplier(425450497)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("rztir").withNextHop(Arrays.asList("qxvwk", "ocxoerjwbuo")), - new StaticRoutePatchProperties().withPrefix("qflm") - .withNextHop(Arrays.asList("rlqxbctatez", "o", "dbcqq", "lsjxcscnito")), - new StaticRoutePatchProperties().withPrefix("mra") - .withNextHop(Arrays.asList("jido", "nvlt", "vmah", "uwkup")), - new StaticRoutePatchProperties().withPrefix("bnhi").withNextHop(Arrays.asList("hyzhrcqdfwbifn")))) - .withIpv6Routes(Arrays.asList(new StaticRoutePatchProperties().withPrefix("sforsimtfcqmmyn") - .withNextHop(Arrays.asList("pelpfijtezgxmpe", "zamadlerzi", "f")))); + new StaticRoutePatchProperties().withPrefix("gvkdlhuduk").withNextHop(Arrays.asList("joafm", "fex")), + new StaticRoutePatchProperties().withPrefix("lvoepknarse") + .withNextHop(Arrays.asList("ncsqoacbuqd", "sapleqfg")), + new StaticRoutePatchProperties().withPrefix("xenvszgl") + .withNextHop(Arrays.asList("akeszsuuvul", "qcwggchxvl")), + new StaticRoutePatchProperties().withPrefix("gfbrv") + .withNextHop(Arrays.asList("icaovphirlzbipi", "nnepkwzzzku", "r", "wcjomipvw")))) + .withIpv6Routes(Arrays.asList( + new StaticRoutePatchProperties().withPrefix("jttwykoxv") + .withNextHop(Arrays.asList("ofxxdplrelfk", "gahcbt", "xlbpxrhrfjenrazw")), + new StaticRoutePatchProperties().withPrefix("fiktlhqa") + .withNextHop(Arrays.asList("tostjixyzsecig", "zdwjtacfvvtdpcbp", "fomcsau", "brhfiwltkfysunte")), + new StaticRoutePatchProperties().withPrefix("hkl").withNextHop(Arrays.asList("hcvasyy")))); model = BinaryData.fromObject(model).toObject(NpbStaticRouteConfigurationPatch.class); - Assertions.assertEquals(2097273618, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(364038370, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("rztir", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("qxvwk", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("sforsimtfcqmmyn", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("pelpfijtezgxmpe", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(1064917842, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(425450497, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("gvkdlhuduk", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("joafm", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("jttwykoxv", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("ofxxdplrelfk", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationTests.java index 5e2527d4b047f..a57ff09131904 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/NpbStaticRouteConfigurationTests.java @@ -15,33 +15,37 @@ public final class NpbStaticRouteConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NpbStaticRouteConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1054708375,\"multiplier\":1734793687},\"ipv4Routes\":[{\"prefix\":\"gqgagenvqbugihc\",\"nextHop\":[\"foizorbloejz\"]},{\"prefix\":\"axz\",\"nextHop\":[\"qwvdepp\"]},{\"prefix\":\"naphifkfrpmpl\",\"nextHop\":[\"p\",\"brmjjn\"]}],\"ipv6Routes\":[{\"prefix\":\"htbttpkimskhnkkh\",\"nextHop\":[\"krsmhrcmely\",\"pgokuthrvybnzbnv\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":845940772,\"multiplier\":1905368760},\"ipv4Routes\":[{\"prefix\":\"ikdlpsxntugfwimq\",\"nextHop\":[\"yclocfmvswxvjel\",\"ifqhdx\"]},{\"prefix\":\"wwulkrybpaevy\",\"nextHop\":[\"yjecrqkwakkch\",\"foulborcxuibsdq\"]},{\"prefix\":\"dyblpe\",\"nextHop\":[\"sm\"]},{\"prefix\":\"pgweoqhbjqlqf\",\"nextHop\":[\"erufollcshjuc\",\"hbymjjvtpner\",\"vjeazrah\",\"lhbimyii\"]}],\"ipv6Routes\":[{\"prefix\":\"mcthtpqgf\",\"nextHop\":[\"osizk\"]}]}") .toObject(NpbStaticRouteConfiguration.class); - Assertions.assertEquals(1054708375, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1734793687, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("gqgagenvqbugihc", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("foizorbloejz", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("htbttpkimskhnkkh", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("krsmhrcmely", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(845940772, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1905368760, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("ikdlpsxntugfwimq", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("yclocfmvswxvjel", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("mcthtpqgf", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("osizk", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NpbStaticRouteConfiguration model = new NpbStaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1054708375).withMultiplier(1734793687)) + new BfdConfiguration().withIntervalInMilliSeconds(845940772).withMultiplier(1905368760)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("gqgagenvqbugihc").withNextHop(Arrays.asList("foizorbloejz")), - new StaticRouteProperties().withPrefix("axz").withNextHop(Arrays.asList("qwvdepp")), - new StaticRouteProperties().withPrefix("naphifkfrpmpl").withNextHop(Arrays.asList("p", "brmjjn")))) - .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("htbttpkimskhnkkh") - .withNextHop(Arrays.asList("krsmhrcmely", "pgokuthrvybnzbnv")))); + new StaticRouteProperties().withPrefix("ikdlpsxntugfwimq") + .withNextHop(Arrays.asList("yclocfmvswxvjel", "ifqhdx")), + new StaticRouteProperties().withPrefix("wwulkrybpaevy") + .withNextHop(Arrays.asList("yjecrqkwakkch", "foulborcxuibsdq")), + new StaticRouteProperties().withPrefix("dyblpe").withNextHop(Arrays.asList("sm")), + new StaticRouteProperties().withPrefix("pgweoqhbjqlqf") + .withNextHop(Arrays.asList("erufollcshjuc", "hbymjjvtpner", "vjeazrah", "lhbimyii")))) + .withIpv6Routes( + Arrays.asList(new StaticRouteProperties().withPrefix("mcthtpqgf").withNextHop(Arrays.asList("osizk")))); model = BinaryData.fromObject(model).toObject(NpbStaticRouteConfiguration.class); - Assertions.assertEquals(1054708375, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1734793687, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("gqgagenvqbugihc", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("foizorbloejz", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("htbttpkimskhnkkh", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("krsmhrcmely", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(845940772, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1905368760, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("ikdlpsxntugfwimq", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("yclocfmvswxvjel", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("mcthtpqgf", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("osizk", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListMockTests.java index d8f8029ec5a7b..7f36982914794 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OperationsListMockTests.java @@ -21,7 +21,7 @@ public final class OperationsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"name\":\"ou\",\"isDataAction\":false,\"display\":{\"provider\":\"gjsqqqairoo\",\"resource\":\"wujobdqiup\",\"operation\":\"v\",\"description\":\"vijpmeg\"},\"origin\":\"system\",\"actionType\":\"Internal\"}]}"; + = "{\"value\":[{\"name\":\"hjtpszcawfu\",\"isDataAction\":false,\"display\":{\"provider\":\"uivrjse\",\"resource\":\"uzrpesp\",\"operation\":\"iegzxrusafvfl\",\"description\":\"a\"},\"origin\":\"system\",\"actionType\":\"Internal\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationPatchPropertiesTests.java index 81bbf056bb1b1..05fc400422d47 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationPatchPropertiesTests.java @@ -16,42 +16,42 @@ public final class OptionBLayer3ConfigurationPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { OptionBLayer3ConfigurationPatchProperties model = BinaryData.fromString( - "{\"peerASN\":8278215974801858009,\"vlanId\":418993281,\"fabricASN\":5458833762732606760,\"peLoopbackIpAddress\":[\"slzymqxserwycuhy\",\"jwgetfigwneqjxz\",\"zebjrahg\",\"stubw\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":2120959166}],\"primaryIpv4Prefix\":\"iqmsckwhfmdoiiyo\",\"primaryIpv6Prefix\":\"zw\",\"secondaryIpv4Prefix\":\"lwrsofxcacrmv\",\"secondaryIpv6Prefix\":\"mrs\"}") + "{\"peerASN\":4423953961585019720,\"vlanId\":953756150,\"fabricASN\":5345204024206796639,\"peLoopbackIpAddress\":[\"uq\",\"uptessjlwjta\",\"pv\",\"lskxgxqaygaslkv\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":1019330448}],\"primaryIpv4Prefix\":\"vyezjwjk\",\"primaryIpv6Prefix\":\"nbwhiieyoz\",\"secondaryIpv4Prefix\":\"cwf\",\"secondaryIpv6Prefix\":\"cwnbcgqefgzjvbx\"}") .toObject(OptionBLayer3ConfigurationPatchProperties.class); - Assertions.assertEquals("iqmsckwhfmdoiiyo", model.primaryIpv4Prefix()); - Assertions.assertEquals("zw", model.primaryIpv6Prefix()); - Assertions.assertEquals("lwrsofxcacrmv", model.secondaryIpv4Prefix()); - Assertions.assertEquals("mrs", model.secondaryIpv6Prefix()); - Assertions.assertEquals(8278215974801858009L, model.peerAsn()); - Assertions.assertEquals(418993281, model.vlanId()); - Assertions.assertEquals("slzymqxserwycuhy", model.peLoopbackIpAddress().get(0)); + Assertions.assertEquals("vyezjwjk", model.primaryIpv4Prefix()); + Assertions.assertEquals("nbwhiieyoz", model.primaryIpv6Prefix()); + Assertions.assertEquals("cwf", model.secondaryIpv4Prefix()); + Assertions.assertEquals("cwnbcgqefgzjvbx", model.secondaryIpv6Prefix()); + Assertions.assertEquals(4423953961585019720L, model.peerAsn()); + Assertions.assertEquals(953756150, model.vlanId()); + Assertions.assertEquals("uq", model.peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals(2120959166, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1019330448, model.prefixLimits().get(0).maximumRoutes()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { OptionBLayer3ConfigurationPatchProperties model - = new OptionBLayer3ConfigurationPatchProperties().withPrimaryIpv4Prefix("iqmsckwhfmdoiiyo") - .withPrimaryIpv6Prefix("zw") - .withSecondaryIpv4Prefix("lwrsofxcacrmv") - .withSecondaryIpv6Prefix("mrs") - .withPeerAsn(8278215974801858009L) - .withVlanId(418993281) - .withPeLoopbackIpAddress(Arrays.asList("slzymqxserwycuhy", "jwgetfigwneqjxz", "zebjrahg", "stubw")) + = new OptionBLayer3ConfigurationPatchProperties().withPrimaryIpv4Prefix("vyezjwjk") + .withPrimaryIpv6Prefix("nbwhiieyoz") + .withSecondaryIpv4Prefix("cwf") + .withSecondaryIpv6Prefix("cwnbcgqefgzjvbx") + .withPeerAsn(4423953961585019720L) + .withVlanId(953756150) + .withPeLoopbackIpAddress(Arrays.asList("uq", "uptessjlwjta", "pv", "lskxgxqaygaslkv")) .withBmpConfiguration( new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.DISABLED)) .withPrefixLimits( - Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(2120959166))); + Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(1019330448))); model = BinaryData.fromObject(model).toObject(OptionBLayer3ConfigurationPatchProperties.class); - Assertions.assertEquals("iqmsckwhfmdoiiyo", model.primaryIpv4Prefix()); - Assertions.assertEquals("zw", model.primaryIpv6Prefix()); - Assertions.assertEquals("lwrsofxcacrmv", model.secondaryIpv4Prefix()); - Assertions.assertEquals("mrs", model.secondaryIpv6Prefix()); - Assertions.assertEquals(8278215974801858009L, model.peerAsn()); - Assertions.assertEquals(418993281, model.vlanId()); - Assertions.assertEquals("slzymqxserwycuhy", model.peLoopbackIpAddress().get(0)); + Assertions.assertEquals("vyezjwjk", model.primaryIpv4Prefix()); + Assertions.assertEquals("nbwhiieyoz", model.primaryIpv6Prefix()); + Assertions.assertEquals("cwf", model.secondaryIpv4Prefix()); + Assertions.assertEquals("cwnbcgqefgzjvbx", model.secondaryIpv6Prefix()); + Assertions.assertEquals(4423953961585019720L, model.peerAsn()); + Assertions.assertEquals(953756150, model.vlanId()); + Assertions.assertEquals("uq", model.peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals(2120959166, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1019330448, model.prefixLimits().get(0).maximumRoutes()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationTests.java index f37683b0d7faa..b0bf96ad98968 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3ConfigurationTests.java @@ -16,39 +16,39 @@ public final class OptionBLayer3ConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { OptionBLayer3Configuration model = BinaryData.fromString( - "{\"peerASN\":4546698248555011124,\"vlanId\":1259597547,\"fabricASN\":713758433803605007,\"peLoopbackIpAddress\":[\"uz\",\"ilmciwu\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":569782692}],\"primaryIpv4Prefix\":\"ovljlbzdlbybpaxh\",\"primaryIpv6Prefix\":\"ysovsn\",\"secondaryIpv4Prefix\":\"hanzgesfhsha\",\"secondaryIpv6Prefix\":\"ahn\"}") + "{\"peerASN\":353866970273446181,\"vlanId\":1653519478,\"fabricASN\":5540303474594377462,\"peLoopbackIpAddress\":[\"kggvmfnnbbx\",\"gdfk\",\"ede\",\"txtpwcvgifws\"],\"bmpConfiguration\":{\"configurationState\":\"Disabled\"},\"prefixLimits\":[{\"maximumRoutes\":1471500258}],\"primaryIpv4Prefix\":\"iwmmpdtq\",\"primaryIpv6Prefix\":\"nbzzsnfz\",\"secondaryIpv4Prefix\":\"iiwsuanzhwsyuif\",\"secondaryIpv6Prefix\":\"qqhbtfloilmkfbe\"}") .toObject(OptionBLayer3Configuration.class); - Assertions.assertEquals("ovljlbzdlbybpaxh", model.primaryIpv4Prefix()); - Assertions.assertEquals("ysovsn", model.primaryIpv6Prefix()); - Assertions.assertEquals("hanzgesfhsha", model.secondaryIpv4Prefix()); - Assertions.assertEquals("ahn", model.secondaryIpv6Prefix()); - Assertions.assertEquals(4546698248555011124L, model.peerAsn()); - Assertions.assertEquals(1259597547, model.vlanId()); - Assertions.assertEquals("uz", model.peLoopbackIpAddress().get(0)); + Assertions.assertEquals("iwmmpdtq", model.primaryIpv4Prefix()); + Assertions.assertEquals("nbzzsnfz", model.primaryIpv6Prefix()); + Assertions.assertEquals("iiwsuanzhwsyuif", model.secondaryIpv4Prefix()); + Assertions.assertEquals("qqhbtfloilmkfbe", model.secondaryIpv6Prefix()); + Assertions.assertEquals(353866970273446181L, model.peerAsn()); + Assertions.assertEquals(1653519478, model.vlanId()); + Assertions.assertEquals("kggvmfnnbbx", model.peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals(569782692, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1471500258, model.prefixLimits().get(0).maximumRoutes()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - OptionBLayer3Configuration model = new OptionBLayer3Configuration().withPrimaryIpv4Prefix("ovljlbzdlbybpaxh") - .withPrimaryIpv6Prefix("ysovsn") - .withSecondaryIpv4Prefix("hanzgesfhsha") - .withSecondaryIpv6Prefix("ahn") - .withPeerAsn(4546698248555011124L) - .withVlanId(1259597547) - .withPeLoopbackIpAddress(Arrays.asList("uz", "ilmciwu")) + OptionBLayer3Configuration model = new OptionBLayer3Configuration().withPrimaryIpv4Prefix("iwmmpdtq") + .withPrimaryIpv6Prefix("nbzzsnfz") + .withSecondaryIpv4Prefix("iiwsuanzhwsyuif") + .withSecondaryIpv6Prefix("qqhbtfloilmkfbe") + .withPeerAsn(353866970273446181L) + .withVlanId(1653519478) + .withPeLoopbackIpAddress(Arrays.asList("kggvmfnnbbx", "gdfk", "ede", "txtpwcvgifws")) .withBmpConfiguration(new NniBmpProperties().withConfigurationState(BmpConfigurationState.DISABLED)) - .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(569782692))); + .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1471500258))); model = BinaryData.fromObject(model).toObject(OptionBLayer3Configuration.class); - Assertions.assertEquals("ovljlbzdlbybpaxh", model.primaryIpv4Prefix()); - Assertions.assertEquals("ysovsn", model.primaryIpv6Prefix()); - Assertions.assertEquals("hanzgesfhsha", model.secondaryIpv4Prefix()); - Assertions.assertEquals("ahn", model.secondaryIpv6Prefix()); - Assertions.assertEquals(4546698248555011124L, model.peerAsn()); - Assertions.assertEquals(1259597547, model.vlanId()); - Assertions.assertEquals("uz", model.peLoopbackIpAddress().get(0)); + Assertions.assertEquals("iwmmpdtq", model.primaryIpv4Prefix()); + Assertions.assertEquals("nbzzsnfz", model.primaryIpv6Prefix()); + Assertions.assertEquals("iiwsuanzhwsyuif", model.secondaryIpv4Prefix()); + Assertions.assertEquals("qqhbtfloilmkfbe", model.secondaryIpv6Prefix()); + Assertions.assertEquals(353866970273446181L, model.peerAsn()); + Assertions.assertEquals(1653519478, model.vlanId()); + Assertions.assertEquals("kggvmfnnbbx", model.peLoopbackIpAddress().get(0)); Assertions.assertEquals(BmpConfigurationState.DISABLED, model.bmpConfiguration().configurationState()); - Assertions.assertEquals(569782692, model.prefixLimits().get(0).maximumRoutes()); + Assertions.assertEquals(1471500258, model.prefixLimits().get(0).maximumRoutes()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPatchPropertiesTests.java index 8cbf873675332..a7f14069884de 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPatchPropertiesTests.java @@ -11,16 +11,16 @@ public final class OptionBLayer3PrefixLimitPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - OptionBLayer3PrefixLimitPatchProperties model = BinaryData.fromString("{\"maximumRoutes\":1974657590}") + OptionBLayer3PrefixLimitPatchProperties model = BinaryData.fromString("{\"maximumRoutes\":1017613180}") .toObject(OptionBLayer3PrefixLimitPatchProperties.class); - Assertions.assertEquals(1974657590, model.maximumRoutes()); + Assertions.assertEquals(1017613180, model.maximumRoutes()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { OptionBLayer3PrefixLimitPatchProperties model - = new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(1974657590); + = new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(1017613180); model = BinaryData.fromObject(model).toObject(OptionBLayer3PrefixLimitPatchProperties.class); - Assertions.assertEquals(1974657590, model.maximumRoutes()); + Assertions.assertEquals(1017613180, model.maximumRoutes()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPropertiesTests.java index c276f3ff15663..5c478861314a5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/OptionBLayer3PrefixLimitPropertiesTests.java @@ -11,16 +11,16 @@ public final class OptionBLayer3PrefixLimitPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - OptionBLayer3PrefixLimitProperties model = BinaryData.fromString("{\"maximumRoutes\":1531671679}") - .toObject(OptionBLayer3PrefixLimitProperties.class); - Assertions.assertEquals(1531671679, model.maximumRoutes()); + OptionBLayer3PrefixLimitProperties model + = BinaryData.fromString("{\"maximumRoutes\":490778125}").toObject(OptionBLayer3PrefixLimitProperties.class); + Assertions.assertEquals(490778125, model.maximumRoutes()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { OptionBLayer3PrefixLimitProperties model - = new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(1531671679); + = new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(490778125); model = BinaryData.fromObject(model).toObject(OptionBLayer3PrefixLimitProperties.class); - Assertions.assertEquals(1531671679, model.maximumRoutes()); + Assertions.assertEquals(490778125, model.maximumRoutes()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfraNetworkTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfraNetworkTests.java new file mode 100644 index 0000000000000..88f9cfdf07fc3 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfraNetworkTests.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PatchInfraNetwork; +import org.junit.jupiter.api.Assertions; + +public final class PatchInfraNetworkTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PatchInfraNetwork model = BinaryData.fromString( + "{\"vlanId\":1306945873,\"ipv4Subnet\":\"ibrsaeu\",\"ipv4Gateway\":\"ojblyygfti\",\"ipv4StartAddr\":\"ydr\",\"ipv4EndAddr\":\"qmteuyqtzoeao\",\"mtu\":1482235051}") + .toObject(PatchInfraNetwork.class); + Assertions.assertEquals(1306945873, model.vlanId()); + Assertions.assertEquals("ibrsaeu", model.ipv4Subnet()); + Assertions.assertEquals("ojblyygfti", model.ipv4Gateway()); + Assertions.assertEquals("ydr", model.ipv4StartAddr()); + Assertions.assertEquals("qmteuyqtzoeao", model.ipv4EndAddr()); + Assertions.assertEquals(1482235051, model.mtu()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PatchInfraNetwork model = new PatchInfraNetwork().withVlanId(1306945873) + .withIpv4Subnet("ibrsaeu") + .withIpv4Gateway("ojblyygfti") + .withIpv4StartAddr("ydr") + .withIpv4EndAddr("qmteuyqtzoeao") + .withMtu(1482235051); + model = BinaryData.fromObject(model).toObject(PatchInfraNetwork.class); + Assertions.assertEquals(1306945873, model.vlanId()); + Assertions.assertEquals("ibrsaeu", model.ipv4Subnet()); + Assertions.assertEquals("ojblyygfti", model.ipv4Gateway()); + Assertions.assertEquals("ydr", model.ipv4StartAddr()); + Assertions.assertEquals("qmteuyqtzoeao", model.ipv4EndAddr()); + Assertions.assertEquals(1482235051, model.mtu()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureNetworksTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureNetworksTests.java new file mode 100644 index 0000000000000..3531337cac170 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureNetworksTests.java @@ -0,0 +1,133 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PatchInfraNetwork; +import com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureNetworks; +import org.junit.jupiter.api.Assertions; + +public final class PatchInfrastructureNetworksTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PatchInfrastructureNetworks model = BinaryData.fromString( + "{\"management\":{\"vlanId\":1054274029,\"ipv4Subnet\":\"xiy\",\"ipv4Gateway\":\"fhivsytidzvvndp\",\"ipv4StartAddr\":\"ruexhgdh\",\"ipv4EndAddr\":\"pl\",\"mtu\":1448973721},\"pxe\":{\"vlanId\":2073074587,\"ipv4Subnet\":\"xfpfo\",\"ipv4Gateway\":\"kyzdzvhyoiddve\",\"ipv4StartAddr\":\"j\",\"ipv4EndAddr\":\"vzpqrxsifixo\",\"mtu\":332596074},\"bmc\":{\"vlanId\":684803831,\"ipv4Subnet\":\"tgbpwpuay\",\"ipv4Gateway\":\"vpiultybwwmjr\",\"ipv4StartAddr\":\"kjalorxeegi\",\"ipv4EndAddr\":\"rvnezlcvn\",\"mtu\":1830623096},\"storage\":{\"vlanId\":1746023323,\"ipv4Subnet\":\"zgkkucwmjmgsw\",\"ipv4Gateway\":\"mskuqgneorqtrkx\",\"ipv4StartAddr\":\"kqv\",\"ipv4EndAddr\":\"gnzbkqqbjcd\",\"mtu\":856780485},\"storageMgmt\":{\"vlanId\":1091453404,\"ipv4Subnet\":\"vgjynuwcque\",\"ipv4Gateway\":\"nqdmmro\",\"ipv4StartAddr\":\"gtblmxblcb\",\"ipv4EndAddr\":\"sqpeavlcbb\",\"mtu\":2073825051},\"pdu\":{\"vlanId\":1450233961,\"ipv4Subnet\":\"rsfilxusyzcnxjvi\",\"ipv4Gateway\":\"hxlbburbxovg\",\"ipv4StartAddr\":\"pbnnghsjx\",\"ipv4EndAddr\":\"nwgoxe\",\"mtu\":250479283}}") + .toObject(PatchInfrastructureNetworks.class); + Assertions.assertEquals(1054274029, model.management().vlanId()); + Assertions.assertEquals("xiy", model.management().ipv4Subnet()); + Assertions.assertEquals("fhivsytidzvvndp", model.management().ipv4Gateway()); + Assertions.assertEquals("ruexhgdh", model.management().ipv4StartAddr()); + Assertions.assertEquals("pl", model.management().ipv4EndAddr()); + Assertions.assertEquals(1448973721, model.management().mtu()); + Assertions.assertEquals(2073074587, model.pxe().vlanId()); + Assertions.assertEquals("xfpfo", model.pxe().ipv4Subnet()); + Assertions.assertEquals("kyzdzvhyoiddve", model.pxe().ipv4Gateway()); + Assertions.assertEquals("j", model.pxe().ipv4StartAddr()); + Assertions.assertEquals("vzpqrxsifixo", model.pxe().ipv4EndAddr()); + Assertions.assertEquals(332596074, model.pxe().mtu()); + Assertions.assertEquals(684803831, model.bmc().vlanId()); + Assertions.assertEquals("tgbpwpuay", model.bmc().ipv4Subnet()); + Assertions.assertEquals("vpiultybwwmjr", model.bmc().ipv4Gateway()); + Assertions.assertEquals("kjalorxeegi", model.bmc().ipv4StartAddr()); + Assertions.assertEquals("rvnezlcvn", model.bmc().ipv4EndAddr()); + Assertions.assertEquals(1830623096, model.bmc().mtu()); + Assertions.assertEquals(1746023323, model.storage().vlanId()); + Assertions.assertEquals("zgkkucwmjmgsw", model.storage().ipv4Subnet()); + Assertions.assertEquals("mskuqgneorqtrkx", model.storage().ipv4Gateway()); + Assertions.assertEquals("kqv", model.storage().ipv4StartAddr()); + Assertions.assertEquals("gnzbkqqbjcd", model.storage().ipv4EndAddr()); + Assertions.assertEquals(856780485, model.storage().mtu()); + Assertions.assertEquals(1091453404, model.storageMgmt().vlanId()); + Assertions.assertEquals("vgjynuwcque", model.storageMgmt().ipv4Subnet()); + Assertions.assertEquals("nqdmmro", model.storageMgmt().ipv4Gateway()); + Assertions.assertEquals("gtblmxblcb", model.storageMgmt().ipv4StartAddr()); + Assertions.assertEquals("sqpeavlcbb", model.storageMgmt().ipv4EndAddr()); + Assertions.assertEquals(2073825051, model.storageMgmt().mtu()); + Assertions.assertEquals(1450233961, model.pdu().vlanId()); + Assertions.assertEquals("rsfilxusyzcnxjvi", model.pdu().ipv4Subnet()); + Assertions.assertEquals("hxlbburbxovg", model.pdu().ipv4Gateway()); + Assertions.assertEquals("pbnnghsjx", model.pdu().ipv4StartAddr()); + Assertions.assertEquals("nwgoxe", model.pdu().ipv4EndAddr()); + Assertions.assertEquals(250479283, model.pdu().mtu()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PatchInfrastructureNetworks model = new PatchInfrastructureNetworks() + .withManagement(new PatchInfraNetwork().withVlanId(1054274029) + .withIpv4Subnet("xiy") + .withIpv4Gateway("fhivsytidzvvndp") + .withIpv4StartAddr("ruexhgdh") + .withIpv4EndAddr("pl") + .withMtu(1448973721)) + .withPxe(new PatchInfraNetwork().withVlanId(2073074587) + .withIpv4Subnet("xfpfo") + .withIpv4Gateway("kyzdzvhyoiddve") + .withIpv4StartAddr("j") + .withIpv4EndAddr("vzpqrxsifixo") + .withMtu(332596074)) + .withBmc(new PatchInfraNetwork().withVlanId(684803831) + .withIpv4Subnet("tgbpwpuay") + .withIpv4Gateway("vpiultybwwmjr") + .withIpv4StartAddr("kjalorxeegi") + .withIpv4EndAddr("rvnezlcvn") + .withMtu(1830623096)) + .withStorage(new PatchInfraNetwork().withVlanId(1746023323) + .withIpv4Subnet("zgkkucwmjmgsw") + .withIpv4Gateway("mskuqgneorqtrkx") + .withIpv4StartAddr("kqv") + .withIpv4EndAddr("gnzbkqqbjcd") + .withMtu(856780485)) + .withStorageMgmt(new PatchInfraNetwork().withVlanId(1091453404) + .withIpv4Subnet("vgjynuwcque") + .withIpv4Gateway("nqdmmro") + .withIpv4StartAddr("gtblmxblcb") + .withIpv4EndAddr("sqpeavlcbb") + .withMtu(2073825051)) + .withPdu(new PatchInfraNetwork().withVlanId(1450233961) + .withIpv4Subnet("rsfilxusyzcnxjvi") + .withIpv4Gateway("hxlbburbxovg") + .withIpv4StartAddr("pbnnghsjx") + .withIpv4EndAddr("nwgoxe") + .withMtu(250479283)); + model = BinaryData.fromObject(model).toObject(PatchInfrastructureNetworks.class); + Assertions.assertEquals(1054274029, model.management().vlanId()); + Assertions.assertEquals("xiy", model.management().ipv4Subnet()); + Assertions.assertEquals("fhivsytidzvvndp", model.management().ipv4Gateway()); + Assertions.assertEquals("ruexhgdh", model.management().ipv4StartAddr()); + Assertions.assertEquals("pl", model.management().ipv4EndAddr()); + Assertions.assertEquals(1448973721, model.management().mtu()); + Assertions.assertEquals(2073074587, model.pxe().vlanId()); + Assertions.assertEquals("xfpfo", model.pxe().ipv4Subnet()); + Assertions.assertEquals("kyzdzvhyoiddve", model.pxe().ipv4Gateway()); + Assertions.assertEquals("j", model.pxe().ipv4StartAddr()); + Assertions.assertEquals("vzpqrxsifixo", model.pxe().ipv4EndAddr()); + Assertions.assertEquals(332596074, model.pxe().mtu()); + Assertions.assertEquals(684803831, model.bmc().vlanId()); + Assertions.assertEquals("tgbpwpuay", model.bmc().ipv4Subnet()); + Assertions.assertEquals("vpiultybwwmjr", model.bmc().ipv4Gateway()); + Assertions.assertEquals("kjalorxeegi", model.bmc().ipv4StartAddr()); + Assertions.assertEquals("rvnezlcvn", model.bmc().ipv4EndAddr()); + Assertions.assertEquals(1830623096, model.bmc().mtu()); + Assertions.assertEquals(1746023323, model.storage().vlanId()); + Assertions.assertEquals("zgkkucwmjmgsw", model.storage().ipv4Subnet()); + Assertions.assertEquals("mskuqgneorqtrkx", model.storage().ipv4Gateway()); + Assertions.assertEquals("kqv", model.storage().ipv4StartAddr()); + Assertions.assertEquals("gnzbkqqbjcd", model.storage().ipv4EndAddr()); + Assertions.assertEquals(856780485, model.storage().mtu()); + Assertions.assertEquals(1091453404, model.storageMgmt().vlanId()); + Assertions.assertEquals("vgjynuwcque", model.storageMgmt().ipv4Subnet()); + Assertions.assertEquals("nqdmmro", model.storageMgmt().ipv4Gateway()); + Assertions.assertEquals("gtblmxblcb", model.storageMgmt().ipv4StartAddr()); + Assertions.assertEquals("sqpeavlcbb", model.storageMgmt().ipv4EndAddr()); + Assertions.assertEquals(2073825051, model.storageMgmt().mtu()); + Assertions.assertEquals(1450233961, model.pdu().vlanId()); + Assertions.assertEquals("rsfilxusyzcnxjvi", model.pdu().ipv4Subnet()); + Assertions.assertEquals("hxlbburbxovg", model.pdu().ipv4Gateway()); + Assertions.assertEquals("pbnnghsjx", model.pdu().ipv4StartAddr()); + Assertions.assertEquals("nwgoxe", model.pdu().ipv4EndAddr()); + Assertions.assertEquals(250479283, model.pdu().mtu()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureServicesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureServicesTests.java new file mode 100644 index 0000000000000..c5506c09c56ca --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchInfrastructureServicesTests.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureServices; +import com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy; +import java.util.Arrays; +import org.junit.jupiter.api.Assertions; + +public final class PatchInfrastructureServicesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PatchInfrastructureServices model = BinaryData.fromString( + "{\"platformProxy\":{\"httpProxy\":\"oephttoq\",\"httpsProxy\":\"fdvxrlrsrf\",\"noProxy\":[\"l\"]},\"ntpServers\":[\"pspipkpcvhqadj\",\"asnc\"],\"dnsServers\":[\"ixuqvat\"]}") + .toObject(PatchInfrastructureServices.class); + Assertions.assertEquals("oephttoq", model.platformProxy().httpProxy()); + Assertions.assertEquals("fdvxrlrsrf", model.platformProxy().httpsProxy()); + Assertions.assertEquals("l", model.platformProxy().noProxy().get(0)); + Assertions.assertEquals("pspipkpcvhqadj", model.ntpServers().get(0)); + Assertions.assertEquals("ixuqvat", model.dnsServers().get(0)); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PatchInfrastructureServices model = new PatchInfrastructureServices() + .withPlatformProxy(new PatchPlatformProxy().withHttpProxy("oephttoq") + .withHttpsProxy("fdvxrlrsrf") + .withNoProxy(Arrays.asList("l"))) + .withNtpServers(Arrays.asList("pspipkpcvhqadj", "asnc")) + .withDnsServers(Arrays.asList("ixuqvat")); + model = BinaryData.fromObject(model).toObject(PatchInfrastructureServices.class); + Assertions.assertEquals("oephttoq", model.platformProxy().httpProxy()); + Assertions.assertEquals("fdvxrlrsrf", model.platformProxy().httpsProxy()); + Assertions.assertEquals("l", model.platformProxy().noProxy().get(0)); + Assertions.assertEquals("pspipkpcvhqadj", model.ntpServers().get(0)); + Assertions.assertEquals("ixuqvat", model.dnsServers().get(0)); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchPlatformProxyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchPlatformProxyTests.java new file mode 100644 index 0000000000000..e5e7d69f29ba1 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PatchPlatformProxyTests.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy; +import java.util.Arrays; +import org.junit.jupiter.api.Assertions; + +public final class PatchPlatformProxyTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PatchPlatformProxy model = BinaryData + .fromString( + "{\"httpProxy\":\"k\",\"httpsProxy\":\"ivcktjscjkexybx\",\"noProxy\":[\"jgptxvzhyun\",\"mbf\"]}") + .toObject(PatchPlatformProxy.class); + Assertions.assertEquals("k", model.httpProxy()); + Assertions.assertEquals("ivcktjscjkexybx", model.httpsProxy()); + Assertions.assertEquals("jgptxvzhyun", model.noProxy().get(0)); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PatchPlatformProxy model = new PatchPlatformProxy().withHttpProxy("k") + .withHttpsProxy("ivcktjscjkexybx") + .withNoProxy(Arrays.asList("jgptxvzhyun", "mbf")); + model = BinaryData.fromObject(model).toObject(PatchPlatformProxy.class); + Assertions.assertEquals("k", model.httpProxy()); + Assertions.assertEquals("ivcktjscjkexybx", model.httpsProxy()); + Assertions.assertEquals("jgptxvzhyun", model.noProxy().get(0)); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PlatformProxyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PlatformProxyTests.java new file mode 100644 index 0000000000000..c614a8565770f --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PlatformProxyTests.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy; +import java.util.Arrays; +import org.junit.jupiter.api.Assertions; + +public final class PlatformProxyTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PlatformProxy model = BinaryData + .fromString( + "{\"httpProxy\":\"iihrfcowlase\",\"httpsProxy\":\"ifywxjjylaqhx\",\"noProxy\":[\"fdarvjhwgkynxlw\"]}") + .toObject(PlatformProxy.class); + Assertions.assertEquals("iihrfcowlase", model.httpProxy()); + Assertions.assertEquals("ifywxjjylaqhx", model.httpsProxy()); + Assertions.assertEquals("fdarvjhwgkynxlw", model.noProxy().get(0)); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PlatformProxy model = new PlatformProxy().withHttpProxy("iihrfcowlase") + .withHttpsProxy("ifywxjjylaqhx") + .withNoProxy(Arrays.asList("fdarvjhwgkynxlw")); + model = BinaryData.fromObject(model).toObject(PlatformProxy.class); + Assertions.assertEquals("iihrfcowlase", model.httpProxy()); + Assertions.assertEquals("ifywxjjylaqhx", model.httpsProxy()); + Assertions.assertEquals("fdarvjhwgkynxlw", model.noProxy().get(0)); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePatchPropertiesTests.java new file mode 100644 index 0000000000000..d9257b98832c7 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePatchPropertiesTests.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfilePatchProperties; +import org.junit.jupiter.api.Assertions; + +public final class PostUpgradeProfilePatchPropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PostUpgradeProfilePatchProperties model = BinaryData + .fromString( + "{\"maxExitingMaintenanceTimeoutInSeconds\":537957484,\"mlagReloadDelayTimeoutInSeconds\":556434836}") + .toObject(PostUpgradeProfilePatchProperties.class); + Assertions.assertEquals(537957484, model.maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(556434836, model.mlagReloadDelayTimeoutInSeconds()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PostUpgradeProfilePatchProperties model + = new PostUpgradeProfilePatchProperties().withMaxExitingMaintenanceTimeoutInSeconds(537957484) + .withMlagReloadDelayTimeoutInSeconds(556434836); + model = BinaryData.fromObject(model).toObject(PostUpgradeProfilePatchProperties.class); + Assertions.assertEquals(537957484, model.maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(556434836, model.mlagReloadDelayTimeoutInSeconds()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePropertiesTests.java new file mode 100644 index 0000000000000..675cc2cb2ef9c --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PostUpgradeProfilePropertiesTests.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfileProperties; +import org.junit.jupiter.api.Assertions; + +public final class PostUpgradeProfilePropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PostUpgradeProfileProperties model = BinaryData + .fromString( + "{\"maxExitingMaintenanceTimeoutInSeconds\":856087874,\"mlagReloadDelayTimeoutInSeconds\":1263872186}") + .toObject(PostUpgradeProfileProperties.class); + Assertions.assertEquals(856087874, model.maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(1263872186, model.mlagReloadDelayTimeoutInSeconds()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PostUpgradeProfileProperties model + = new PostUpgradeProfileProperties().withMaxExitingMaintenanceTimeoutInSeconds(856087874) + .withMlagReloadDelayTimeoutInSeconds(1263872186); + model = BinaryData.fromObject(model).toObject(PostUpgradeProfileProperties.class); + Assertions.assertEquals(856087874, model.maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(1263872186, model.mlagReloadDelayTimeoutInSeconds()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePatchPropertiesTests.java new file mode 100644 index 0000000000000..d639703e0b3c6 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePatchPropertiesTests.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties; +import org.junit.jupiter.api.Assertions; + +public final class PreUpgradeProfilePatchPropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PreUpgradeProfilePatchProperties model + = BinaryData.fromString("{\"maxEnteringMaintenanceTimeoutInSeconds\":1320999540}") + .toObject(PreUpgradeProfilePatchProperties.class); + Assertions.assertEquals(1320999540, model.maxEnteringMaintenanceTimeoutInSeconds()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PreUpgradeProfilePatchProperties model + = new PreUpgradeProfilePatchProperties().withMaxEnteringMaintenanceTimeoutInSeconds(1320999540); + model = BinaryData.fromObject(model).toObject(PreUpgradeProfilePatchProperties.class); + Assertions.assertEquals(1320999540, model.maxEnteringMaintenanceTimeoutInSeconds()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePropertiesTests.java new file mode 100644 index 0000000000000..e8b5d79782ab8 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PreUpgradeProfilePropertiesTests.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties; +import org.junit.jupiter.api.Assertions; + +public final class PreUpgradeProfilePropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + PreUpgradeProfileProperties model + = BinaryData.fromString("{\"maxEnteringMaintenanceTimeoutInSeconds\":2069761398}") + .toObject(PreUpgradeProfileProperties.class); + Assertions.assertEquals(2069761398, model.maxEnteringMaintenanceTimeoutInSeconds()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + PreUpgradeProfileProperties model + = new PreUpgradeProfileProperties().withMaxEnteringMaintenanceTimeoutInSeconds(2069761398); + model = BinaryData.fromObject(model).toObject(PreUpgradeProfileProperties.class); + Assertions.assertEquals(2069761398, model.maxEnteringMaintenanceTimeoutInSeconds()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPatchPropertiesTests.java index 3045d4b648098..5c77c449597aa 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPatchPropertiesTests.java @@ -12,21 +12,21 @@ public final class PrefixLimitPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { PrefixLimitPatchProperties model = BinaryData - .fromString("{\"maximumRoutes\":1917543946,\"threshold\":2004089002,\"idleTimeExpiry\":1189896831}") + .fromString("{\"maximumRoutes\":1317744928,\"threshold\":1234666366,\"idleTimeExpiry\":554597959}") .toObject(PrefixLimitPatchProperties.class); - Assertions.assertEquals(1917543946, model.maximumRoutes()); - Assertions.assertEquals(2004089002, model.threshold()); - Assertions.assertEquals(1189896831, model.idleTimeExpiry()); + Assertions.assertEquals(1317744928, model.maximumRoutes()); + Assertions.assertEquals(1234666366, model.threshold()); + Assertions.assertEquals(554597959, model.idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - PrefixLimitPatchProperties model = new PrefixLimitPatchProperties().withMaximumRoutes(1917543946) - .withThreshold(2004089002) - .withIdleTimeExpiry(1189896831); + PrefixLimitPatchProperties model = new PrefixLimitPatchProperties().withMaximumRoutes(1317744928) + .withThreshold(1234666366) + .withIdleTimeExpiry(554597959); model = BinaryData.fromObject(model).toObject(PrefixLimitPatchProperties.class); - Assertions.assertEquals(1917543946, model.maximumRoutes()); - Assertions.assertEquals(2004089002, model.threshold()); - Assertions.assertEquals(1189896831, model.idleTimeExpiry()); + Assertions.assertEquals(1317744928, model.maximumRoutes()); + Assertions.assertEquals(1234666366, model.threshold()); + Assertions.assertEquals(554597959, model.idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPropertiesTests.java index fcc497f486945..18b07ae49b5f6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/PrefixLimitPropertiesTests.java @@ -12,21 +12,21 @@ public final class PrefixLimitPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { PrefixLimitProperties model = BinaryData - .fromString("{\"maximumRoutes\":310121381,\"threshold\":1138865865,\"idleTimeExpiry\":781193837}") + .fromString("{\"maximumRoutes\":1085637963,\"threshold\":1297838264,\"idleTimeExpiry\":236494819}") .toObject(PrefixLimitProperties.class); - Assertions.assertEquals(310121381, model.maximumRoutes()); - Assertions.assertEquals(1138865865, model.threshold()); - Assertions.assertEquals(781193837, model.idleTimeExpiry()); + Assertions.assertEquals(1085637963, model.maximumRoutes()); + Assertions.assertEquals(1297838264, model.threshold()); + Assertions.assertEquals(236494819, model.idleTimeExpiry()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - PrefixLimitProperties model = new PrefixLimitProperties().withMaximumRoutes(310121381) - .withThreshold(1138865865) - .withIdleTimeExpiry(781193837); + PrefixLimitProperties model = new PrefixLimitProperties().withMaximumRoutes(1085637963) + .withThreshold(1297838264) + .withIdleTimeExpiry(236494819); model = BinaryData.fromObject(model).toObject(PrefixLimitProperties.class); - Assertions.assertEquals(310121381, model.maximumRoutes()); - Assertions.assertEquals(1138865865, model.threshold()); - Assertions.assertEquals(781193837, model.idleTimeExpiry()); + Assertions.assertEquals(1085637963, model.maximumRoutes()); + Assertions.assertEquals(1297838264, model.threshold()); + Assertions.assertEquals(236494819, model.idleTimeExpiry()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ProxyResourceBaseTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ProxyResourceBaseTests.java index d8ac9503b2873..228bc9331565a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ProxyResourceBaseTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ProxyResourceBaseTests.java @@ -10,7 +10,7 @@ public final class ProxyResourceBaseTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ProxyResourceBase model = BinaryData.fromString("{\"id\":\"qnmelyksy\",\"type\":\"hiclmslnunk\"}") + ProxyResourceBase model = BinaryData.fromString("{\"id\":\"jlbsmndafbncuyj\",\"type\":\"kcnhpplzhc\"}") .toObject(ProxyResourceBase.class); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/QosPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/QosPropertiesTests.java index 97ca707f995dd..8251222f2eb49 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/QosPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/QosPropertiesTests.java @@ -13,14 +13,14 @@ public final class QosPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { QosProperties model - = BinaryData.fromString("{\"qosConfigurationState\":\"Disabled\"}").toObject(QosProperties.class); - Assertions.assertEquals(QosConfigurationState.DISABLED, model.qosConfigurationState()); + = BinaryData.fromString("{\"qosConfigurationState\":\"Enabled\"}").toObject(QosProperties.class); + Assertions.assertEquals(QosConfigurationState.ENABLED, model.qosConfigurationState()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - QosProperties model = new QosProperties().withQosConfigurationState(QosConfigurationState.DISABLED); + QosProperties model = new QosProperties().withQosConfigurationState(QosConfigurationState.ENABLED); model = BinaryData.fromObject(model).toObject(QosProperties.class); - Assertions.assertEquals(QosConfigurationState.DISABLED, model.qosConfigurationState()); + Assertions.assertEquals(QosConfigurationState.ENABLED, model.qosConfigurationState()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RebootPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RebootPropertiesTests.java index f155e4c9cd36e..2652f509dc825 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RebootPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RebootPropertiesTests.java @@ -13,14 +13,14 @@ public final class RebootPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RebootProperties model - = BinaryData.fromString("{\"rebootType\":\"UngracefulRebootWithZTP\"}").toObject(RebootProperties.class); - Assertions.assertEquals(RebootType.UNGRACEFUL_REBOOT_WITH_ZTP, model.rebootType()); + = BinaryData.fromString("{\"rebootType\":\"UngracefulRebootWithoutZTP\"}").toObject(RebootProperties.class); + Assertions.assertEquals(RebootType.UNGRACEFUL_REBOOT_WITHOUT_ZTP, model.rebootType()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RebootProperties model = new RebootProperties().withRebootType(RebootType.UNGRACEFUL_REBOOT_WITH_ZTP); + RebootProperties model = new RebootProperties().withRebootType(RebootType.UNGRACEFUL_REBOOT_WITHOUT_ZTP); model = BinaryData.fromObject(model).toObject(RebootProperties.class); - Assertions.assertEquals(RebootType.UNGRACEFUL_REBOOT_WITH_ZTP, model.rebootType()); + Assertions.assertEquals(RebootType.UNGRACEFUL_REBOOT_WITHOUT_ZTP, model.rebootType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RefreshConfigurationRequestPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RefreshConfigurationRequestPropertiesTests.java new file mode 100644 index 0000000000000..f2c771d3160f4 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RefreshConfigurationRequestPropertiesTests.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationRegenerationType; +import com.azure.resourcemanager.managednetworkfabric.models.GenerateBaseConfiguration; +import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRefreshDeviceTypes; +import com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties; +import java.util.Arrays; +import org.junit.jupiter.api.Assertions; + +public final class RefreshConfigurationRequestPropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + RefreshConfigurationRequestProperties model = BinaryData.fromString( + "{\"generateBaseConfiguration\":\"Disabled\",\"configurationRegenerationType\":\"Partial\",\"deviceTypes\":[\"ManagementSwitch\"]}") + .toObject(RefreshConfigurationRequestProperties.class); + Assertions.assertEquals(GenerateBaseConfiguration.DISABLED, model.generateBaseConfiguration()); + Assertions.assertEquals(ConfigurationRegenerationType.PARTIAL, model.configurationRegenerationType()); + Assertions.assertEquals(NetworkFabricRefreshDeviceTypes.MANAGEMENT_SWITCH, model.deviceTypes().get(0)); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + RefreshConfigurationRequestProperties model = new RefreshConfigurationRequestProperties() + .withGenerateBaseConfiguration(GenerateBaseConfiguration.DISABLED) + .withConfigurationRegenerationType(ConfigurationRegenerationType.PARTIAL) + .withDeviceTypes(Arrays.asList(NetworkFabricRefreshDeviceTypes.MANAGEMENT_SWITCH)); + model = BinaryData.fromObject(model).toObject(RefreshConfigurationRequestProperties.class); + Assertions.assertEquals(GenerateBaseConfiguration.DISABLED, model.generateBaseConfiguration()); + Assertions.assertEquals(ConfigurationRegenerationType.PARTIAL, model.configurationRegenerationType()); + Assertions.assertEquals(NetworkFabricRefreshDeviceTypes.MANAGEMENT_SWITCH, model.deviceTypes().get(0)); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateMockTests.java index 016e1f4d51942..e9a86bac0afe2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesCreateMockTests.java @@ -33,7 +33,7 @@ public final class RoutePoliciesCreateMockTests { @Test public void testCreate() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"gfgchlcbtx\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":6959679343751112608,\"condition\":{\"ipCommunityIds\":[\"kl\",\"hmymkcccl\",\"fawfeeatvnmm\"],\"ipExtendedCommunityIds\":[\"wfqrykikh\",\"gwtcll\"],\"type\":\"Or\",\"ipPrefixId\":\"ifohtsmk\"},\"action\":{\"localPreference\":941890972826581005,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"sehb\"}],\"networkFabricId\":\"bqionnqszn\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"y\"},\"configurationState\":\"Provisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"teyvpvxcqjgwt\",\"tags\":{\"xxxhbrysns\":\"fbpcm\",\"egvwbykrndxbkv\":\"seh\"},\"id\":\"wqg\",\"name\":\"fhl\",\"type\":\"qyedhyfncwiyfzu\"}"; + = "{\"properties\":{\"annotation\":\"sythycdckcpfo\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":5768014370281617892,\"condition\":{\"ipCommunityIds\":[\"rcmgsimgosclhjg\",\"k\"],\"ipExtendedCommunityIds\":[\"asenye\"],\"type\":\"And\",\"ipPrefixId\":\"gfankeoloros\"},\"action\":{\"localPreference\":919695564639185680,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"apkhfhuuizyey\"},{\"sequenceNumber\":8329828941724357580,\"condition\":{\"ipCommunityIds\":[\"dyj\",\"fpuuyk\"],\"ipExtendedCommunityIds\":[\"pneymlctn\"],\"type\":\"Or\",\"ipPrefixId\":\"ufijvaxuvazzp\"},\"action\":{\"localPreference\":2117081235409049438,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"xhbnqyewinle\"},{\"sequenceNumber\":1103793501541302263,\"condition\":{\"ipCommunityIds\":[\"e\",\"tvnedcclpb\",\"ntoiviuerrieho\"],\"ipExtendedCommunityIds\":[\"kcayy\",\"tnllkyiqjtxv\"],\"type\":\"And\",\"ipPrefixId\":\"tidkjot\"},\"action\":{\"localPreference\":4254651390873731189,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"srypfviiwjjqps\"},{\"sequenceNumber\":1398206085585855410,\"condition\":{\"ipCommunityIds\":[\"ygmqnuyusnhnnek\",\"fdlbcu\",\"wfcbugtcccydld\"],\"ipExtendedCommunityIds\":[\"zmibtkvftp\",\"l\"],\"type\":\"Or\",\"ipPrefixId\":\"ankxxwtnrrohlkgz\"},\"action\":{\"localPreference\":7383679090409272939,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"lrkwyldttggcpqm\"}],\"networkFabricId\":\"pobenaahdjn\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"vpeirhs\"},\"configurationState\":\"CommitStaged\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"hpphjimoecqpqk\",\"tags\":{\"aizx\":\"s\",\"jgxugfe\":\"lrjspxot\"},\"id\":\"iurldsftmllcdq\",\"name\":\"unvnggqacf\",\"type\":\"ruwqbe\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -42,56 +42,63 @@ public void testCreate() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - RoutePolicy response - = manager.routePolicies() - .define("bzykk") - .withRegion("yrcqsyq") - .withExistingResourceGroup("bvuxpyveavst") - .withStatements( - Arrays.asList( - new RoutePolicyStatementProperties().withAnnotation("eq") - .withSequenceNumber(3584131533256265203L) - .withCondition(new StatementConditionProperties() - .withIpCommunityIds(Arrays.asList("xgzpmw", "vfrmvtww")) - .withIpExtendedCommunityIds( - Arrays.asList("iv", "osbrqeywhlqyd", "hypuvhucaw", "hbqjlly")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("nbxgkudioum")) - .withAction(new StatementActionProperties().withLocalPreference(1146624147470852785L) - .withActionType(RoutePolicyActionType.CONTINUE) - .withIpCommunityProperties(new ActionIpCommunityProperties()) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties())), - new RoutePolicyStatementProperties().withAnnotation("iwgkozlpsfraj") - .withSequenceNumber(5221409209177168311L) - .withCondition( - new StatementConditionProperties().withIpCommunityIds(Arrays.asList("mwuaxxcbihgcdujh")) - .withIpExtendedCommunityIds(Arrays.asList("wkqrbtrmifleizd", "ka")) - .withType(RoutePolicyConditionType.OR) - .withIpPrefixId("ufvabci")) - .withAction(new StatementActionProperties().withLocalPreference(3462817851058629850L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties(new ActionIpCommunityProperties()) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties())))) - .withNetworkFabricId("yuwrggfg") - .withTags(mapOf("aetgmmfdf", "j")) - .withAnnotation("j") - .withDefaultAction(CommunityActionTypes.PERMIT) - .withAddressFamilyType(AddressFamilyType.IPV6) - .create(); + RoutePolicy response = manager.routePolicies() + .define("cbt") + .withRegion("mtajjfmkwqpgbti") + .withExistingResourceGroup("yrlqiykhoygfgch") + .withStatements(Arrays.asList( + new RoutePolicyStatementProperties().withAnnotation("sehb") + .withSequenceNumber(1502119786445406476L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("mymkccclefawfeea", "v", "mm")) + .withIpExtendedCommunityIds(Arrays.asList("wfqrykikh", "gwtcll")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("ifohtsmk")) + .withAction(new StatementActionProperties().withLocalPreference(941890972826581005L) + .withActionType(RoutePolicyActionType.DENY) + .withIpCommunityProperties(new ActionIpCommunityProperties()) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties())), + new RoutePolicyStatementProperties().withAnnotation("asfbpcm") + .withSequenceNumber(1578066084765936915L) + .withCondition(new StatementConditionProperties().withIpCommunityIds(Arrays.asList("nnq")) + .withIpExtendedCommunityIds(Arrays.asList("fbiboyex")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("wdteyvpv")) + .withAction(new StatementActionProperties().withLocalPreference(5424103293543328997L) + .withActionType(RoutePolicyActionType.CONTINUE) + .withIpCommunityProperties(new ActionIpCommunityProperties()) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties())), + new RoutePolicyStatementProperties().withAnnotation("edhcx") + .withSequenceNumber(1302453878804910598L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("brysns", "seh", "egvwbykrndxbkv")) + .withIpExtendedCommunityIds(Arrays.asList("gmfhlnqyedhy", "ncwi", "fzuwbsaaxstnzi")) + .withType(RoutePolicyConditionType.AND) + .withIpPrefixId("g")) + .withAction(new StatementActionProperties().withLocalPreference(5477807598253972235L) + .withActionType(RoutePolicyActionType.PERMIT) + .withIpCommunityProperties(new ActionIpCommunityProperties()) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties())))) + .withNetworkFabricId("gj") + .withTags(mapOf("vwalhawoptiq", "dubocmjiib", "avtapcxsmap", "u")) + .withAnnotation("ssk") + .withDefaultAction(CommunityActionTypes.DENY) + .withAddressFamilyType(AddressFamilyType.IPV4) + .create(); - Assertions.assertEquals("teyvpvxcqjgwt", response.location()); - Assertions.assertEquals("fbpcm", response.tags().get("xxxhbrysns")); - Assertions.assertEquals("gfgchlcbtx", response.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, response.defaultAction()); - Assertions.assertEquals("sehb", response.statements().get(0).annotation()); - Assertions.assertEquals(6959679343751112608L, response.statements().get(0).sequenceNumber()); - Assertions.assertEquals("kl", response.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("wfqrykikh", response.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, response.statements().get(0).condition().type()); - Assertions.assertEquals("ifohtsmk", response.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(941890972826581005L, response.statements().get(0).action().localPreference()); + Assertions.assertEquals("hpphjimoecqpqk", response.location()); + Assertions.assertEquals("s", response.tags().get("aizx")); + Assertions.assertEquals("sythycdckcpfo", response.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, response.defaultAction()); + Assertions.assertEquals("apkhfhuuizyey", response.statements().get(0).annotation()); + Assertions.assertEquals(5768014370281617892L, response.statements().get(0).sequenceNumber()); + Assertions.assertEquals("rcmgsimgosclhjg", response.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("asenye", response.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.AND, response.statements().get(0).condition().type()); + Assertions.assertEquals("gfankeoloros", response.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(919695564639185680L, response.statements().get(0).action().localPreference()); Assertions.assertEquals(RoutePolicyActionType.DENY, response.statements().get(0).action().actionType()); - Assertions.assertEquals("bqionnqszn", response.networkFabricId()); + Assertions.assertEquals("pobenaahdjn", response.networkFabricId()); Assertions.assertEquals(AddressFamilyType.IPV6, response.addressFamilyType()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupWithResponseMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupWithResponseMockTests.java index bd9c2feb3ed76..94dc783b86355 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupWithResponseMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesGetByResourceGroupWithResponseMockTests.java @@ -25,7 +25,7 @@ public final class RoutePoliciesGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"annotation\":\"rctco\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":9168688154509726931,\"condition\":{\"ipCommunityIds\":[\"rbqc\"],\"ipExtendedCommunityIds\":[\"wbcycwasmrf\",\"wsicmhhvbovb\",\"xfylez\",\"dp\"],\"type\":\"And\",\"ipPrefixId\":\"emny\"},\"action\":{\"localPreference\":4440331383296213551,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"ezszlr\"}],\"networkFabricId\":\"z\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"ijnpkx\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Enabled\"},\"location\":\"hj\",\"tags\":{\"jkqlruhhkkbfgrms\":\"l\"},\"id\":\"bmdrbtg\",\"name\":\"fpd\",\"type\":\"ed\"}"; + = "{\"properties\":{\"annotation\":\"rmx\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":6085088176002221681,\"condition\":{\"ipCommunityIds\":[\"nmfnfatwi\",\"cuhas\",\"ielhtukhei\",\"whotjcgdpqk\"],\"ipExtendedCommunityIds\":[\"qm\",\"vrglqlvmkeseyqo\",\"mjuqq\",\"hmzlet\"],\"type\":\"And\",\"ipPrefixId\":\"uwkkvar\"},\"action\":{\"localPreference\":5044759522909689470,\"actionType\":\"Permit\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"mowq\"}],\"networkFabricId\":\"odmdrdtywa\",\"addressFamilyType\":\"IPv4\",\"lastOperation\":{\"details\":\"ciapvcsw\"},\"configurationState\":\"Provisioned\",\"provisioningState\":\"Deleting\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"ltftaqmrimlet\",\"tags\":{\"ab\":\"ptf\",\"zxupwrizkqnbiia\":\"blhzfglpswg\"},\"id\":\"dhsj\",\"name\":\"qhaskuio\",\"type\":\"ltchcuhvdr\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,23 +35,22 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); RoutePolicy response = manager.routePolicies() - .getByResourceGroupWithResponse("sdnobxcdxpnrae", "dixoflxvsu", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("fdxjirfyetljrd", "g", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("hj", response.location()); - Assertions.assertEquals("l", response.tags().get("jkqlruhhkkbfgrms")); - Assertions.assertEquals("rctco", response.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, response.defaultAction()); - Assertions.assertEquals("ezszlr", response.statements().get(0).annotation()); - Assertions.assertEquals(9168688154509726931L, response.statements().get(0).sequenceNumber()); - Assertions.assertEquals("rbqc", response.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("wbcycwasmrf", - response.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("ltftaqmrimlet", response.location()); + Assertions.assertEquals("ptf", response.tags().get("ab")); + Assertions.assertEquals("rmx", response.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, response.defaultAction()); + Assertions.assertEquals("mowq", response.statements().get(0).annotation()); + Assertions.assertEquals(6085088176002221681L, response.statements().get(0).sequenceNumber()); + Assertions.assertEquals("nmfnfatwi", response.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("qm", response.statements().get(0).condition().ipExtendedCommunityIds().get(0)); Assertions.assertEquals(RoutePolicyConditionType.AND, response.statements().get(0).condition().type()); - Assertions.assertEquals("emny", response.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(4440331383296213551L, response.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.DENY, response.statements().get(0).action().actionType()); - Assertions.assertEquals("z", response.networkFabricId()); - Assertions.assertEquals(AddressFamilyType.IPV6, response.addressFamilyType()); + Assertions.assertEquals("uwkkvar", response.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(5044759522909689470L, response.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.PERMIT, response.statements().get(0).action().actionType()); + Assertions.assertEquals("odmdrdtywa", response.networkFabricId()); + Assertions.assertEquals(AddressFamilyType.IPV4, response.addressFamilyType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupMockTests.java index 0b99ea4d413a3..c331915fd81a2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListByResourceGroupMockTests.java @@ -26,7 +26,7 @@ public final class RoutePoliciesListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"uyfcfdedeup\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":4259685317906175096,\"condition\":{\"ipCommunityIds\":[\"bjeboel\",\"sghsowmvtmjdhw\"],\"ipExtendedCommunityIds\":[\"jhhpfjz\"],\"type\":\"Or\",\"ipPrefixId\":\"pwavdope\"},\"action\":{\"localPreference\":5807333109944256853,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"tldijg\"}],\"networkFabricId\":\"bitudwuoxir\",\"addressFamilyType\":\"IPv4\",\"lastOperation\":{\"details\":\"okxphcj\"},\"configurationState\":\"DeferredControl\",\"provisioningState\":\"Accepted\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"mgctw\",\"tags\":{\"hopedmkxtdyxz\":\"jwvmugistnyzm\",\"tgfbmocvblrvkqx\":\"f\",\"rcqpxaajt\":\"khj\",\"tzmubxngspazm\":\"yrqtu\"},\"id\":\"ssbvlj\",\"name\":\"atbecuh\",\"type\":\"cakkewgz\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"fdiijcht\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":1289948550390349946,\"condition\":{\"ipCommunityIds\":[\"emnkykvruomw\",\"oktz\",\"fp\"],\"ipExtendedCommunityIds\":[\"hjpze\",\"qvkuvy\"],\"type\":\"And\",\"ipPrefixId\":\"fokol\"},\"action\":{\"localPreference\":823479597720554268,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"kbdh\"},{\"sequenceNumber\":6502349075707199875,\"condition\":{\"ipCommunityIds\":[\"kugwtgfktwa\",\"hauhq\",\"xeyliisatbs\",\"htkdcufzxxqdntvf\"],\"ipExtendedCommunityIds\":[\"ernq\",\"eiyyysvt\"],\"type\":\"And\",\"ipPrefixId\":\"ugdzw\"},\"action\":{\"localPreference\":4264962882622611082,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"mpddzzdwoevmo\"},{\"sequenceNumber\":8433127792007842626,\"condition\":{\"ipCommunityIds\":[\"uyykxl\",\"lyluwunsnyqpmn\"],\"ipExtendedCommunityIds\":[\"bmgpomcr\",\"vtazclilzve\",\"sdnobxcdxpnrae\"],\"type\":\"Or\",\"ipPrefixId\":\"oflxvsuhxrctc\"},\"action\":{\"localPreference\":7300560719597661011,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"jr\"},{\"sequenceNumber\":5857797895730470161,\"condition\":{\"ipCommunityIds\":[\"rwbcycwasmrfbwsi\",\"mhhvbovblxfyle\",\"gd\",\"iurfemnykfzsouo\"],\"ipExtendedCommunityIds\":[\"szlrvzqldgiijnp\",\"x\"],\"type\":\"Or\",\"ipPrefixId\":\"tyjf\"},\"action\":{\"localPreference\":804335665249371775,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"kqlruhhkkbf\"}],\"networkFabricId\":\"rmscbmdrb\",\"addressFamilyType\":\"IPv4\",\"lastOperation\":{\"details\":\"dredcvwsbsdyxq\"},\"configurationState\":\"ErrorDeprovisioning\",\"provisioningState\":\"Failed\",\"administrativeState\":\"UnderMaintenance\"},\"location\":\"cfded\",\"tags\":{\"elksghsowm\":\"hgnfaanubjeb\",\"jdhw\":\"t\",\"c\":\"fbjhhpfj\",\"pwavdope\":\"l\"},\"id\":\"jmovrsrtldijgrbi\",\"name\":\"udwuoxirzi\",\"type\":\"u\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,26 +36,26 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.routePolicies().listByResourceGroup("vwsbsdyxqjyr", com.azure.core.util.Context.NONE); + = manager.routePolicies().listByResourceGroup("hmrcxhn", com.azure.core.util.Context.NONE); - Assertions.assertEquals("mgctw", response.iterator().next().location()); - Assertions.assertEquals("jwvmugistnyzm", response.iterator().next().tags().get("hopedmkxtdyxz")); - Assertions.assertEquals("uyfcfdedeup", response.iterator().next().annotation()); - Assertions.assertEquals(CommunityActionTypes.DENY, response.iterator().next().defaultAction()); - Assertions.assertEquals("tldijg", response.iterator().next().statements().get(0).annotation()); - Assertions.assertEquals(4259685317906175096L, response.iterator().next().statements().get(0).sequenceNumber()); - Assertions.assertEquals("bjeboel", + Assertions.assertEquals("cfded", response.iterator().next().location()); + Assertions.assertEquals("hgnfaanubjeb", response.iterator().next().tags().get("elksghsowm")); + Assertions.assertEquals("fdiijcht", response.iterator().next().annotation()); + Assertions.assertEquals(CommunityActionTypes.PERMIT, response.iterator().next().defaultAction()); + Assertions.assertEquals("kbdh", response.iterator().next().statements().get(0).annotation()); + Assertions.assertEquals(1289948550390349946L, response.iterator().next().statements().get(0).sequenceNumber()); + Assertions.assertEquals("emnkykvruomw", response.iterator().next().statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("jhhpfjz", + Assertions.assertEquals("hjpze", response.iterator().next().statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, + Assertions.assertEquals(RoutePolicyConditionType.AND, response.iterator().next().statements().get(0).condition().type()); - Assertions.assertEquals("pwavdope", response.iterator().next().statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(5807333109944256853L, + Assertions.assertEquals("fokol", response.iterator().next().statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(823479597720554268L, response.iterator().next().statements().get(0).action().localPreference()); Assertions.assertEquals(RoutePolicyActionType.CONTINUE, response.iterator().next().statements().get(0).action().actionType()); - Assertions.assertEquals("bitudwuoxir", response.iterator().next().networkFabricId()); + Assertions.assertEquals("rmscbmdrb", response.iterator().next().networkFabricId()); Assertions.assertEquals(AddressFamilyType.IPV4, response.iterator().next().addressFamilyType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListMockTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListMockTests.java index 8232a74af81fc..e5b6939ed8cfd 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListMockTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListMockTests.java @@ -26,7 +26,7 @@ public final class RoutePoliciesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"annotation\":\"usjlqtjj\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":4721860429819384541,\"condition\":{\"ipCommunityIds\":[\"mevahqjdihjol\",\"wahehud\"],\"ipExtendedCommunityIds\":[\"olmm\",\"fdgv\"],\"type\":\"Or\",\"ipPrefixId\":\"bm\"},\"action\":{\"localPreference\":1812199928715825554,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"vogrripopzyde\"},{\"sequenceNumber\":8497289798873482339,\"condition\":{\"ipCommunityIds\":[\"dmsnezdumjqdhr\",\"wyq\",\"qmelm\"],\"ipExtendedCommunityIds\":[\"ep\"],\"type\":\"And\",\"ipPrefixId\":\"ve\"},\"action\":{\"localPreference\":5160782763481893595,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"nl\"},{\"sequenceNumber\":8442014316834448522,\"condition\":{\"ipCommunityIds\":[\"pwqksknstjfkjb\",\"yggrmztcxyphd\",\"xws\"],\"ipExtendedCommunityIds\":[\"gejopveg\"],\"type\":\"And\",\"ipPrefixId\":\"eayhojdgwezcr\"},\"action\":{\"localPreference\":7206213179804720989,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"fdpxbwqgkfxcdtj\"}],\"networkFabricId\":\"yevvuddnwj\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"lemxbmaii\"},\"configurationState\":\"Failed\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"Disabled\"},\"location\":\"evh\",\"tags\":{\"sis\":\"jpumpqlugzydylf\",\"i\":\"dmfo\",\"tkprbm\":\"svfnxxkmrfz\",\"duh\":\"azrfhfjwikvakj\"},\"id\":\"ilvajctpwlf\",\"name\":\"fardjqwdrooooobs\",\"type\":\"dqv\"}]}"; + = "{\"value\":[{\"properties\":{\"annotation\":\"k\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":2653926571421179087,\"condition\":{\"ipCommunityIds\":[\"wgbajmgctwamj\",\"wvmugistnyzmhh\",\"pedmkxtdy\"],\"ipExtendedCommunityIds\":[\"f\"],\"type\":\"And\",\"ipPrefixId\":\"bmo\"},\"action\":{\"localPreference\":9091592362340183526,\"actionType\":\"Deny\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"xhkhjsrc\"},{\"sequenceNumber\":8628091980032218307,\"condition\":{\"ipCommunityIds\":[\"jtiyrqtuz\",\"z\"],\"ipExtendedCommunityIds\":[\"xngspazmxssb\",\"ljnatbecu\"],\"type\":\"Or\",\"ipPrefixId\":\"kkewg\"},\"action\":{\"localPreference\":372589037617479097,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"tjjewezcknp\"},{\"sequenceNumber\":3298536727621130948,\"condition\":{\"ipCommunityIds\":[\"qjd\",\"hjoldwahehudi\"],\"ipExtendedCommunityIds\":[\"l\"],\"type\":\"And\",\"ipPrefixId\":\"d\"},\"action\":{\"localPreference\":5419612117641701023,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"jqvmpzcjvogr\"},{\"sequenceNumber\":4324033310772324068,\"condition\":{\"ipCommunityIds\":[\"zy\",\"espwwkdmsnezdumj\",\"dhrgw\"],\"ipExtendedCommunityIds\":[\"qmelm\",\"kbepieh\",\"ve\",\"er\"],\"type\":\"And\",\"ipPrefixId\":\"rnlbfnuppwqkskns\"},\"action\":{\"localPreference\":5827485919939656278,\"actionType\":\"Continue\",\"ipCommunityProperties\":{},\"ipExtendedCommunityProperties\":{}},\"annotation\":\"ggrmztcx\"}],\"networkFabricId\":\"phdkxwstabgejopv\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"oeayhojdgwezc\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Updating\",\"administrativeState\":\"RMA\"},\"location\":\"cfdpx\",\"tags\":{\"dtj\":\"gkfx\",\"bc\":\"yevvuddnwj\",\"pftzbkev\":\"flemxbmaiiv\"},\"id\":\"l\",\"name\":\"bjpumpqlugzydyl\",\"type\":\"rsis\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -37,24 +37,24 @@ public void testList() throws Exception { PagedIterable response = manager.routePolicies().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("evh", response.iterator().next().location()); - Assertions.assertEquals("jpumpqlugzydylf", response.iterator().next().tags().get("sis")); - Assertions.assertEquals("usjlqtjj", response.iterator().next().annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, response.iterator().next().defaultAction()); - Assertions.assertEquals("vogrripopzyde", response.iterator().next().statements().get(0).annotation()); - Assertions.assertEquals(4721860429819384541L, response.iterator().next().statements().get(0).sequenceNumber()); - Assertions.assertEquals("mevahqjdihjol", + Assertions.assertEquals("cfdpx", response.iterator().next().location()); + Assertions.assertEquals("gkfx", response.iterator().next().tags().get("dtj")); + Assertions.assertEquals("k", response.iterator().next().annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, response.iterator().next().defaultAction()); + Assertions.assertEquals("xhkhjsrc", response.iterator().next().statements().get(0).annotation()); + Assertions.assertEquals(2653926571421179087L, response.iterator().next().statements().get(0).sequenceNumber()); + Assertions.assertEquals("wgbajmgctwamj", response.iterator().next().statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("olmm", + Assertions.assertEquals("f", response.iterator().next().statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, + Assertions.assertEquals(RoutePolicyConditionType.AND, response.iterator().next().statements().get(0).condition().type()); - Assertions.assertEquals("bm", response.iterator().next().statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(1812199928715825554L, + Assertions.assertEquals("bmo", response.iterator().next().statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(9091592362340183526L, response.iterator().next().statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.CONTINUE, + Assertions.assertEquals(RoutePolicyActionType.DENY, response.iterator().next().statements().get(0).action().actionType()); - Assertions.assertEquals("yevvuddnwj", response.iterator().next().networkFabricId()); + Assertions.assertEquals("phdkxwstabgejopv", response.iterator().next().networkFabricId()); Assertions.assertEquals(AddressFamilyType.IPV6, response.iterator().next().addressFamilyType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListResultTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListResultTests.java index 33d6a41fffbef..4549dc9fbbaa6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListResultTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePoliciesListResultTests.java @@ -15,18 +15,18 @@ public final class RoutePoliciesListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePoliciesListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"annotation\":\"jcvmkkbp\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":3324945329555913943,\"condition\":{},\"action\":{\"actionType\":\"Deny\"},\"annotation\":\"d\"}],\"networkFabricId\":\"iembrwqwvcwc\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"rgpdlbtbxhyfwjfq\"},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"RMA\"},\"location\":\"e\",\"tags\":{\"pbhj\":\"kbqfzbvttqjntvhn\",\"uxyeeafdxsuwly\":\"ugcupcyfrhooyvm\",\"hj\":\"xzhgbspdx\"},\"id\":\"u\",\"name\":\"k\",\"type\":\"xqomzdfaupqve\"},{\"properties\":{\"annotation\":\"zwnkbjqpz\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":2841731151744469955,\"condition\":{},\"action\":{\"actionType\":\"Deny\"},\"annotation\":\"sochtuxap\"},{\"sequenceNumber\":1183271586003783289,\"condition\":{},\"action\":{\"actionType\":\"Permit\"},\"annotation\":\"lbxmynslcvynavwt\"},{\"sequenceNumber\":968921338925482263,\"condition\":{},\"action\":{\"actionType\":\"Permit\"},\"annotation\":\"z\"}],\"networkFabricId\":\"oddcaqi\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"jmjxkhbucmz\"},\"configurationState\":\"Accepted\",\"provisioningState\":\"Failed\",\"administrativeState\":\"RMA\"},\"location\":\"ktavcebgodjfypla\",\"tags\":{\"bnzot\":\"secedsoqwexi\"},\"id\":\"ikf\",\"name\":\"jqdfadgywyla\",\"type\":\"etqj\"}],\"nextLink\":\"hyst\"}") + "{\"value\":[{\"properties\":{\"annotation\":\"uzntbpcadd\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":4105843624279122355,\"condition\":{},\"action\":{\"actionType\":\"Continue\"},\"annotation\":\"rrpl\"},{\"sequenceNumber\":9210623057445157324,\"condition\":{},\"action\":{\"actionType\":\"Deny\"},\"annotation\":\"jjfzizxlbi\"},{\"sequenceNumber\":1873484852825866653,\"condition\":{},\"action\":{\"actionType\":\"Deny\"},\"annotation\":\"rxknfv\"}],\"networkFabricId\":\"symagbahdbtjmku\",\"addressFamilyType\":\"IPv4\",\"lastOperation\":{\"details\":\"lb\"},\"configurationState\":\"Deprovisioned\",\"provisioningState\":\"Canceled\",\"administrativeState\":\"Enabled\"},\"location\":\"vpanloqov\",\"tags\":{\"atucujtju\":\"gqtquirgopg\",\"hquoqhqrcsksx\":\"vyjxux\",\"agvyjcdpncvfyeqy\":\"fhlrvuv\"},\"id\":\"diijcsapq\",\"name\":\"ipajsnivnmev\",\"type\":\"jb\"},{\"properties\":{\"annotation\":\"wrf\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":1551228481544961022,\"condition\":{},\"action\":{\"actionType\":\"Continue\"},\"annotation\":\"seodvlmdzgv\"}],\"networkFabricId\":\"ykzzugctygbb\",\"addressFamilyType\":\"IPv4\",\"lastOperation\":{\"details\":\"vvcrsm\"},\"configurationState\":\"CommitRollbackFailed\",\"provisioningState\":\"Failed\",\"administrativeState\":\"MAT\"},\"location\":\"umnru\",\"tags\":{\"cvpkb\":\"keqjftvltjop\",\"zadzglmuu\":\"ltnowpajfhxsmub\",\"erkqpyfj\":\"psuhsypxmuldhf\"},\"id\":\"kbyws\",\"name\":\"uqfmxbdjkmnxsg\",\"type\":\"nowxhyvdbrdvsv\"}],\"nextLink\":\"btycvl\"}") .toObject(RoutePoliciesListResult.class); - Assertions.assertEquals("e", model.value().get(0).location()); - Assertions.assertEquals("kbqfzbvttqjntvhn", model.value().get(0).tags().get("pbhj")); - Assertions.assertEquals("jcvmkkbp", model.value().get(0).annotation()); + Assertions.assertEquals("vpanloqov", model.value().get(0).location()); + Assertions.assertEquals("gqtquirgopg", model.value().get(0).tags().get("atucujtju")); + Assertions.assertEquals("uzntbpcadd", model.value().get(0).annotation()); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.value().get(0).defaultAction()); - Assertions.assertEquals("d", model.value().get(0).statements().get(0).annotation()); - Assertions.assertEquals(3324945329555913943L, model.value().get(0).statements().get(0).sequenceNumber()); - Assertions.assertEquals(RoutePolicyActionType.DENY, + Assertions.assertEquals("rrpl", model.value().get(0).statements().get(0).annotation()); + Assertions.assertEquals(4105843624279122355L, model.value().get(0).statements().get(0).sequenceNumber()); + Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.value().get(0).statements().get(0).action().actionType()); - Assertions.assertEquals("iembrwqwvcwc", model.value().get(0).networkFabricId()); - Assertions.assertEquals(AddressFamilyType.IPV6, model.value().get(0).addressFamilyType()); - Assertions.assertEquals("hyst", model.nextLink()); + Assertions.assertEquals("symagbahdbtjmku", model.value().get(0).networkFabricId()); + Assertions.assertEquals(AddressFamilyType.IPV4, model.value().get(0).addressFamilyType()); + Assertions.assertEquals("btycvl", model.nextLink()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyInnerTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyInnerTests.java index bdd22ab122949..829b7c4d3089b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyInnerTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyInnerTests.java @@ -26,123 +26,95 @@ public final class RoutePolicyInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePolicyInner model = BinaryData.fromString( - "{\"properties\":{\"annotation\":\"mfcfsuiwex\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":8669789560777175436,\"condition\":{\"ipCommunityIds\":[\"mlyxbwslx\",\"cmxtoejt\",\"vqctmlidkxz\"],\"ipExtendedCommunityIds\":[\"uzntbpcadd\",\"x\",\"rxiperrplfm\",\"vmjjfz\"],\"type\":\"And\",\"ipPrefixId\":\"biqqeb\"},\"action\":{\"localPreference\":87253281423455907,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"ahdbtjmkuzonr\"},{\"sequenceNumber\":2233706256650197670,\"condition\":{\"ipCommunityIds\":[\"rxhuqfvp\"],\"ipExtendedCommunityIds\":[\"oqovvcxgqt\"],\"type\":\"Or\",\"ipPrefixId\":\"gopgzatuc\"},\"action\":{\"localPreference\":7239214680202663986,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"quoqhqrcsk\"},{\"sequenceNumber\":6923862865309459951,\"condition\":{\"ipCommunityIds\":[\"lrvuvdagv\",\"jcdpncvfyeqyo\"],\"ipExtendedCommunityIds\":[\"jc\",\"apqhipajsnivnme\",\"ljbcuwrf\",\"pjf\"],\"type\":\"And\",\"ipPrefixId\":\"seodvlmdzgv\"},\"action\":{\"localPreference\":2226713991858156404,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"u\"},{\"sequenceNumber\":414899130636706326,\"condition\":{\"ipCommunityIds\":[\"crsm\",\"ojmxwc\",\"umnru\",\"q\"],\"ipExtendedCommunityIds\":[\"qjftvltj\"],\"type\":\"And\",\"ipPrefixId\":\"vpkbz\"},\"action\":{\"localPreference\":3577296933047235807,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"bbzadzglmuuz\"}],\"networkFabricId\":\"suhsypx\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"frerkqp\"},\"configurationState\":\"ErrorProvisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"RMA\"},\"location\":\"sbuqfm\",\"tags\":{\"ggnowxhyvdbrdv\":\"jkmnx\",\"usgiikhrcthype\":\"vghbtycvl\",\"dvkymktcwm\":\"xshmrdisc\"},\"id\":\"voxgzegnglafnfga\",\"name\":\"aghddcozwxuxorru\",\"type\":\"uhvemgxlss\"}") + "{\"properties\":{\"annotation\":\"mz\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":5233068671649083264,\"condition\":{\"ipCommunityIds\":[\"uupcze\",\"qn\",\"idvssvgyoggkztzt\",\"jnknpbqgz\"],\"ipExtendedCommunityIds\":[\"bclobnaqe\"],\"type\":\"Or\",\"ipPrefixId\":\"iqlyugp\"},\"action\":{\"localPreference\":3542427289244602574,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"vmujyiqywlp\"},{\"sequenceNumber\":8329742559853234877,\"condition\":{\"ipCommunityIds\":[\"tdegcrunbkilxs\"],\"ipExtendedCommunityIds\":[\"birhyv\",\"yuvriemorszffi\",\"kltrvgioguoxc\"],\"type\":\"Or\",\"ipPrefixId\":\"xh\"},\"action\":{\"localPreference\":7196712473531684731,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"iwbn\"},{\"sequenceNumber\":904218300491846384,\"condition\":{\"ipCommunityIds\":[\"xvvmrnjrdi\"],\"ipExtendedCommunityIds\":[\"qswsychdcj\",\"gcmpnc\",\"qbgbnoqnow\",\"fxeytzgwjekyqi\"],\"type\":\"Or\",\"ipPrefixId\":\"o\"},\"action\":{\"localPreference\":4612325942021988626,\"actionType\":\"Continue\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"lfhl\"}],\"networkFabricId\":\"zgapspxwwb\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"zquuzywk\"},\"configurationState\":\"Rejected\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"EnabledDegraded\"},\"location\":\"ht\",\"tags\":{\"rzcw\":\"ywywnvgyosci\",\"lf\":\"ejm\"},\"id\":\"ln\",\"name\":\"yrgr\",\"type\":\"hchraunjovlx\"}") .toObject(RoutePolicyInner.class); - Assertions.assertEquals("sbuqfm", model.location()); - Assertions.assertEquals("jkmnx", model.tags().get("ggnowxhyvdbrdv")); - Assertions.assertEquals("mfcfsuiwex", model.annotation()); + Assertions.assertEquals("ht", model.location()); + Assertions.assertEquals("ywywnvgyosci", model.tags().get("rzcw")); + Assertions.assertEquals("mz", model.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, model.defaultAction()); - Assertions.assertEquals("ahdbtjmkuzonr", model.statements().get(0).annotation()); - Assertions.assertEquals(8669789560777175436L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("mlyxbwslx", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("uzntbpcadd", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); - Assertions.assertEquals("biqqeb", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(87253281423455907L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals("vmujyiqywlp", model.statements().get(0).annotation()); + Assertions.assertEquals(5233068671649083264L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("uupcze", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("bclobnaqe", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.statements().get(0).condition().type()); + Assertions.assertEquals("iqlyugp", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(3542427289244602574L, model.statements().get(0).action().localPreference()); Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.statements().get(0).action().actionType()); - Assertions.assertEquals("suhsypx", model.networkFabricId()); + Assertions.assertEquals("zgapspxwwb", model.networkFabricId()); Assertions.assertEquals(AddressFamilyType.IPV6, model.addressFamilyType()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutePolicyInner model - = new RoutePolicyInner().withLocation("sbuqfm") - .withTags(mapOf("ggnowxhyvdbrdv", "jkmnx", "usgiikhrcthype", "vghbtycvl", "dvkymktcwm", "xshmrdisc")) - .withAnnotation("mfcfsuiwex") - .withDefaultAction(CommunityActionTypes.DENY) - .withStatements( - Arrays - .asList( - new RoutePolicyStatementProperties().withAnnotation("ahdbtjmkuzonr") - .withSequenceNumber(8669789560777175436L) - .withCondition(new StatementConditionProperties() - .withIpCommunityIds(Arrays.asList("mlyxbwslx", "cmxtoejt", "vqctmlidkxz")) - .withIpExtendedCommunityIds( - Arrays.asList("uzntbpcadd", "x", "rxiperrplfm", "vmjjfz")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("biqqeb")) - .withAction(new StatementActionProperties().withLocalPreference(87253281423455907L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties(new ActionIpCommunityProperties() - .withAdd(new IpCommunityIdList()) - .withDelete(new IpCommunityIdList()) - .withSet(new IpCommunityIdList())) - .withIpExtendedCommunityProperties( - new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList()) - .withDelete(new IpExtendedCommunityIdList()) - .withSet(new IpExtendedCommunityIdList()))), - new RoutePolicyStatementProperties().withAnnotation("quoqhqrcsk") - .withSequenceNumber(2233706256650197670L) - .withCondition( - new StatementConditionProperties().withIpCommunityIds(Arrays.asList("rxhuqfvp")) - .withIpExtendedCommunityIds(Arrays.asList("oqovvcxgqt")) - .withType(RoutePolicyConditionType.OR) - .withIpPrefixId("gopgzatuc")) - .withAction(new StatementActionProperties().withLocalPreference(7239214680202663986L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties( - new ActionIpCommunityProperties().withAdd(new IpCommunityIdList()) - .withDelete(new IpCommunityIdList()) - .withSet(new IpCommunityIdList())) - .withIpExtendedCommunityProperties( - new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList()) - .withDelete(new IpExtendedCommunityIdList()) - .withSet(new IpExtendedCommunityIdList()))), - new RoutePolicyStatementProperties().withAnnotation("u") - .withSequenceNumber(6923862865309459951L) - .withCondition(new StatementConditionProperties() - .withIpCommunityIds(Arrays.asList("lrvuvdagv", "jcdpncvfyeqyo")) - .withIpExtendedCommunityIds( - Arrays.asList("jc", "apqhipajsnivnme", "ljbcuwrf", "pjf")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("seodvlmdzgv")) - .withAction( - new StatementActionProperties().withLocalPreference(2226713991858156404L) - .withActionType(RoutePolicyActionType.DENY) - .withIpCommunityProperties( - new ActionIpCommunityProperties().withAdd(new IpCommunityIdList()) - .withDelete(new IpCommunityIdList()) - .withSet(new IpCommunityIdList())) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList()) - .withDelete(new IpExtendedCommunityIdList()) - .withSet(new IpExtendedCommunityIdList()))), - new RoutePolicyStatementProperties().withAnnotation("bbzadzglmuuz") - .withSequenceNumber(414899130636706326L) - .withCondition(new StatementConditionProperties() - .withIpCommunityIds(Arrays.asList("crsm", "ojmxwc", "umnru", "q")) - .withIpExtendedCommunityIds(Arrays.asList("qjftvltj")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("vpkbz")) - .withAction(new StatementActionProperties().withLocalPreference(3577296933047235807L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties( - new ActionIpCommunityProperties().withAdd(new IpCommunityIdList()) - .withDelete(new IpCommunityIdList()) - .withSet(new IpCommunityIdList())) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList()) - .withDelete(new IpExtendedCommunityIdList()) - .withSet(new IpExtendedCommunityIdList()))))) - .withNetworkFabricId("suhsypx") - .withAddressFamilyType(AddressFamilyType.IPV6); + RoutePolicyInner model = new RoutePolicyInner().withLocation("ht") + .withTags(mapOf("rzcw", "ywywnvgyosci", "lf", "ejm")) + .withAnnotation("mz") + .withDefaultAction(CommunityActionTypes.DENY) + .withStatements(Arrays.asList( + new RoutePolicyStatementProperties().withAnnotation("vmujyiqywlp") + .withSequenceNumber(5233068671649083264L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("uupcze", "qn", "idvssvgyoggkztzt", "jnknpbqgz")) + .withIpExtendedCommunityIds(Arrays.asList("bclobnaqe")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("iqlyugp")) + .withAction(new StatementActionProperties().withLocalPreference(3542427289244602574L) + .withActionType(RoutePolicyActionType.PERMIT) + .withIpCommunityProperties(new ActionIpCommunityProperties().withAdd(new IpCommunityIdList()) + .withDelete(new IpCommunityIdList()) + .withSet(new IpCommunityIdList())) + .withIpExtendedCommunityProperties( + new ActionIpExtendedCommunityProperties().withAdd(new IpExtendedCommunityIdList()) + .withDelete(new IpExtendedCommunityIdList()) + .withSet(new IpExtendedCommunityIdList()))), + new RoutePolicyStatementProperties().withAnnotation("iwbn") + .withSequenceNumber(8329742559853234877L) + .withCondition( + new StatementConditionProperties().withIpCommunityIds(Arrays.asList("tdegcrunbkilxs")) + .withIpExtendedCommunityIds(Arrays.asList("birhyv", "yuvriemorszffi", "kltrvgioguoxc")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("xh")) + .withAction(new StatementActionProperties().withLocalPreference(7196712473531684731L) + .withActionType(RoutePolicyActionType.DENY) + .withIpCommunityProperties(new ActionIpCommunityProperties().withAdd(new IpCommunityIdList()) + .withDelete(new IpCommunityIdList()) + .withSet(new IpCommunityIdList())) + .withIpExtendedCommunityProperties( + new ActionIpExtendedCommunityProperties().withAdd(new IpExtendedCommunityIdList()) + .withDelete(new IpExtendedCommunityIdList()) + .withSet(new IpExtendedCommunityIdList()))), + new RoutePolicyStatementProperties().withAnnotation("lfhl") + .withSequenceNumber(904218300491846384L) + .withCondition(new StatementConditionProperties().withIpCommunityIds(Arrays.asList("xvvmrnjrdi")) + .withIpExtendedCommunityIds( + Arrays.asList("qswsychdcj", "gcmpnc", "qbgbnoqnow", "fxeytzgwjekyqi")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("o")) + .withAction(new StatementActionProperties().withLocalPreference(4612325942021988626L) + .withActionType(RoutePolicyActionType.CONTINUE) + .withIpCommunityProperties(new ActionIpCommunityProperties().withAdd(new IpCommunityIdList()) + .withDelete(new IpCommunityIdList()) + .withSet(new IpCommunityIdList())) + .withIpExtendedCommunityProperties( + new ActionIpExtendedCommunityProperties().withAdd(new IpExtendedCommunityIdList()) + .withDelete(new IpExtendedCommunityIdList()) + .withSet(new IpExtendedCommunityIdList()))))) + .withNetworkFabricId("zgapspxwwb") + .withAddressFamilyType(AddressFamilyType.IPV6); model = BinaryData.fromObject(model).toObject(RoutePolicyInner.class); - Assertions.assertEquals("sbuqfm", model.location()); - Assertions.assertEquals("jkmnx", model.tags().get("ggnowxhyvdbrdv")); - Assertions.assertEquals("mfcfsuiwex", model.annotation()); + Assertions.assertEquals("ht", model.location()); + Assertions.assertEquals("ywywnvgyosci", model.tags().get("rzcw")); + Assertions.assertEquals("mz", model.annotation()); Assertions.assertEquals(CommunityActionTypes.DENY, model.defaultAction()); - Assertions.assertEquals("ahdbtjmkuzonr", model.statements().get(0).annotation()); - Assertions.assertEquals(8669789560777175436L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("mlyxbwslx", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("uzntbpcadd", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); - Assertions.assertEquals("biqqeb", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(87253281423455907L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals("vmujyiqywlp", model.statements().get(0).annotation()); + Assertions.assertEquals(5233068671649083264L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("uupcze", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("bclobnaqe", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.statements().get(0).condition().type()); + Assertions.assertEquals("iqlyugp", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(3542427289244602574L, model.statements().get(0).action().localPreference()); Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.statements().get(0).action().actionType()); - Assertions.assertEquals("suhsypx", model.networkFabricId()); + Assertions.assertEquals("zgapspxwwb", model.networkFabricId()); Assertions.assertEquals(AddressFamilyType.IPV6, model.addressFamilyType()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchTests.java index 6c5fe92a6dba1..f9b16f5a2cff3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchTests.java @@ -25,35 +25,35 @@ public final class RoutePolicyPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePolicyPatch model = BinaryData.fromString( - "{\"properties\":{\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":2093640883406047481,\"condition\":{\"ipCommunityIds\":[\"yga\",\"yhpwmdkyfg\",\"elvyhvvpuqy\"],\"ipExtendedCommunityIds\":[\"bbkhc\"],\"type\":\"And\",\"ipPrefixId\":\"wo\"},\"action\":{\"localPreference\":1623247197219586993,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"zaupgblnag\"},{\"sequenceNumber\":1523320837225712558,\"condition\":{\"ipCommunityIds\":[\"zhpqscuyileqjz\"],\"ipExtendedCommunityIds\":[\"ebmuiongmndwohoe\",\"s\",\"uxfvbjimzwynsm\"],\"type\":\"And\",\"ipPrefixId\":\"kye\"},\"action\":{\"localPreference\":8048221052456098188,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"slqreofzrkrzt\"}]},\"tags\":{\"axsymnrtvqmimav\":\"ymhxlnm\",\"hhpkvyqpvzxxzndw\":\"otpcvp\",\"r\":\"omi\"}}") + "{\"properties\":{\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":2113098556228124365,\"condition\":{\"ipCommunityIds\":[\"yfzo\",\"dyaepre\",\"cjukfalwc\",\"ec\"],\"ipExtendedCommunityIds\":[\"yvqbeqp\",\"cnusnylfhi\"],\"type\":\"And\",\"ipPrefixId\":\"iybfbyd\"},\"action\":{\"localPreference\":4880954996859384040,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"brhxgiknrlugs\"},{\"sequenceNumber\":5643010577583553748,\"condition\":{\"ipCommunityIds\":[\"oqjfeamzkuxdgpks\"],\"ipExtendedCommunityIds\":[\"bunvnjql\",\"rqqvcugusqlxl\",\"edthfwlnvqacbyfi\",\"blnlmpuyypaggpai\"],\"type\":\"And\",\"ipPrefixId\":\"yzwloqrmgd\"},\"action\":{\"localPreference\":430712478966250556,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}},\"ipExtendedCommunityProperties\":{\"add\":{},\"delete\":{},\"set\":{}}},\"annotation\":\"j\"}]},\"tags\":{\"rrgkwiyoyhqo\":\"llit\",\"hsizfuewlf\":\"vxcodwkwoytcac\"}}") .toObject(RoutePolicyPatch.class); - Assertions.assertEquals("ymhxlnm", model.tags().get("axsymnrtvqmimav")); + Assertions.assertEquals("llit", model.tags().get("rrgkwiyoyhqo")); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.defaultAction()); - Assertions.assertEquals("zaupgblnag", model.statements().get(0).annotation()); - Assertions.assertEquals(2093640883406047481L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("yga", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("bbkhc", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("brhxgiknrlugs", model.statements().get(0).annotation()); + Assertions.assertEquals(2113098556228124365L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("yfzo", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("yvqbeqp", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); - Assertions.assertEquals("wo", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(1623247197219586993L, model.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.DENY, model.statements().get(0).action().actionType()); + Assertions.assertEquals("iybfbyd", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(4880954996859384040L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.statements().get(0).action().actionType()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { RoutePolicyPatch model = new RoutePolicyPatch() - .withTags(mapOf("axsymnrtvqmimav", "ymhxlnm", "hhpkvyqpvzxxzndw", "otpcvp", "r", "omi")) + .withTags(mapOf("rrgkwiyoyhqo", "llit", "hsizfuewlf", "vxcodwkwoytcac")) .withDefaultAction(CommunityActionTypes.PERMIT) .withStatements(Arrays.asList( - new RoutePolicyStatementPatchProperties().withAnnotation("zaupgblnag") - .withSequenceNumber(2093640883406047481L) + new RoutePolicyStatementPatchProperties().withAnnotation("brhxgiknrlugs") + .withSequenceNumber(2113098556228124365L) .withCondition(new StatementConditionPatchProperties() - .withIpCommunityIds(Arrays.asList("yga", "yhpwmdkyfg", "elvyhvvpuqy")) - .withIpExtendedCommunityIds(Arrays.asList("bbkhc")) + .withIpCommunityIds(Arrays.asList("yfzo", "dyaepre", "cjukfalwc", "ec")) + .withIpExtendedCommunityIds(Arrays.asList("yvqbeqp", "cnusnylfhi")) .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("wo")) - .withAction(new StatementActionPatchProperties().withLocalPreference(1623247197219586993L) - .withActionType(RoutePolicyActionType.DENY) + .withIpPrefixId("iybfbyd")) + .withAction(new StatementActionPatchProperties().withLocalPreference(4880954996859384040L) + .withActionType(RoutePolicyActionType.PERMIT) .withIpCommunityProperties( new ActionIpCommunityPatchProperties().withAdd(new IpCommunityIdList()) .withDelete(new IpCommunityIdList()) @@ -62,15 +62,16 @@ public void testSerialize() throws Exception { new ActionIpExtendedCommunityPatchProperties().withAdd(new IpExtendedCommunityIdList()) .withDelete(new IpExtendedCommunityIdList()) .withSet(new IpExtendedCommunityIdList()))), - new RoutePolicyStatementPatchProperties().withAnnotation("slqreofzrkrzt") - .withSequenceNumber(1523320837225712558L) + new RoutePolicyStatementPatchProperties().withAnnotation("j") + .withSequenceNumber(5643010577583553748L) .withCondition( - new StatementConditionPatchProperties().withIpCommunityIds(Arrays.asList("zhpqscuyileqjz")) - .withIpExtendedCommunityIds(Arrays.asList("ebmuiongmndwohoe", "s", "uxfvbjimzwynsm")) + new StatementConditionPatchProperties().withIpCommunityIds(Arrays.asList("oqjfeamzkuxdgpks")) + .withIpExtendedCommunityIds( + Arrays.asList("bunvnjql", "rqqvcugusqlxl", "edthfwlnvqacbyfi", "blnlmpuyypaggpai")) .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("kye")) - .withAction(new StatementActionPatchProperties().withLocalPreference(8048221052456098188L) - .withActionType(RoutePolicyActionType.DENY) + .withIpPrefixId("yzwloqrmgd")) + .withAction(new StatementActionPatchProperties().withLocalPreference(430712478966250556L) + .withActionType(RoutePolicyActionType.PERMIT) .withIpCommunityProperties( new ActionIpCommunityPatchProperties().withAdd(new IpCommunityIdList()) .withDelete(new IpCommunityIdList()) @@ -80,16 +81,16 @@ public void testSerialize() throws Exception { .withDelete(new IpExtendedCommunityIdList()) .withSet(new IpExtendedCommunityIdList()))))); model = BinaryData.fromObject(model).toObject(RoutePolicyPatch.class); - Assertions.assertEquals("ymhxlnm", model.tags().get("axsymnrtvqmimav")); + Assertions.assertEquals("llit", model.tags().get("rrgkwiyoyhqo")); Assertions.assertEquals(CommunityActionTypes.PERMIT, model.defaultAction()); - Assertions.assertEquals("zaupgblnag", model.statements().get(0).annotation()); - Assertions.assertEquals(2093640883406047481L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("yga", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("bbkhc", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("brhxgiknrlugs", model.statements().get(0).annotation()); + Assertions.assertEquals(2113098556228124365L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("yfzo", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("yvqbeqp", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); - Assertions.assertEquals("wo", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(1623247197219586993L, model.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.DENY, model.statements().get(0).action().actionType()); + Assertions.assertEquals("iybfbyd", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(4880954996859384040L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.statements().get(0).action().actionType()); } // Use "Map.of" if available diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchablePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchablePropertiesTests.java index cfc9d34533f17..351bc40c55dd7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchablePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPatchablePropertiesTests.java @@ -23,26 +23,26 @@ public final class RoutePolicyPatchablePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePolicyPatchableProperties model = BinaryData.fromString( - "{\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":740153296759141909,\"condition\":{\"ipCommunityIds\":[\"sfmhbxvewkq\",\"atxvuzccaliry\"],\"ipExtendedCommunityIds\":[\"caq\",\"johlcbnrvxyyhh\"],\"type\":\"And\",\"ipPrefixId\":\"tq\"},\"action\":{\"localPreference\":8541856603295749551,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"w\",\"uukaamimkjz\"]},\"delete\":{\"ipCommunityIds\":[\"jdfxvksijrjgyin\"]},\"set\":{\"ipCommunityIds\":[\"jovuyx\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"addat\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"phvjgvjzykngqyi\",\"jxzxbth\"]},\"set\":{\"ipExtendedCommunityIds\":[\"puonrmdlk\",\"abfcve\"]}}},\"annotation\":\"wxpmgyqshsasm\"},{\"sequenceNumber\":81047502144924284,\"condition\":{\"ipCommunityIds\":[\"t\",\"bxrgrztkyqgu\"],\"ipExtendedCommunityIds\":[\"ihkybgkyncyzj\"],\"type\":\"Or\",\"ipPrefixId\":\"emxiurpfivypmwd\"},\"action\":{\"localPreference\":8122296926620224830,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"poqimy\",\"xnpdggllyduyu\",\"dmzu\",\"xvzvwlxd\"]},\"delete\":{\"ipCommunityIds\":[\"zeurdoxkl\",\"zatsiznymwzldp\",\"ihqhnfubevwad\"]},\"set\":{\"ipCommunityIds\":[\"xevlt\",\"ebq\",\"qiaklqakps\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"twrphmriipzgf\",\"fuadcj\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"qkgt\"]},\"set\":{\"ipExtendedCommunityIds\":[\"gee\"]}}},\"annotation\":\"qlsnr\"},{\"sequenceNumber\":2330916565639610985,\"condition\":{\"ipCommunityIds\":[\"vgjjpfyxhsppvjsd\",\"ouoq\",\"enqsom\",\"ogeqeapas\"],\"ipExtendedCommunityIds\":[\"ppypfreuwvzhnd\",\"vtoiqofzttqg\"],\"type\":\"And\",\"ipPrefixId\":\"yoxzu\"},\"action\":{\"localPreference\":3194194792377697191,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"pivrsgqbmolx\"]},\"delete\":{\"ipCommunityIds\":[\"bzvtvxx\",\"sfoyacgihnal\",\"cuedybkbgdwbmi\",\"zikatywedb\"]},\"set\":{\"ipCommunityIds\":[\"zpa\",\"zbbhxncszdwpave\",\"xgmigsoebd\",\"tniuiim\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"gvcymddo\",\"ilhggaj\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"bobmolj\",\"rchhwlzi\"]},\"set\":{\"ipExtendedCommunityIds\":[\"quajpo\",\"pdj\",\"yotg\",\"raxhntoiwfszkr\"]}}},\"annotation\":\"osjwrretsluqf\"},{\"sequenceNumber\":3083415435588666948,\"condition\":{\"ipCommunityIds\":[\"imioixviobuwbnge\"],\"ipExtendedCommunityIds\":[\"dqngqamhb\"],\"type\":\"Or\",\"ipPrefixId\":\"qxn\"},\"action\":{\"localPreference\":5673373577449798896,\"actionType\":\"Continue\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"odokstkvomdqxno\"]},\"delete\":{\"ipCommunityIds\":[\"papi\",\"ccydbjghunqnttrw\",\"cbzvvxd\"]},\"set\":{\"ipCommunityIds\":[\"mwwvxcaicbic\",\"ogsfovkmam\",\"y\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"ukcy\",\"aalbkubzqazd\",\"rkvit\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"qbxmnnidotmp\",\"mzuhoodttqhpv\",\"rum\"]},\"set\":{\"ipExtendedCommunityIds\":[\"yu\",\"qfpqqllavzlh\",\"gmrodb\",\"apqra\"]}}},\"annotation\":\"vtniwfcubwhxmyib\"}]}") + "{\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":1403175662749499397,\"condition\":{\"ipCommunityIds\":[\"z\",\"fiuhgneoo\",\"mcrxlyzoaho\"],\"ipExtendedCommunityIds\":[\"akrx\",\"jwnbrmdwtbrnl\",\"yiaanistcjhatclp\",\"hcstmrycpanap\"],\"type\":\"Or\",\"ipPrefixId\":\"zrinlpxngzzx\"},\"action\":{\"localPreference\":8134286517408112517,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"tbxzjkpifpucvb\",\"ozwbs\"]},\"delete\":{\"ipCommunityIds\":[\"fz\",\"qmbinpxmiwt\"]},\"set\":{\"ipCommunityIds\":[\"pvrd\",\"kcdnzoxl\",\"buxtwgbawshra\",\"q\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"glmadfzto\",\"xvqlauu\",\"gwa\",\"fmcerfxfeiqba\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"wjipssvnonijcqc\",\"ozzjkugpd\",\"qbtokvocuzxl\"]},\"set\":{\"ipExtendedCommunityIds\":[\"arhwettohgpzwx\",\"vtkzbh\"]}}},\"annotation\":\"xpu\"},{\"sequenceNumber\":2185967090986047322,\"condition\":{\"ipCommunityIds\":[\"nfhmjusuq\",\"ku\",\"hvlxudheka\",\"nirmidtvhjc\"],\"ipExtendedCommunityIds\":[\"fbqyg\",\"xrlfojlc\",\"pum\",\"eybodhrvykd\"],\"type\":\"Or\",\"ipPrefixId\":\"bcumjv\"},\"action\":{\"localPreference\":1256633658423189050,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"jtcooj\",\"bolqoxuptsl\",\"ivmlkwkzli\"]},\"delete\":{\"ipCommunityIds\":[\"t\",\"kxszd\",\"kfxcsqmz\",\"ozkt\"]},\"set\":{\"ipCommunityIds\":[\"zeohplrgcnb\",\"mhvqpkedaxk\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"jidqodaweogav\",\"yihuzsbpwn\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"ypazwiimdlzg\",\"ooagrlw\",\"amesit\",\"qadewhuwxk\"]},\"set\":{\"ipExtendedCommunityIds\":[\"t\",\"amrnaifl\"]}}},\"annotation\":\"ccprkiyf\"}]}") .toObject(RoutePolicyPatchableProperties.class); Assertions.assertEquals(CommunityActionTypes.DENY, model.defaultAction()); - Assertions.assertEquals("wxpmgyqshsasm", model.statements().get(0).annotation()); - Assertions.assertEquals(740153296759141909L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("sfmhbxvewkq", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("caq", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); - Assertions.assertEquals("tq", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(8541856603295749551L, model.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.statements().get(0).action().actionType()); - Assertions.assertEquals("w", + Assertions.assertEquals("xpu", model.statements().get(0).annotation()); + Assertions.assertEquals(1403175662749499397L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("z", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("akrx", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.statements().get(0).condition().type()); + Assertions.assertEquals("zrinlpxngzzx", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(8134286517408112517L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.DENY, model.statements().get(0).action().actionType()); + Assertions.assertEquals("tbxzjkpifpucvb", model.statements().get(0).action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("jdfxvksijrjgyin", + Assertions.assertEquals("fz", model.statements().get(0).action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("jovuyx", + Assertions.assertEquals("pvrd", model.statements().get(0).action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("addat", + Assertions.assertEquals("glmadfzto", model.statements().get(0).action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("phvjgvjzykngqyi", + Assertions.assertEquals("wjipssvnonijcqc", model.statements() .get(0) .action() @@ -50,134 +50,82 @@ public void testDeserialize() throws Exception { .delete() .ipExtendedCommunityIds() .get(0)); - Assertions.assertEquals("puonrmdlk", + Assertions.assertEquals("arhwettohgpzwx", model.statements().get(0).action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutePolicyPatchableProperties model - = new RoutePolicyPatchableProperties().withDefaultAction(CommunityActionTypes.DENY) - .withStatements( - Arrays - .asList( - new RoutePolicyStatementPatchProperties().withAnnotation("wxpmgyqshsasm") - .withSequenceNumber(740153296759141909L) - .withCondition(new StatementConditionPatchProperties() - .withIpCommunityIds(Arrays.asList("sfmhbxvewkq", "atxvuzccaliry")) - .withIpExtendedCommunityIds(Arrays.asList("caq", "johlcbnrvxyyhh")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("tq")) - .withAction(new StatementActionPatchProperties() - .withLocalPreference(8541856603295749551L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties(new ActionIpCommunityPatchProperties() - .withAdd(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("w", "uukaamimkjz"))) - .withDelete(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("jdfxvksijrjgyin"))) - .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("jovuyx")))) - .withIpExtendedCommunityProperties( - new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("addat"))) - .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("phvjgvjzykngqyi", "jxzxbth"))) - .withSet(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("puonrmdlk", "abfcve"))))), - new RoutePolicyStatementPatchProperties().withAnnotation("qlsnr") - .withSequenceNumber(81047502144924284L) - .withCondition(new StatementConditionPatchProperties() - .withIpCommunityIds(Arrays.asList("t", "bxrgrztkyqgu")) - .withIpExtendedCommunityIds(Arrays.asList("ihkybgkyncyzj")) - .withType(RoutePolicyConditionType.OR) - .withIpPrefixId("emxiurpfivypmwd")) - .withAction( - new StatementActionPatchProperties().withLocalPreference(8122296926620224830L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties(new ActionIpCommunityPatchProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds( - Arrays.asList("poqimy", "xnpdggllyduyu", "dmzu", "xvzvwlxd"))) - .withDelete(new IpCommunityIdList().withIpCommunityIds( - Arrays.asList("zeurdoxkl", "zatsiznymwzldp", "ihqhnfubevwad"))) - .withSet(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("xevlt", "ebq", "qiaklqakps")))) - .withIpExtendedCommunityProperties( - new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("twrphmriipzgf", "fuadcj"))) - .withDelete(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("qkgt"))) - .withSet(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("gee"))))), - new RoutePolicyStatementPatchProperties().withAnnotation("osjwrretsluqf") - .withSequenceNumber(2330916565639610985L) - .withCondition(new StatementConditionPatchProperties().withIpCommunityIds( - Arrays.asList("vgjjpfyxhsppvjsd", "ouoq", "enqsom", "ogeqeapas")) - .withIpExtendedCommunityIds(Arrays.asList("ppypfreuwvzhnd", "vtoiqofzttqg")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("yoxzu")) - .withAction(new StatementActionPatchProperties() - .withLocalPreference(3194194792377697191L) - .withActionType(RoutePolicyActionType.DENY) - .withIpCommunityProperties(new ActionIpCommunityPatchProperties() - .withAdd( - new IpCommunityIdList().withIpCommunityIds(Arrays.asList("pivrsgqbmolx"))) - .withDelete(new IpCommunityIdList().withIpCommunityIds( - Arrays.asList("bzvtvxx", "sfoyacgihnal", "cuedybkbgdwbmi", "zikatywedb"))) - .withSet(new IpCommunityIdList().withIpCommunityIds( - Arrays.asList("zpa", "zbbhxncszdwpave", "xgmigsoebd", "tniuiim")))) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("gvcymddo", "ilhggaj"))) - .withDelete(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("bobmolj", "rchhwlzi"))) - .withSet( - new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("quajpo", "pdj", "yotg", "raxhntoiwfszkr"))))), - new RoutePolicyStatementPatchProperties().withAnnotation("vtniwfcubwhxmyib") - .withSequenceNumber(3083415435588666948L) - .withCondition(new StatementConditionPatchProperties() - .withIpCommunityIds(Arrays.asList("imioixviobuwbnge")) - .withIpExtendedCommunityIds(Arrays.asList("dqngqamhb")) - .withType(RoutePolicyConditionType.OR) - .withIpPrefixId("qxn")) - .withAction(new StatementActionPatchProperties() - .withLocalPreference(5673373577449798896L) - .withActionType(RoutePolicyActionType.CONTINUE) - .withIpCommunityProperties(new ActionIpCommunityPatchProperties() - .withAdd(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("odokstkvomdqxno"))) - .withDelete(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("papi", "ccydbjghunqnttrw", "cbzvvxd"))) - .withSet(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("mwwvxcaicbic", "ogsfovkmam", "y")))) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("ukcy", "aalbkubzqazd", "rkvit"))) - .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("qbxmnnidotmp", "mzuhoodttqhpv", "rum"))) - .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("yu", "qfpqqllavzlh", "gmrodb", "apqra"))))))); + RoutePolicyPatchableProperties model = new RoutePolicyPatchableProperties() + .withDefaultAction(CommunityActionTypes.DENY) + .withStatements(Arrays + .asList( + new RoutePolicyStatementPatchProperties().withAnnotation("xpu") + .withSequenceNumber(1403175662749499397L) + .withCondition(new StatementConditionPatchProperties() + .withIpCommunityIds(Arrays.asList("z", "fiuhgneoo", "mcrxlyzoaho")) + .withIpExtendedCommunityIds( + Arrays.asList("akrx", "jwnbrmdwtbrnl", "yiaanistcjhatclp", "hcstmrycpanap")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("zrinlpxngzzx")) + .withAction(new StatementActionPatchProperties().withLocalPreference(8134286517408112517L) + .withActionType(RoutePolicyActionType.DENY) + .withIpCommunityProperties(new ActionIpCommunityPatchProperties() + .withAdd(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("tbxzjkpifpucvb", "ozwbs"))) + .withDelete( + new IpCommunityIdList().withIpCommunityIds(Arrays.asList("fz", "qmbinpxmiwt"))) + .withSet(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("pvrd", "kcdnzoxl", "buxtwgbawshra", "q")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() + .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("glmadfzto", "xvqlauu", "gwa", "fmcerfxfeiqba"))) + .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("wjipssvnonijcqc", "ozzjkugpd", "qbtokvocuzxl"))) + .withSet(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("arhwettohgpzwx", "vtkzbh"))))), + new RoutePolicyStatementPatchProperties().withAnnotation("ccprkiyf") + .withSequenceNumber(2185967090986047322L) + .withCondition(new StatementConditionPatchProperties() + .withIpCommunityIds(Arrays.asList("nfhmjusuq", "ku", "hvlxudheka", "nirmidtvhjc")) + .withIpExtendedCommunityIds(Arrays.asList("fbqyg", "xrlfojlc", "pum", "eybodhrvykd")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("bcumjv")) + .withAction(new StatementActionPatchProperties().withLocalPreference(1256633658423189050L) + .withActionType(RoutePolicyActionType.DENY) + .withIpCommunityProperties(new ActionIpCommunityPatchProperties() + .withAdd(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("jtcooj", "bolqoxuptsl", "ivmlkwkzli"))) + .withDelete(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("t", "kxszd", "kfxcsqmz", "ozkt"))) + .withSet(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("zeohplrgcnb", "mhvqpkedaxk")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() + .withAdd(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("jidqodaweogav", "yihuzsbpwn"))) + .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("ypazwiimdlzg", "ooagrlw", "amesit", "qadewhuwxk"))) + .withSet(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("t", "amrnaifl"))))))); model = BinaryData.fromObject(model).toObject(RoutePolicyPatchableProperties.class); Assertions.assertEquals(CommunityActionTypes.DENY, model.defaultAction()); - Assertions.assertEquals("wxpmgyqshsasm", model.statements().get(0).annotation()); - Assertions.assertEquals(740153296759141909L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("sfmhbxvewkq", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("caq", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); - Assertions.assertEquals("tq", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(8541856603295749551L, model.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.statements().get(0).action().actionType()); - Assertions.assertEquals("w", + Assertions.assertEquals("xpu", model.statements().get(0).annotation()); + Assertions.assertEquals(1403175662749499397L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("z", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("akrx", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.statements().get(0).condition().type()); + Assertions.assertEquals("zrinlpxngzzx", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(8134286517408112517L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.DENY, model.statements().get(0).action().actionType()); + Assertions.assertEquals("tbxzjkpifpucvb", model.statements().get(0).action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("jdfxvksijrjgyin", + Assertions.assertEquals("fz", model.statements().get(0).action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("jovuyx", + Assertions.assertEquals("pvrd", model.statements().get(0).action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("addat", + Assertions.assertEquals("glmadfzto", model.statements().get(0).action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("phvjgvjzykngqyi", + Assertions.assertEquals("wjipssvnonijcqc", model.statements() .get(0) .action() @@ -185,7 +133,7 @@ public void testSerialize() throws Exception { .delete() .ipExtendedCommunityIds() .get(0)); - Assertions.assertEquals("puonrmdlk", + Assertions.assertEquals("arhwettohgpzwx", model.statements().get(0).action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPropertiesTests.java index 6267f28a97b91..6d61336622398 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyPropertiesTests.java @@ -24,27 +24,27 @@ public final class RoutePolicyPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePolicyProperties model = BinaryData.fromString( - "{\"annotation\":\"qyp\",\"defaultAction\":\"Permit\",\"statements\":[{\"sequenceNumber\":5806615201815447926,\"condition\":{\"ipCommunityIds\":[\"rkqvrv\",\"dojcvzfcmxmjpjak\"],\"ipExtendedCommunityIds\":[\"uod\",\"cg\",\"u\"],\"type\":\"Or\",\"ipPrefixId\":\"xp\"},\"action\":{\"localPreference\":728407182731221314,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"n\",\"qikdipkxsqkuzabr\"]},\"delete\":{\"ipCommunityIds\":[\"atajdtacvsynss\",\"ylsuioado\",\"sjyiehkxgfuzq\"]},\"set\":{\"ipCommunityIds\":[\"wlxqdsxip\",\"nlbyitfz\",\"wwgze\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"imxacrkt\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"ynsixgz\",\"bn\",\"glquarbru\",\"qbeyxwrmu\"]},\"set\":{\"ipExtendedCommunityIds\":[\"xzb\",\"gjajkvwko\",\"xfbdzllvnatbg\",\"lpgfygenfak\"]}}},\"annotation\":\"epsihzqieo\"}],\"networkFabricId\":\"m\",\"addressFamilyType\":\"IPv4\",\"lastOperation\":{\"details\":\"jsfgbyyts\"},\"configurationState\":\"PendingAdministrativeUpdate\",\"provisioningState\":\"Updating\",\"administrativeState\":\"Disabled\"}") + "{\"annotation\":\"vm\",\"defaultAction\":\"Deny\",\"statements\":[{\"sequenceNumber\":3538415123606340708,\"condition\":{\"ipCommunityIds\":[\"mrgm\"],\"ipExtendedCommunityIds\":[\"tlhzkrazk\",\"oiyecznvzmsvzng\"],\"type\":\"And\",\"ipPrefixId\":\"hehgvmmnoyz\"},\"action\":{\"localPreference\":1547276904861984458,\"actionType\":\"Continue\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"ypkfcdfuxi\",\"zvxotnoilqcdvhy\",\"fqhxytsqmbwcacwa\"]},\"delete\":{\"ipCommunityIds\":[\"vokyaxxratqlreq\",\"rc\",\"mdts\",\"zumxucznbabowrcy\"]},\"set\":{\"ipCommunityIds\":[\"wkowxqz\",\"kag\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"naphrskmpea\",\"zzypav\",\"mzmzfntteyrftxyt\",\"ay\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"jlijkk\",\"bfaehjjirvjqx\",\"vqmdmrac\",\"sffdralihhssc\"]},\"set\":{\"ipExtendedCommunityIds\":[\"hcvlavyrjlnd\"]}}},\"annotation\":\"myzvtiojtpdr\"},{\"sequenceNumber\":5629317394824682978,\"condition\":{\"ipCommunityIds\":[\"oyjyhutwedigiv\",\"teccxfn\",\"tntmc\",\"xbqpmfhjikqcnb\"],\"ipExtendedCommunityIds\":[\"tghnmelzvrchm\"],\"type\":\"And\",\"ipPrefixId\":\"rmwy\"},\"action\":{\"localPreference\":689646175146539731,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"qqgrbrhhvipgti\"]},\"delete\":{\"ipCommunityIds\":[\"ylwhf\",\"kbweasgypjixdmob\",\"dyd\"]},\"set\":{\"ipCommunityIds\":[\"wdvclsx\",\"qdchnzib\",\"xr\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"xqkwargcbgd\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"jiqex\",\"wqykmvugflh\"]},\"set\":{\"ipExtendedCommunityIds\":[\"urhcnnkvth\",\"tamvmbgyvxhfmuhk\",\"z\",\"ucqico\"]}}},\"annotation\":\"xvbeqzjd\"},{\"sequenceNumber\":2307999067853796218,\"condition\":{\"ipCommunityIds\":[\"pdwnee\",\"my\"],\"ipExtendedCommunityIds\":[\"u\",\"jrwvnffaofkvfru\"],\"type\":\"And\",\"ipPrefixId\":\"bvh\"},\"action\":{\"localPreference\":5337085293264572669,\"actionType\":\"Deny\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"ymdqaymqmyrn\"]},\"delete\":{\"ipCommunityIds\":[\"qkfnoxhvoyjdgfkr\",\"sjrvpakxrdeexwe\",\"uguv\"]},\"set\":{\"ipCommunityIds\":[\"hpzurnzoytkbead\",\"fenroz\",\"ijoxcbpki\",\"seacbt\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"anhsxwh\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"dacrq\"]},\"set\":{\"ipExtendedCommunityIds\":[\"gqysyaj\",\"mczupdcbg\",\"ufsdbkuxkdiu\"]}}},\"annotation\":\"s\"}],\"networkFabricId\":\"vxwkscwbshfihvlm\",\"addressFamilyType\":\"IPv6\",\"lastOperation\":{\"details\":\"aulpuexyi\"},\"configurationState\":\"Deprovisioning\",\"provisioningState\":\"Succeeded\",\"administrativeState\":\"UnderMaintenance\"}") .toObject(RoutePolicyProperties.class); - Assertions.assertEquals("qyp", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.defaultAction()); - Assertions.assertEquals("epsihzqieo", model.statements().get(0).annotation()); - Assertions.assertEquals(5806615201815447926L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("rkqvrv", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("uod", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, model.statements().get(0).condition().type()); - Assertions.assertEquals("xp", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(728407182731221314L, model.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.DENY, model.statements().get(0).action().actionType()); - Assertions.assertEquals("n", + Assertions.assertEquals("vm", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.defaultAction()); + Assertions.assertEquals("myzvtiojtpdr", model.statements().get(0).annotation()); + Assertions.assertEquals(3538415123606340708L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("mrgm", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("tlhzkrazk", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); + Assertions.assertEquals("hehgvmmnoyz", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(1547276904861984458L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.statements().get(0).action().actionType()); + Assertions.assertEquals("ypkfcdfuxi", model.statements().get(0).action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("atajdtacvsynss", + Assertions.assertEquals("vokyaxxratqlreq", model.statements().get(0).action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("wlxqdsxip", + Assertions.assertEquals("wkowxqz", model.statements().get(0).action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("imxacrkt", + Assertions.assertEquals("naphrskmpea", model.statements().get(0).action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("ynsixgz", + Assertions.assertEquals("jlijkk", model.statements() .get(0) .action() @@ -52,61 +52,107 @@ public void testDeserialize() throws Exception { .delete() .ipExtendedCommunityIds() .get(0)); - Assertions.assertEquals("xzb", + Assertions.assertEquals("hcvlavyrjlnd", model.statements().get(0).action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("m", model.networkFabricId()); - Assertions.assertEquals(AddressFamilyType.IPV4, model.addressFamilyType()); + Assertions.assertEquals("vxwkscwbshfihvlm", model.networkFabricId()); + Assertions.assertEquals(AddressFamilyType.IPV6, model.addressFamilyType()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutePolicyProperties model - = new RoutePolicyProperties().withAnnotation("qyp") - .withDefaultAction(CommunityActionTypes.PERMIT) - .withStatements(Arrays.asList(new RoutePolicyStatementProperties().withAnnotation("epsihzqieo") - .withSequenceNumber(5806615201815447926L) - .withCondition(new StatementConditionProperties() - .withIpCommunityIds(Arrays.asList("rkqvrv", "dojcvzfcmxmjpjak")) - .withIpExtendedCommunityIds(Arrays.asList("uod", "cg", "u")) - .withType(RoutePolicyConditionType.OR) - .withIpPrefixId("xp")) - .withAction(new StatementActionProperties().withLocalPreference(728407182731221314L) - .withActionType(RoutePolicyActionType.DENY) - .withIpCommunityProperties(new ActionIpCommunityProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("n", "qikdipkxsqkuzabr"))) - .withDelete(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("atajdtacvsynss", "ylsuioado", "sjyiehkxgfuzq"))) - .withSet(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("wlxqdsxip", "nlbyitfz", "wwgze")))) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() - .withAdd( - new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("imxacrkt"))) - .withDelete(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("ynsixgz", "bn", "glquarbru", "qbeyxwrmu"))) - .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("xzb", "gjajkvwko", "xfbdzllvnatbg", "lpgfygenfak"))))))) - .withNetworkFabricId("m") - .withAddressFamilyType(AddressFamilyType.IPV4); + RoutePolicyProperties model = new RoutePolicyProperties().withAnnotation("vm") + .withDefaultAction(CommunityActionTypes.DENY) + .withStatements(Arrays + .asList( + new RoutePolicyStatementProperties().withAnnotation("myzvtiojtpdr") + .withSequenceNumber(3538415123606340708L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("mrgm")) + .withIpExtendedCommunityIds(Arrays.asList("tlhzkrazk", "oiyecznvzmsvzng")) + .withType(RoutePolicyConditionType.AND) + .withIpPrefixId("hehgvmmnoyz")) + .withAction(new StatementActionProperties().withLocalPreference(1547276904861984458L) + .withActionType(RoutePolicyActionType.CONTINUE) + .withIpCommunityProperties(new ActionIpCommunityProperties() + .withAdd(new IpCommunityIdList().withIpCommunityIds( + Arrays.asList("ypkfcdfuxi", "zvxotnoilqcdvhy", "fqhxytsqmbwcacwa"))) + .withDelete(new IpCommunityIdList().withIpCommunityIds( + Arrays.asList("vokyaxxratqlreq", "rc", "mdts", "zumxucznbabowrcy"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("wkowxqz", "kag")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() + .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("naphrskmpea", "zzypav", "mzmzfntteyrftxyt", "ay"))) + .withDelete( + new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("jlijkk", "bfaehjjirvjqx", "vqmdmrac", "sffdralihhssc"))) + .withSet(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("hcvlavyrjlnd"))))), + new RoutePolicyStatementProperties().withAnnotation("xvbeqzjd") + .withSequenceNumber(5629317394824682978L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("oyjyhutwedigiv", "teccxfn", "tntmc", "xbqpmfhjikqcnb")) + .withIpExtendedCommunityIds(Arrays.asList("tghnmelzvrchm")) + .withType(RoutePolicyConditionType.AND) + .withIpPrefixId("rmwy")) + .withAction(new StatementActionProperties().withLocalPreference(689646175146539731L) + .withActionType(RoutePolicyActionType.DENY) + .withIpCommunityProperties(new ActionIpCommunityProperties() + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("qqgrbrhhvipgti"))) + .withDelete(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("ylwhf", "kbweasgypjixdmob", "dyd"))) + .withSet(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("wdvclsx", "qdchnzib", "xr")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() + .withAdd(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("xqkwargcbgd"))) + .withDelete(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("jiqex", "wqykmvugflh"))) + .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("urhcnnkvth", "tamvmbgyvxhfmuhk", "z", "ucqico"))))), + new RoutePolicyStatementProperties().withAnnotation("s") + .withSequenceNumber(2307999067853796218L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("pdwnee", "my")) + .withIpExtendedCommunityIds(Arrays.asList("u", "jrwvnffaofkvfru")) + .withType(RoutePolicyConditionType.AND) + .withIpPrefixId("bvh")) + .withAction(new StatementActionProperties().withLocalPreference(5337085293264572669L) + .withActionType(RoutePolicyActionType.DENY) + .withIpCommunityProperties(new ActionIpCommunityProperties() + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("ymdqaymqmyrn"))) + .withDelete(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("qkfnoxhvoyjdgfkr", "sjrvpakxrdeexwe", "uguv"))) + .withSet(new IpCommunityIdList().withIpCommunityIds( + Arrays.asList("hpzurnzoytkbead", "fenroz", "ijoxcbpki", "seacbt")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() + .withAdd(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("anhsxwh"))) + .withDelete( + new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("dacrq"))) + .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("gqysyaj", "mczupdcbg", "ufsdbkuxkdiu"))))))) + .withNetworkFabricId("vxwkscwbshfihvlm") + .withAddressFamilyType(AddressFamilyType.IPV6); model = BinaryData.fromObject(model).toObject(RoutePolicyProperties.class); - Assertions.assertEquals("qyp", model.annotation()); - Assertions.assertEquals(CommunityActionTypes.PERMIT, model.defaultAction()); - Assertions.assertEquals("epsihzqieo", model.statements().get(0).annotation()); - Assertions.assertEquals(5806615201815447926L, model.statements().get(0).sequenceNumber()); - Assertions.assertEquals("rkqvrv", model.statements().get(0).condition().ipCommunityIds().get(0)); - Assertions.assertEquals("uod", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, model.statements().get(0).condition().type()); - Assertions.assertEquals("xp", model.statements().get(0).condition().ipPrefixId()); - Assertions.assertEquals(728407182731221314L, model.statements().get(0).action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.DENY, model.statements().get(0).action().actionType()); - Assertions.assertEquals("n", + Assertions.assertEquals("vm", model.annotation()); + Assertions.assertEquals(CommunityActionTypes.DENY, model.defaultAction()); + Assertions.assertEquals("myzvtiojtpdr", model.statements().get(0).annotation()); + Assertions.assertEquals(3538415123606340708L, model.statements().get(0).sequenceNumber()); + Assertions.assertEquals("mrgm", model.statements().get(0).condition().ipCommunityIds().get(0)); + Assertions.assertEquals("tlhzkrazk", model.statements().get(0).condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.AND, model.statements().get(0).condition().type()); + Assertions.assertEquals("hehgvmmnoyz", model.statements().get(0).condition().ipPrefixId()); + Assertions.assertEquals(1547276904861984458L, model.statements().get(0).action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.statements().get(0).action().actionType()); + Assertions.assertEquals("ypkfcdfuxi", model.statements().get(0).action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("atajdtacvsynss", + Assertions.assertEquals("vokyaxxratqlreq", model.statements().get(0).action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("wlxqdsxip", + Assertions.assertEquals("wkowxqz", model.statements().get(0).action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("imxacrkt", + Assertions.assertEquals("naphrskmpea", model.statements().get(0).action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("ynsixgz", + Assertions.assertEquals("jlijkk", model.statements() .get(0) .action() @@ -114,9 +160,9 @@ public void testSerialize() throws Exception { .delete() .ipExtendedCommunityIds() .get(0)); - Assertions.assertEquals("xzb", + Assertions.assertEquals("hcvlavyrjlnd", model.statements().get(0).action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("m", model.networkFabricId()); - Assertions.assertEquals(AddressFamilyType.IPV4, model.addressFamilyType()); + Assertions.assertEquals("vxwkscwbshfihvlm", model.networkFabricId()); + Assertions.assertEquals(AddressFamilyType.IPV6, model.addressFamilyType()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPatchPropertiesTests.java index 3fb4f93747045..7b85673cfc3c6 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPatchPropertiesTests.java @@ -21,69 +21,66 @@ public final class RoutePolicyStatementPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePolicyStatementPatchProperties model = BinaryData.fromString( - "{\"sequenceNumber\":6552637583211214033,\"condition\":{\"ipCommunityIds\":[\"cttg\",\"kxtcxb\",\"jbeyqohviawp\"],\"ipExtendedCommunityIds\":[\"rare\",\"dlgbvtpxow\"],\"type\":\"And\",\"ipPrefixId\":\"docjasuamegjkfis\"},\"action\":{\"localPreference\":4327040815306864873,\"actionType\":\"Continue\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"w\",\"sloblitxr\"]},\"delete\":{\"ipCommunityIds\":[\"c\",\"sanjsou\",\"rztog\",\"jgb\"]},\"set\":{\"ipCommunityIds\":[\"hwkzfggsuzkvda\",\"tpzu\",\"wazoabthutctc\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"abzfihsz\",\"kpoidfzwegvu\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"gweccvufj\",\"vf\",\"fsssmy\",\"emkrhbsdgktluifi\"]},\"set\":{\"ipExtendedCommunityIds\":[\"cpenobqysbees\",\"qb\"]}}},\"annotation\":\"aerszsufzsa\"}") + "{\"sequenceNumber\":6375983289582730283,\"condition\":{\"ipCommunityIds\":[\"mydx\"],\"ipExtendedCommunityIds\":[\"qbvfquz\",\"hirqvvke\"],\"type\":\"Or\",\"ipPrefixId\":\"aqoktssgvqxer\"},\"action\":{\"localPreference\":3332134546181581908,\"actionType\":\"Continue\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"b\",\"jlvihylrxsiy\"]},\"delete\":{\"ipCommunityIds\":[\"umtitlqycf\"]},\"set\":{\"ipCommunityIds\":[\"nkqpkayqivbi\",\"drqgzetboy\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"uxppwpcfm\",\"rmtgwhzbbdwrjen\",\"ofeiiewibdtplj\",\"nmajokbxxc\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"jwtkftgzl\",\"uepmewsjpgbml\",\"xjhgvtepvrunu\",\"makkshrnaxkcz\"]},\"set\":{\"ipExtendedCommunityIds\":[\"digeyuocftsa\",\"odwqbaktvxerowu\",\"vrnnbegrafeo\",\"mtojxgdof\"]}}},\"annotation\":\"zhkqqsjknaq\"}") .toObject(RoutePolicyStatementPatchProperties.class); - Assertions.assertEquals("aerszsufzsa", model.annotation()); - Assertions.assertEquals(6552637583211214033L, model.sequenceNumber()); - Assertions.assertEquals("cttg", model.condition().ipCommunityIds().get(0)); - Assertions.assertEquals("rare", model.condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.condition().type()); - Assertions.assertEquals("docjasuamegjkfis", model.condition().ipPrefixId()); - Assertions.assertEquals(4327040815306864873L, model.action().localPreference()); + Assertions.assertEquals("zhkqqsjknaq", model.annotation()); + Assertions.assertEquals(6375983289582730283L, model.sequenceNumber()); + Assertions.assertEquals("mydx", model.condition().ipCommunityIds().get(0)); + Assertions.assertEquals("qbvfquz", model.condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.condition().type()); + Assertions.assertEquals("aqoktssgvqxer", model.condition().ipPrefixId()); + Assertions.assertEquals(3332134546181581908L, model.action().localPreference()); Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.action().actionType()); - Assertions.assertEquals("w", model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("c", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("hwkzfggsuzkvda", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("abzfihsz", + Assertions.assertEquals("b", model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("umtitlqycf", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("nkqpkayqivbi", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("uxppwpcfm", model.action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("gweccvufj", + Assertions.assertEquals("jwtkftgzl", model.action().ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("cpenobqysbees", + Assertions.assertEquals("digeyuocftsa", model.action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutePolicyStatementPatchProperties model - = new RoutePolicyStatementPatchProperties().withAnnotation("aerszsufzsa") - .withSequenceNumber(6552637583211214033L) - .withCondition(new StatementConditionPatchProperties() - .withIpCommunityIds(Arrays.asList("cttg", "kxtcxb", "jbeyqohviawp")) - .withIpExtendedCommunityIds(Arrays.asList("rare", "dlgbvtpxow")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("docjasuamegjkfis")) - .withAction(new StatementActionPatchProperties().withLocalPreference(4327040815306864873L) - .withActionType(RoutePolicyActionType.CONTINUE) - .withIpCommunityProperties(new ActionIpCommunityPatchProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("w", "sloblitxr"))) - .withDelete( - new IpCommunityIdList().withIpCommunityIds(Arrays.asList("c", "sanjsou", "rztog", "jgb"))) - .withSet(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("hwkzfggsuzkvda", "tpzu", "wazoabthutctc")))) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("abzfihsz", "kpoidfzwegvu"))) - .withDelete(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("gweccvufj", "vf", "fsssmy", "emkrhbsdgktluifi"))) - .withSet(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("cpenobqysbees", "qb"))))); + RoutePolicyStatementPatchProperties model = new RoutePolicyStatementPatchProperties() + .withAnnotation("zhkqqsjknaq") + .withSequenceNumber(6375983289582730283L) + .withCondition(new StatementConditionPatchProperties().withIpCommunityIds(Arrays.asList("mydx")) + .withIpExtendedCommunityIds(Arrays.asList("qbvfquz", "hirqvvke")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("aqoktssgvqxer")) + .withAction(new StatementActionPatchProperties().withLocalPreference(3332134546181581908L) + .withActionType(RoutePolicyActionType.CONTINUE) + .withIpCommunityProperties(new ActionIpCommunityPatchProperties() + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("b", "jlvihylrxsiy"))) + .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("umtitlqycf"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("nkqpkayqivbi", "drqgzetboy")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() + .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("uxppwpcfm", "rmtgwhzbbdwrjen", "ofeiiewibdtplj", "nmajokbxxc"))) + .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("jwtkftgzl", "uepmewsjpgbml", "xjhgvtepvrunu", "makkshrnaxkcz"))) + .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( + Arrays.asList("digeyuocftsa", "odwqbaktvxerowu", "vrnnbegrafeo", "mtojxgdof"))))); model = BinaryData.fromObject(model).toObject(RoutePolicyStatementPatchProperties.class); - Assertions.assertEquals("aerszsufzsa", model.annotation()); - Assertions.assertEquals(6552637583211214033L, model.sequenceNumber()); - Assertions.assertEquals("cttg", model.condition().ipCommunityIds().get(0)); - Assertions.assertEquals("rare", model.condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.condition().type()); - Assertions.assertEquals("docjasuamegjkfis", model.condition().ipPrefixId()); - Assertions.assertEquals(4327040815306864873L, model.action().localPreference()); + Assertions.assertEquals("zhkqqsjknaq", model.annotation()); + Assertions.assertEquals(6375983289582730283L, model.sequenceNumber()); + Assertions.assertEquals("mydx", model.condition().ipCommunityIds().get(0)); + Assertions.assertEquals("qbvfquz", model.condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.condition().type()); + Assertions.assertEquals("aqoktssgvqxer", model.condition().ipPrefixId()); + Assertions.assertEquals(3332134546181581908L, model.action().localPreference()); Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.action().actionType()); - Assertions.assertEquals("w", model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("c", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("hwkzfggsuzkvda", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("abzfihsz", + Assertions.assertEquals("b", model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("umtitlqycf", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("nkqpkayqivbi", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("uxppwpcfm", model.action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("gweccvufj", + Assertions.assertEquals("jwtkftgzl", model.action().ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("cpenobqysbees", + Assertions.assertEquals("digeyuocftsa", model.action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPropertiesTests.java index 58ca30f13dbf0..40bba13e7b03b 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePolicyStatementPropertiesTests.java @@ -21,64 +21,68 @@ public final class RoutePolicyStatementPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePolicyStatementProperties model = BinaryData.fromString( - "{\"sequenceNumber\":4580399490762319649,\"condition\":{\"ipCommunityIds\":[\"khqbuoyrbdkgqd\"],\"ipExtendedCommunityIds\":[\"vjmfjjf\"],\"type\":\"And\",\"ipPrefixId\":\"sveamsea\"},\"action\":{\"localPreference\":8305272475169816409,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"glmufzuuyszhae\"]},\"delete\":{\"ipCommunityIds\":[\"osdpxtsdyw\",\"gef\"]},\"set\":{\"ipCommunityIds\":[\"phwxia\",\"wmixaqgfpuhhzwrs\",\"umlkjsv\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"ixalphkgminh\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"djdjmsngmluy\"]},\"set\":{\"ipExtendedCommunityIds\":[\"i\"]}}},\"annotation\":\"mrmrjpjthizsa\"}") + "{\"sequenceNumber\":4516152034562804758,\"condition\":{\"ipCommunityIds\":[\"spgnnd\",\"fyhsb\",\"hwlvsvs\",\"ltaprq\"],\"ipExtendedCommunityIds\":[\"mvzrkpmonx\",\"wfcuhbgftfvqukkm\",\"zene\",\"pdq\"],\"type\":\"Or\",\"ipPrefixId\":\"wq\"},\"action\":{\"localPreference\":2769522594876111432,\"actionType\":\"Continue\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"subehztbejrdzwyk\"]},\"delete\":{\"ipCommunityIds\":[\"zwufi\",\"n\",\"wjhmjkykqfl\",\"mcyk\"]},\"set\":{\"ipCommunityIds\":[\"mkbndnrihpjax\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"jn\",\"ig\",\"ydlkrnpsbnm\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"ipj\"]},\"set\":{\"ipExtendedCommunityIds\":[\"dpfg\",\"dxmi\"]}}},\"annotation\":\"lnpbiec\"}") .toObject(RoutePolicyStatementProperties.class); - Assertions.assertEquals("mrmrjpjthizsa", model.annotation()); - Assertions.assertEquals(4580399490762319649L, model.sequenceNumber()); - Assertions.assertEquals("khqbuoyrbdkgqd", model.condition().ipCommunityIds().get(0)); - Assertions.assertEquals("vjmfjjf", model.condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.condition().type()); - Assertions.assertEquals("sveamsea", model.condition().ipPrefixId()); - Assertions.assertEquals(8305272475169816409L, model.action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.action().actionType()); - Assertions.assertEquals("glmufzuuyszhae", model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("osdpxtsdyw", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("phwxia", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("ixalphkgminh", + Assertions.assertEquals("lnpbiec", model.annotation()); + Assertions.assertEquals(4516152034562804758L, model.sequenceNumber()); + Assertions.assertEquals("spgnnd", model.condition().ipCommunityIds().get(0)); + Assertions.assertEquals("mvzrkpmonx", model.condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.condition().type()); + Assertions.assertEquals("wq", model.condition().ipPrefixId()); + Assertions.assertEquals(2769522594876111432L, model.action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.action().actionType()); + Assertions.assertEquals("subehztbejrdzwyk", + model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("zwufi", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("mkbndnrihpjax", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("jn", model.action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("djdjmsngmluy", + Assertions.assertEquals("ipj", model.action().ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("i", + Assertions.assertEquals("dpfg", model.action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutePolicyStatementProperties model = new RoutePolicyStatementProperties().withAnnotation("mrmrjpjthizsa") - .withSequenceNumber(4580399490762319649L) - .withCondition(new StatementConditionProperties().withIpCommunityIds(Arrays.asList("khqbuoyrbdkgqd")) - .withIpExtendedCommunityIds(Arrays.asList("vjmfjjf")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("sveamsea")) - .withAction(new StatementActionProperties().withLocalPreference(8305272475169816409L) - .withActionType(RoutePolicyActionType.PERMIT) + RoutePolicyStatementProperties model = new RoutePolicyStatementProperties().withAnnotation("lnpbiec") + .withSequenceNumber(4516152034562804758L) + .withCondition(new StatementConditionProperties() + .withIpCommunityIds(Arrays.asList("spgnnd", "fyhsb", "hwlvsvs", "ltaprq")) + .withIpExtendedCommunityIds(Arrays.asList("mvzrkpmonx", "wfcuhbgftfvqukkm", "zene", "pdq")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("wq")) + .withAction(new StatementActionProperties().withLocalPreference(2769522594876111432L) + .withActionType(RoutePolicyActionType.CONTINUE) .withIpCommunityProperties(new ActionIpCommunityProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("glmufzuuyszhae"))) - .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("osdpxtsdyw", "gef"))) - .withSet(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("phwxia", "wmixaqgfpuhhzwrs", "umlkjsv")))) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("ixalphkgminh"))) + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("subehztbejrdzwyk"))) .withDelete( - new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("djdjmsngmluy"))) - .withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("i"))))); + new IpCommunityIdList().withIpCommunityIds(Arrays.asList("zwufi", "n", "wjhmjkykqfl", "mcyk"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("mkbndnrihpjax")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() + .withAdd(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("jn", "ig", "ydlkrnpsbnm"))) + .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("ipj"))) + .withSet( + new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("dpfg", "dxmi"))))); model = BinaryData.fromObject(model).toObject(RoutePolicyStatementProperties.class); - Assertions.assertEquals("mrmrjpjthizsa", model.annotation()); - Assertions.assertEquals(4580399490762319649L, model.sequenceNumber()); - Assertions.assertEquals("khqbuoyrbdkgqd", model.condition().ipCommunityIds().get(0)); - Assertions.assertEquals("vjmfjjf", model.condition().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.condition().type()); - Assertions.assertEquals("sveamsea", model.condition().ipPrefixId()); - Assertions.assertEquals(8305272475169816409L, model.action().localPreference()); - Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.action().actionType()); - Assertions.assertEquals("glmufzuuyszhae", model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("osdpxtsdyw", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("phwxia", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("ixalphkgminh", + Assertions.assertEquals("lnpbiec", model.annotation()); + Assertions.assertEquals(4516152034562804758L, model.sequenceNumber()); + Assertions.assertEquals("spgnnd", model.condition().ipCommunityIds().get(0)); + Assertions.assertEquals("mvzrkpmonx", model.condition().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.condition().type()); + Assertions.assertEquals("wq", model.condition().ipPrefixId()); + Assertions.assertEquals(2769522594876111432L, model.action().localPreference()); + Assertions.assertEquals(RoutePolicyActionType.CONTINUE, model.action().actionType()); + Assertions.assertEquals("subehztbejrdzwyk", + model.action().ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("zwufi", model.action().ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("mkbndnrihpjax", model.action().ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("jn", model.action().ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("djdjmsngmluy", + Assertions.assertEquals("ipj", model.action().ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("i", + Assertions.assertEquals("dpfg", model.action().ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPatchPropertiesTests.java index cab14a5b1f82c..eb8335de048cf 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPatchPropertiesTests.java @@ -12,18 +12,18 @@ public final class RoutePrefixLimitPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutePrefixLimitPatchProperties model - = BinaryData.fromString("{\"hardLimit\":476616488,\"threshold\":606826553}") + = BinaryData.fromString("{\"hardLimit\":498645411,\"threshold\":2120923366}") .toObject(RoutePrefixLimitPatchProperties.class); - Assertions.assertEquals(476616488, model.hardLimit()); - Assertions.assertEquals(606826553, model.threshold()); + Assertions.assertEquals(498645411, model.hardLimit()); + Assertions.assertEquals(2120923366, model.threshold()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { RoutePrefixLimitPatchProperties model - = new RoutePrefixLimitPatchProperties().withHardLimit(476616488).withThreshold(606826553); + = new RoutePrefixLimitPatchProperties().withHardLimit(498645411).withThreshold(2120923366); model = BinaryData.fromObject(model).toObject(RoutePrefixLimitPatchProperties.class); - Assertions.assertEquals(476616488, model.hardLimit()); - Assertions.assertEquals(606826553, model.threshold()); + Assertions.assertEquals(498645411, model.hardLimit()); + Assertions.assertEquals(2120923366, model.threshold()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPropertiesTests.java index ff9958156d9e4..f77573f7a76a4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RoutePrefixLimitPropertiesTests.java @@ -11,18 +11,18 @@ public final class RoutePrefixLimitPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - RoutePrefixLimitProperties model = BinaryData.fromString("{\"hardLimit\":1232558880,\"threshold\":918409300}") + RoutePrefixLimitProperties model = BinaryData.fromString("{\"hardLimit\":1031012215,\"threshold\":1773397214}") .toObject(RoutePrefixLimitProperties.class); - Assertions.assertEquals(1232558880, model.hardLimit()); - Assertions.assertEquals(918409300, model.threshold()); + Assertions.assertEquals(1031012215, model.hardLimit()); + Assertions.assertEquals(1773397214, model.threshold()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { RoutePrefixLimitProperties model - = new RoutePrefixLimitProperties().withHardLimit(1232558880).withThreshold(918409300); + = new RoutePrefixLimitProperties().withHardLimit(1031012215).withThreshold(1773397214); model = BinaryData.fromObject(model).toObject(RoutePrefixLimitProperties.class); - Assertions.assertEquals(1232558880, model.hardLimit()); - Assertions.assertEquals(918409300, model.threshold()); + Assertions.assertEquals(1031012215, model.hardLimit()); + Assertions.assertEquals(1773397214, model.threshold()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetInformationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetInformationTests.java index 4a884c418861c..89bc3ee1d64d1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetInformationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetInformationTests.java @@ -13,25 +13,25 @@ public final class RouteTargetInformationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RouteTargetInformation model = BinaryData.fromString( - "{\"importIpv4RouteTargets\":[\"vqokql\",\"jqgir\"],\"importIpv6RouteTargets\":[\"lyvxchp\"],\"exportIpv4RouteTargets\":[\"tsfaeuh\",\"wsknstvzuzhasup\",\"lppdpgz\",\"zqazvb\"],\"exportIpv6RouteTargets\":[\"kptgongruat\",\"yiysjqheni\",\"beqngubabyjde\",\"ysc\"]}") + "{\"importIpv4RouteTargets\":[\"snyzmspam\"],\"importIpv6RouteTargets\":[\"m\",\"nlslcef\"],\"exportIpv4RouteTargets\":[\"ktwtk\"],\"exportIpv6RouteTargets\":[\"lpfliwoyn\",\"uuzhw\"]}") .toObject(RouteTargetInformation.class); - Assertions.assertEquals("vqokql", model.importIpv4RouteTargets().get(0)); - Assertions.assertEquals("lyvxchp", model.importIpv6RouteTargets().get(0)); - Assertions.assertEquals("tsfaeuh", model.exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("kptgongruat", model.exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("snyzmspam", model.importIpv4RouteTargets().get(0)); + Assertions.assertEquals("m", model.importIpv6RouteTargets().get(0)); + Assertions.assertEquals("ktwtk", model.exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("lpfliwoyn", model.exportIpv6RouteTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { RouteTargetInformation model - = new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("vqokql", "jqgir")) - .withImportIpv6RouteTargets(Arrays.asList("lyvxchp")) - .withExportIpv4RouteTargets(Arrays.asList("tsfaeuh", "wsknstvzuzhasup", "lppdpgz", "zqazvb")) - .withExportIpv6RouteTargets(Arrays.asList("kptgongruat", "yiysjqheni", "beqngubabyjde", "ysc")); + = new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("snyzmspam")) + .withImportIpv6RouteTargets(Arrays.asList("m", "nlslcef")) + .withExportIpv4RouteTargets(Arrays.asList("ktwtk")) + .withExportIpv6RouteTargets(Arrays.asList("lpfliwoyn", "uuzhw")); model = BinaryData.fromObject(model).toObject(RouteTargetInformation.class); - Assertions.assertEquals("vqokql", model.importIpv4RouteTargets().get(0)); - Assertions.assertEquals("lyvxchp", model.importIpv6RouteTargets().get(0)); - Assertions.assertEquals("tsfaeuh", model.exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("kptgongruat", model.exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("snyzmspam", model.importIpv4RouteTargets().get(0)); + Assertions.assertEquals("m", model.importIpv6RouteTargets().get(0)); + Assertions.assertEquals("ktwtk", model.exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("lpfliwoyn", model.exportIpv6RouteTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetPatchInformationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetPatchInformationTests.java index 2d17ce453ac49..ad2759c866f57 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetPatchInformationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RouteTargetPatchInformationTests.java @@ -13,25 +13,25 @@ public final class RouteTargetPatchInformationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RouteTargetPatchInformation model = BinaryData.fromString( - "{\"importIpv4RouteTargets\":[\"auqmllfeoth\"],\"importIpv6RouteTargets\":[\"rigrjdljlkq\",\"vkrbzkuastaxklpr\",\"ulhgltoiz\",\"xvsc\"],\"exportIpv4RouteTargets\":[\"fyy\",\"ky\"],\"exportIpv6RouteTargets\":[\"afxcz\",\"fcck\"]}") + "{\"importIpv4RouteTargets\":[\"gxyxyauxredd\",\"bmcnltmwytku\",\"sqycmmoxfablqg\"],\"importIpv6RouteTargets\":[\"mwh\",\"ialiwry\",\"gnwplrrb\"],\"exportIpv4RouteTargets\":[\"tsbbibtic\",\"hqvumspbfs\"],\"exportIpv6RouteTargets\":[\"bbewfcu\",\"fpyyxmzrmtm\",\"wi\",\"uweyyjshcyb\"]}") .toObject(RouteTargetPatchInformation.class); - Assertions.assertEquals("auqmllfeoth", model.importIpv4RouteTargets().get(0)); - Assertions.assertEquals("rigrjdljlkq", model.importIpv6RouteTargets().get(0)); - Assertions.assertEquals("fyy", model.exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("afxcz", model.exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("gxyxyauxredd", model.importIpv4RouteTargets().get(0)); + Assertions.assertEquals("mwh", model.importIpv6RouteTargets().get(0)); + Assertions.assertEquals("tsbbibtic", model.exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("bbewfcu", model.exportIpv6RouteTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RouteTargetPatchInformation model - = new RouteTargetPatchInformation().withImportIpv4RouteTargets(Arrays.asList("auqmllfeoth")) - .withImportIpv6RouteTargets(Arrays.asList("rigrjdljlkq", "vkrbzkuastaxklpr", "ulhgltoiz", "xvsc")) - .withExportIpv4RouteTargets(Arrays.asList("fyy", "ky")) - .withExportIpv6RouteTargets(Arrays.asList("afxcz", "fcck")); + RouteTargetPatchInformation model = new RouteTargetPatchInformation() + .withImportIpv4RouteTargets(Arrays.asList("gxyxyauxredd", "bmcnltmwytku", "sqycmmoxfablqg")) + .withImportIpv6RouteTargets(Arrays.asList("mwh", "ialiwry", "gnwplrrb")) + .withExportIpv4RouteTargets(Arrays.asList("tsbbibtic", "hqvumspbfs")) + .withExportIpv6RouteTargets(Arrays.asList("bbewfcu", "fpyyxmzrmtm", "wi", "uweyyjshcyb")); model = BinaryData.fromObject(model).toObject(RouteTargetPatchInformation.class); - Assertions.assertEquals("auqmllfeoth", model.importIpv4RouteTargets().get(0)); - Assertions.assertEquals("rigrjdljlkq", model.importIpv6RouteTargets().get(0)); - Assertions.assertEquals("fyy", model.exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("afxcz", model.exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("gxyxyauxredd", model.importIpv4RouteTargets().get(0)); + Assertions.assertEquals("mwh", model.importIpv6RouteTargets().get(0)); + Assertions.assertEquals("tsbbibtic", model.exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("bbewfcu", model.exportIpv6RouteTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RulePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RulePropertiesTests.java index 13146f8ed55e8..083c11907362c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RulePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/RulePropertiesTests.java @@ -16,37 +16,36 @@ public final class RulePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RuleProperties model = BinaryData.fromString( - "{\"action\":\"Allow\",\"addressList\":[\"ftptnuwj\"],\"condition\":\"And\",\"destinationAddressList\":[\"gcgqyhleseyqrhvy\"],\"sourceAddressList\":[\"otjvdkwiswskukjt\",\"sbvw\"],\"headerAddressList\":[{\"headerName\":\"xkdtxfkndlqvtwkn\",\"addressList\":[\"mb\",\"gtywatmqaqkue\",\"tgroesh\",\"ygzc\"]},{\"headerName\":\"fqxkfaoyteh\",\"addressList\":[\"vjmvqmtdwckygr\",\"ejnndljdju\"]},{\"headerName\":\"br\",\"addressList\":[\"ynkceysfaqegpl\"]}]}") + "{\"action\":\"Allow\",\"addressList\":[\"ygr\",\"ejnndljdju\",\"kb\",\"req\"],\"condition\":\"Or\",\"destinationAddressList\":[\"ysfaqegplwrysh\",\"ddkvbxgkqu\",\"ybwptda\"],\"sourceAddressList\":[\"vvlfntymtp\"],\"headerAddressList\":[{\"headerName\":\"naz\",\"addressList\":[\"hzr\",\"qalsxkd\",\"wqapfgsdp\"]},{\"headerName\":\"essmzhhku\",\"addressList\":[\"ldqqctekv\",\"lblhtjq\"]}]}") .toObject(RuleProperties.class); Assertions.assertEquals(Action.ALLOW, model.action()); - Assertions.assertEquals("ftptnuwj", model.addressList().get(0)); - Assertions.assertEquals(RuleCondition.AND, model.condition()); - Assertions.assertEquals("gcgqyhleseyqrhvy", model.destinationAddressList().get(0)); - Assertions.assertEquals("otjvdkwiswskukjt", model.sourceAddressList().get(0)); - Assertions.assertEquals("xkdtxfkndlqvtwkn", model.headerAddressList().get(0).headerName()); - Assertions.assertEquals("mb", model.headerAddressList().get(0).addressList().get(0)); + Assertions.assertEquals("ygr", model.addressList().get(0)); + Assertions.assertEquals(RuleCondition.OR, model.condition()); + Assertions.assertEquals("ysfaqegplwrysh", model.destinationAddressList().get(0)); + Assertions.assertEquals("vvlfntymtp", model.sourceAddressList().get(0)); + Assertions.assertEquals("naz", model.headerAddressList().get(0).headerName()); + Assertions.assertEquals("hzr", model.headerAddressList().get(0).addressList().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { RuleProperties model = new RuleProperties().withAction(Action.ALLOW) - .withAddressList(Arrays.asList("ftptnuwj")) - .withCondition(RuleCondition.AND) - .withDestinationAddressList(Arrays.asList("gcgqyhleseyqrhvy")) - .withSourceAddressList(Arrays.asList("otjvdkwiswskukjt", "sbvw")) + .withAddressList(Arrays.asList("ygr", "ejnndljdju", "kb", "req")) + .withCondition(RuleCondition.OR) + .withDestinationAddressList(Arrays.asList("ysfaqegplwrysh", "ddkvbxgkqu", "ybwptda")) + .withSourceAddressList(Arrays.asList("vvlfntymtp")) .withHeaderAddressList(Arrays.asList( - new HeaderAddressProperties().withHeaderName("xkdtxfkndlqvtwkn") - .withAddressList(Arrays.asList("mb", "gtywatmqaqkue", "tgroesh", "ygzc")), - new HeaderAddressProperties().withHeaderName("fqxkfaoyteh") - .withAddressList(Arrays.asList("vjmvqmtdwckygr", "ejnndljdju")), - new HeaderAddressProperties().withHeaderName("br").withAddressList(Arrays.asList("ynkceysfaqegpl")))); + new HeaderAddressProperties().withHeaderName("naz") + .withAddressList(Arrays.asList("hzr", "qalsxkd", "wqapfgsdp")), + new HeaderAddressProperties().withHeaderName("essmzhhku") + .withAddressList(Arrays.asList("ldqqctekv", "lblhtjq")))); model = BinaryData.fromObject(model).toObject(RuleProperties.class); Assertions.assertEquals(Action.ALLOW, model.action()); - Assertions.assertEquals("ftptnuwj", model.addressList().get(0)); - Assertions.assertEquals(RuleCondition.AND, model.condition()); - Assertions.assertEquals("gcgqyhleseyqrhvy", model.destinationAddressList().get(0)); - Assertions.assertEquals("otjvdkwiswskukjt", model.sourceAddressList().get(0)); - Assertions.assertEquals("xkdtxfkndlqvtwkn", model.headerAddressList().get(0).headerName()); - Assertions.assertEquals("mb", model.headerAddressList().get(0).addressList().get(0)); + Assertions.assertEquals("ygr", model.addressList().get(0)); + Assertions.assertEquals(RuleCondition.OR, model.condition()); + Assertions.assertEquals("ysfaqegplwrysh", model.destinationAddressList().get(0)); + Assertions.assertEquals("vvlfntymtp", model.sourceAddressList().get(0)); + Assertions.assertEquals("naz", model.headerAddressList().get(0).headerName()); + Assertions.assertEquals("hzr", model.headerAddressList().get(0).addressList().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchivePatchSettingsTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchivePatchSettingsTests.java new file mode 100644 index 0000000000000..2e39a492520aa --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchivePatchSettingsTests.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch; +import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchivePatchSettings; +import org.junit.jupiter.api.Assertions; + +public final class SecretArchivePatchSettingsTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + SecretArchivePatchSettings model = BinaryData.fromString( + "{\"associatedIdentity\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"rdvhaztkxbi\"},\"vaultUri\":\"fgxmbr\"}") + .toObject(SecretArchivePatchSettings.class); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, + model.associatedIdentity().identityType()); + Assertions.assertEquals("rdvhaztkxbi", model.associatedIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("fgxmbr", model.vaultUri()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + SecretArchivePatchSettings model = new SecretArchivePatchSettings().withAssociatedIdentity( + new IdentitySelectorPatch().withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("rdvhaztkxbi")) + .withVaultUri("fgxmbr"); + model = BinaryData.fromObject(model).toObject(SecretArchivePatchSettings.class); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, + model.associatedIdentity().identityType()); + Assertions.assertEquals("rdvhaztkxbi", model.associatedIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("fgxmbr", model.vaultUri()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchiveSettingsTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchiveSettingsTests.java new file mode 100644 index 0000000000000..aff7360d65bfd --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SecretArchiveSettingsTests.java @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector; +import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType; +import com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings; +import org.junit.jupiter.api.Assertions; + +public final class SecretArchiveSettingsTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + SecretArchiveSettings model = BinaryData.fromString( + "{\"associatedIdentity\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"qqhyhnimxtns\"},\"vaultUri\":\"gi\"}") + .toObject(SecretArchiveSettings.class); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + model.associatedIdentity().identityType()); + Assertions.assertEquals("qqhyhnimxtns", model.associatedIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("gi", model.vaultUri()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + SecretArchiveSettings model + = new SecretArchiveSettings() + .withAssociatedIdentity( + new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("qqhyhnimxtns")) + .withVaultUri("gi"); + model = BinaryData.fromObject(model).toObject(SecretArchiveSettings.class); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + model.associatedIdentity().identityType()); + Assertions.assertEquals("qqhyhnimxtns", model.associatedIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("gi", model.vaultUri()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPatchPropertiesTests.java index 13024f300cd8d..7c45348473292 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPatchPropertiesTests.java @@ -18,45 +18,50 @@ public final class StatementActionPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StatementActionPatchProperties model = BinaryData.fromString( - "{\"localPreference\":7956415939657825690,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"lghkvoxdpor\",\"k\",\"vbkutogecyqoy\"]},\"delete\":{\"ipCommunityIds\":[\"bvqnpwdwdmuvya\"]},\"set\":{\"ipCommunityIds\":[\"pwxnblzrmi\",\"k\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"jbpn\",\"dhfrvsi\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"npcjn\",\"affwcgjjioqw\"]},\"set\":{\"ipExtendedCommunityIds\":[\"dkpnmwrfuqjdeby\",\"q\",\"cnbgibklscwdko\"]}}}") + "{\"localPreference\":5314188086549843355,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"vspewyzhydtkbmtr\",\"dplvi\",\"igarmawokgcnevic\",\"wb\"]},\"delete\":{\"ipCommunityIds\":[\"lwbj\",\"iynqryoi\",\"weofvsxauphzefi\",\"eyydx\"]},\"set\":{\"ipCommunityIds\":[\"i\",\"zkdeexccwldgf\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"wtacrscfcnc\",\"vjcull\",\"fwfpo\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"szzwncsjgfxv\",\"hmuby\"]},\"set\":{\"ipExtendedCommunityIds\":[\"gnmsvjfgr\",\"ryyircbajxjrb\",\"yrkb\"]}}}") .toObject(StatementActionPatchProperties.class); - Assertions.assertEquals(7956415939657825690L, model.localPreference()); + Assertions.assertEquals(5314188086549843355L, model.localPreference()); Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.actionType()); - Assertions.assertEquals("lghkvoxdpor", model.ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("bvqnpwdwdmuvya", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("pwxnblzrmi", model.ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("jbpn", model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("npcjn", + Assertions.assertEquals("vspewyzhydtkbmtr", model.ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("lwbj", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("i", model.ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("wtacrscfcnc", + model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("szzwncsjgfxv", model.ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("dkpnmwrfuqjdeby", + Assertions.assertEquals("gnmsvjfgr", model.ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StatementActionPatchProperties model = new StatementActionPatchProperties() - .withLocalPreference(7956415939657825690L) - .withActionType(RoutePolicyActionType.PERMIT) - .withIpCommunityProperties(new ActionIpCommunityPatchProperties() - .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("lghkvoxdpor", "k", "vbkutogecyqoy"))) - .withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("bvqnpwdwdmuvya"))) - .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("pwxnblzrmi", "k")))) - .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() - .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("jbpn", "dhfrvsi"))) - .withDelete( - new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("npcjn", "affwcgjjioqw"))) - .withSet(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("dkpnmwrfuqjdeby", "q", "cnbgibklscwdko")))); + StatementActionPatchProperties model + = new StatementActionPatchProperties().withLocalPreference(5314188086549843355L) + .withActionType(RoutePolicyActionType.PERMIT) + .withIpCommunityProperties(new ActionIpCommunityPatchProperties() + .withAdd(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("vspewyzhydtkbmtr", "dplvi", "igarmawokgcnevic", "wb"))) + .withDelete(new IpCommunityIdList() + .withIpCommunityIds(Arrays.asList("lwbj", "iynqryoi", "weofvsxauphzefi", "eyydx"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("i", "zkdeexccwldgf")))) + .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties() + .withAdd(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("wtacrscfcnc", "vjcull", "fwfpo"))) + .withDelete(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("szzwncsjgfxv", "hmuby"))) + .withSet(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("gnmsvjfgr", "ryyircbajxjrb", "yrkb")))); model = BinaryData.fromObject(model).toObject(StatementActionPatchProperties.class); - Assertions.assertEquals(7956415939657825690L, model.localPreference()); + Assertions.assertEquals(5314188086549843355L, model.localPreference()); Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.actionType()); - Assertions.assertEquals("lghkvoxdpor", model.ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("bvqnpwdwdmuvya", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("pwxnblzrmi", model.ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("jbpn", model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("npcjn", + Assertions.assertEquals("vspewyzhydtkbmtr", model.ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("lwbj", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("i", model.ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("wtacrscfcnc", + model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("szzwncsjgfxv", model.ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("dkpnmwrfuqjdeby", + Assertions.assertEquals("gnmsvjfgr", model.ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPropertiesTests.java index 1c977ffb459a4..365612470c477 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementActionPropertiesTests.java @@ -18,46 +18,47 @@ public final class StatementActionPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StatementActionProperties model = BinaryData.fromString( - "{\"localPreference\":6893031547362937650,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"i\",\"dkewqwamp\",\"ldddorzljhnxf\",\"ffngfpilloirm\"]},\"delete\":{\"ipCommunityIds\":[\"ktuqnbcjknrqmznw\",\"tk\",\"ytwiieinl\"]},\"set\":{\"ipCommunityIds\":[\"oyoioxdwffwyzqke\",\"curr\",\"uecokyduqzusc\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"ehtekx\",\"vkdvcgowrd\",\"ddddwzdlbbcztam\",\"yrkwsthpivocf\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"nodqqzjbfyrosw\",\"fqd\",\"wvsxfrwvlypzt\"]},\"set\":{\"ipExtendedCommunityIds\":[\"nc\",\"ocl\",\"epjzaqbods\"]}}}") + "{\"localPreference\":1077601884252668931,\"actionType\":\"Permit\",\"ipCommunityProperties\":{\"add\":{\"ipCommunityIds\":[\"fdywqrqcowken\"]},\"delete\":{\"ipCommunityIds\":[\"ifflx\",\"qnugtcuyuwgnyjdi\",\"jticw\"]},\"set\":{\"ipCommunityIds\":[\"lhibfm\"]}},\"ipExtendedCommunityProperties\":{\"add\":{\"ipExtendedCommunityIds\":[\"tuajkufpvvdgnme\",\"omnobbaibc\",\"bfyqz\"]},\"delete\":{\"ipExtendedCommunityIds\":[\"ofgvmrkmgi\"]},\"set\":{\"ipExtendedCommunityIds\":[\"buhdnhhcmtslptbd\"]}}}") .toObject(StatementActionProperties.class); - Assertions.assertEquals(6893031547362937650L, model.localPreference()); + Assertions.assertEquals(1077601884252668931L, model.localPreference()); Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.actionType()); - Assertions.assertEquals("i", model.ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("ktuqnbcjknrqmznw", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("oyoioxdwffwyzqke", model.ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("ehtekx", model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("nodqqzjbfyrosw", + Assertions.assertEquals("fdywqrqcowken", model.ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("ifflx", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("lhibfm", model.ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("tuajkufpvvdgnme", + model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("ofgvmrkmgi", model.ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("nc", model.ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("buhdnhhcmtslptbd", + model.ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StatementActionProperties model = new StatementActionProperties().withLocalPreference(6893031547362937650L) + StatementActionProperties model = new StatementActionProperties().withLocalPreference(1077601884252668931L) .withActionType(RoutePolicyActionType.PERMIT) .withIpCommunityProperties(new ActionIpCommunityProperties() - .withAdd(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("i", "dkewqwamp", "ldddorzljhnxf", "ffngfpilloirm"))) + .withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("fdywqrqcowken"))) .withDelete( - new IpCommunityIdList().withIpCommunityIds(Arrays.asList("ktuqnbcjknrqmznw", "tk", "ytwiieinl"))) - .withSet(new IpCommunityIdList() - .withIpCommunityIds(Arrays.asList("oyoioxdwffwyzqke", "curr", "uecokyduqzusc")))) + new IpCommunityIdList().withIpCommunityIds(Arrays.asList("ifflx", "qnugtcuyuwgnyjdi", "jticw"))) + .withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList("lhibfm")))) .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties() - .withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds( - Arrays.asList("ehtekx", "vkdvcgowrd", "ddddwzdlbbcztam", "yrkwsthpivocf"))) - .withDelete(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("nodqqzjbfyrosw", "fqd", "wvsxfrwvlypzt"))) - .withSet(new IpExtendedCommunityIdList() - .withIpExtendedCommunityIds(Arrays.asList("nc", "ocl", "epjzaqbods")))); + .withAdd(new IpExtendedCommunityIdList() + .withIpExtendedCommunityIds(Arrays.asList("tuajkufpvvdgnme", "omnobbaibc", "bfyqz"))) + .withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("ofgvmrkmgi"))) + .withSet( + new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList("buhdnhhcmtslptbd")))); model = BinaryData.fromObject(model).toObject(StatementActionProperties.class); - Assertions.assertEquals(6893031547362937650L, model.localPreference()); + Assertions.assertEquals(1077601884252668931L, model.localPreference()); Assertions.assertEquals(RoutePolicyActionType.PERMIT, model.actionType()); - Assertions.assertEquals("i", model.ipCommunityProperties().add().ipCommunityIds().get(0)); - Assertions.assertEquals("ktuqnbcjknrqmznw", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); - Assertions.assertEquals("oyoioxdwffwyzqke", model.ipCommunityProperties().set().ipCommunityIds().get(0)); - Assertions.assertEquals("ehtekx", model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("nodqqzjbfyrosw", + Assertions.assertEquals("fdywqrqcowken", model.ipCommunityProperties().add().ipCommunityIds().get(0)); + Assertions.assertEquals("ifflx", model.ipCommunityProperties().delete().ipCommunityIds().get(0)); + Assertions.assertEquals("lhibfm", model.ipCommunityProperties().set().ipCommunityIds().get(0)); + Assertions.assertEquals("tuajkufpvvdgnme", + model.ipExtendedCommunityProperties().add().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("ofgvmrkmgi", model.ipExtendedCommunityProperties().delete().ipExtendedCommunityIds().get(0)); - Assertions.assertEquals("nc", model.ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); + Assertions.assertEquals("buhdnhhcmtslptbd", + model.ipExtendedCommunityProperties().set().ipExtendedCommunityIds().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPatchPropertiesTests.java index a195a6ea801b8..90549bce2e29d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPatchPropertiesTests.java @@ -14,25 +14,25 @@ public final class StatementConditionPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StatementConditionPatchProperties model = BinaryData.fromString( - "{\"ipCommunityIds\":[\"ricv\"],\"ipExtendedCommunityIds\":[\"enintz\",\"nhyyqxckd\",\"xjpisrdnowinc\"],\"type\":\"And\",\"ipPrefixId\":\"vijnubxfiiytqx\"}") + "{\"ipCommunityIds\":[\"wgpmdmwiwevvesw\",\"hh\"],\"ipExtendedCommunityIds\":[\"hdldarg\",\"wimtcceeeuquu\",\"czzc\",\"jwx\"],\"type\":\"Or\",\"ipPrefixId\":\"rgknhfwlajwda\"}") .toObject(StatementConditionPatchProperties.class); - Assertions.assertEquals("ricv", model.ipCommunityIds().get(0)); - Assertions.assertEquals("enintz", model.ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.type()); - Assertions.assertEquals("vijnubxfiiytqx", model.ipPrefixId()); + Assertions.assertEquals("wgpmdmwiwevvesw", model.ipCommunityIds().get(0)); + Assertions.assertEquals("hdldarg", model.ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.type()); + Assertions.assertEquals("rgknhfwlajwda", model.ipPrefixId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StatementConditionPatchProperties model - = new StatementConditionPatchProperties().withIpCommunityIds(Arrays.asList("ricv")) - .withIpExtendedCommunityIds(Arrays.asList("enintz", "nhyyqxckd", "xjpisrdnowinc")) - .withType(RoutePolicyConditionType.AND) - .withIpPrefixId("vijnubxfiiytqx"); + = new StatementConditionPatchProperties().withIpCommunityIds(Arrays.asList("wgpmdmwiwevvesw", "hh")) + .withIpExtendedCommunityIds(Arrays.asList("hdldarg", "wimtcceeeuquu", "czzc", "jwx")) + .withType(RoutePolicyConditionType.OR) + .withIpPrefixId("rgknhfwlajwda"); model = BinaryData.fromObject(model).toObject(StatementConditionPatchProperties.class); - Assertions.assertEquals("ricv", model.ipCommunityIds().get(0)); - Assertions.assertEquals("enintz", model.ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.AND, model.type()); - Assertions.assertEquals("vijnubxfiiytqx", model.ipPrefixId()); + Assertions.assertEquals("wgpmdmwiwevvesw", model.ipCommunityIds().get(0)); + Assertions.assertEquals("hdldarg", model.ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.OR, model.type()); + Assertions.assertEquals("rgknhfwlajwda", model.ipPrefixId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPropertiesTests.java index c52bfc97a8fee..9470aabfe92d9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StatementConditionPropertiesTests.java @@ -14,25 +14,25 @@ public final class StatementConditionPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StatementConditionProperties model = BinaryData.fromString( - "{\"ipCommunityIds\":[\"lzzietumzenkr\",\"ruesxe\",\"awx\"],\"ipExtendedCommunityIds\":[\"dctjwfebqq\",\"eet\"],\"type\":\"Or\",\"ipPrefixId\":\"lczf\"}") + "{\"ipCommunityIds\":[\"ddvjlpbj\",\"zqjfsk\",\"vaycxrwk\"],\"ipExtendedCommunityIds\":[\"gh\",\"pbrzwi\"],\"type\":\"And\",\"ipPrefixId\":\"yhkecebt\"}") .toObject(StatementConditionProperties.class); - Assertions.assertEquals("lzzietumzenkr", model.ipCommunityIds().get(0)); - Assertions.assertEquals("dctjwfebqq", model.ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, model.type()); - Assertions.assertEquals("lczf", model.ipPrefixId()); + Assertions.assertEquals("ddvjlpbj", model.ipCommunityIds().get(0)); + Assertions.assertEquals("gh", model.ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.AND, model.type()); + Assertions.assertEquals("yhkecebt", model.ipPrefixId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StatementConditionProperties model - = new StatementConditionProperties().withIpCommunityIds(Arrays.asList("lzzietumzenkr", "ruesxe", "awx")) - .withIpExtendedCommunityIds(Arrays.asList("dctjwfebqq", "eet")) - .withType(RoutePolicyConditionType.OR) - .withIpPrefixId("lczf"); + = new StatementConditionProperties().withIpCommunityIds(Arrays.asList("ddvjlpbj", "zqjfsk", "vaycxrwk")) + .withIpExtendedCommunityIds(Arrays.asList("gh", "pbrzwi")) + .withType(RoutePolicyConditionType.AND) + .withIpPrefixId("yhkecebt"); model = BinaryData.fromObject(model).toObject(StatementConditionProperties.class); - Assertions.assertEquals("lzzietumzenkr", model.ipCommunityIds().get(0)); - Assertions.assertEquals("dctjwfebqq", model.ipExtendedCommunityIds().get(0)); - Assertions.assertEquals(RoutePolicyConditionType.OR, model.type()); - Assertions.assertEquals("lczf", model.ipPrefixId()); + Assertions.assertEquals("ddvjlpbj", model.ipCommunityIds().get(0)); + Assertions.assertEquals("gh", model.ipExtendedCommunityIds().get(0)); + Assertions.assertEquals(RoutePolicyConditionType.AND, model.type()); + Assertions.assertEquals("yhkecebt", model.ipPrefixId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteConfigurationTests.java index 56e5774365627..af6b472ad12d3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteConfigurationTests.java @@ -16,42 +16,39 @@ public final class StaticRouteConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StaticRouteConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1445178910,\"multiplier\":760143821},\"ipv4Routes\":[{\"prefix\":\"acwras\",\"nextHop\":[\"wefcvoinw\",\"qartwy\"]},{\"prefix\":\"qicladv\",\"nextHop\":[\"davuqmcbyms\",\"ob\",\"lquvjezcjumvp\",\"imioyo\"]},{\"prefix\":\"glkmiqwnnr\",\"nextHop\":[\"libbf\",\"pspkladydgnhautw\",\"kexzgpmnmabeddqi\"]},{\"prefix\":\"wg\",\"nextHop\":[\"pfqfpc\",\"stcl\"]}],\"ipv6Routes\":[{\"prefix\":\"vwerfwxbsmtb\",\"nextHop\":[\"jehhci\"]},{\"prefix\":\"kwdvbtb\",\"nextHop\":[\"kqhs\",\"htfpwpqb\"]},{\"prefix\":\"ejuwyqwdqigmghgi\",\"nextHop\":[\"txlujkhnjcmr\"]},{\"prefix\":\"kfmkhcqtwmlmhjn\",\"nextHop\":[\"qe\",\"hj\"]}],\"extension\":\"NPB\"}") + "{\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":899553048,\"multiplier\":2011594703},\"ipv4Routes\":[{\"prefix\":\"artwyxqic\",\"nextHop\":[\"dvatdavuqm\",\"bym\",\"fobjlquvjezcj\",\"mvpsimioyo\"]},{\"prefix\":\"glkmiqwnnr\",\"nextHop\":[\"libbf\",\"pspkladydgnhautw\",\"kexzgpmnmabeddqi\"]}],\"ipv6Routes\":[{\"prefix\":\"d\",\"nextHop\":[\"fqfp\",\"vstclg\"]},{\"prefix\":\"rvwerfwxbsmtb\",\"nextHop\":[\"jehhci\"]},{\"prefix\":\"kwdvbtb\",\"nextHop\":[\"kqhs\",\"htfpwpqb\"]}],\"extension\":\"NoExtension\"}") .toObject(StaticRouteConfiguration.class); - Assertions.assertEquals(1445178910, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(760143821, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("acwras", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("wefcvoinw", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("vwerfwxbsmtb", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jehhci", model.ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(Extension.NPB, model.extension()); + Assertions.assertEquals(899553048, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2011594703, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("artwyxqic", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("dvatdavuqm", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("d", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fqfp", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(Extension.NO_EXTENSION, model.extension()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StaticRouteConfiguration model = new StaticRouteConfiguration() .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1445178910).withMultiplier(760143821)) + new BfdConfiguration().withIntervalInMilliSeconds(899553048).withMultiplier(2011594703)) .withIpv4Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("acwras").withNextHop(Arrays.asList("wefcvoinw", "qartwy")), - new StaticRouteProperties().withPrefix("qicladv") - .withNextHop(Arrays.asList("davuqmcbyms", "ob", "lquvjezcjumvp", "imioyo")), + new StaticRouteProperties().withPrefix("artwyxqic") + .withNextHop(Arrays.asList("dvatdavuqm", "bym", "fobjlquvjezcj", "mvpsimioyo")), new StaticRouteProperties().withPrefix("glkmiqwnnr") - .withNextHop(Arrays.asList("libbf", "pspkladydgnhautw", "kexzgpmnmabeddqi")), - new StaticRouteProperties().withPrefix("wg").withNextHop(Arrays.asList("pfqfpc", "stcl")))) - .withIpv6Routes(Arrays.asList( - new StaticRouteProperties().withPrefix("vwerfwxbsmtb").withNextHop(Arrays.asList("jehhci")), - new StaticRouteProperties().withPrefix("kwdvbtb").withNextHop(Arrays.asList("kqhs", "htfpwpqb")), - new StaticRouteProperties().withPrefix("ejuwyqwdqigmghgi").withNextHop(Arrays.asList("txlujkhnjcmr")), - new StaticRouteProperties().withPrefix("kfmkhcqtwmlmhjn").withNextHop(Arrays.asList("qe", "hj")))) - .withExtension(Extension.NPB); + .withNextHop(Arrays.asList("libbf", "pspkladydgnhautw", "kexzgpmnmabeddqi")))) + .withIpv6Routes( + Arrays.asList(new StaticRouteProperties().withPrefix("d").withNextHop(Arrays.asList("fqfp", "vstclg")), + new StaticRouteProperties().withPrefix("rvwerfwxbsmtb").withNextHop(Arrays.asList("jehhci")), + new StaticRouteProperties().withPrefix("kwdvbtb").withNextHop(Arrays.asList("kqhs", "htfpwpqb")))) + .withExtension(Extension.NO_EXTENSION); model = BinaryData.fromObject(model).toObject(StaticRouteConfiguration.class); - Assertions.assertEquals(1445178910, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(760143821, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("acwras", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("wefcvoinw", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("vwerfwxbsmtb", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("jehhci", model.ipv6Routes().get(0).nextHop().get(0)); - Assertions.assertEquals(Extension.NPB, model.extension()); + Assertions.assertEquals(899553048, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(2011594703, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("artwyxqic", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("dvatdavuqm", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("d", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("fqfp", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(Extension.NO_EXTENSION, model.extension()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchConfigurationTests.java index 64aa540672f87..097cbbe0ba86d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchConfigurationTests.java @@ -15,42 +15,34 @@ public final class StaticRoutePatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StaticRoutePatchConfiguration model = BinaryData.fromString( - "{\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":80001822,\"multiplier\":1414466268},\"ipv4Routes\":[{\"prefix\":\"zrlrmlccmetjs\",\"nextHop\":[\"ivfqbqnasdsy\",\"nzsieuscplh\",\"vdgxly\",\"kxitds\"]},{\"prefix\":\"ezsvkolrupjov\",\"nextHop\":[\"zsayebrazw\",\"lpzbtzuykykipf\"]},{\"prefix\":\"dyepfno\",\"nextHop\":[\"bezacfpztga\",\"wyqejgaao\",\"ctgkppgkqzkcyzmf\"]}],\"ipv6Routes\":[{\"prefix\":\"dyfcix\",\"nextHop\":[\"lcqvhoejgoiutgw\",\"mkahpqha\"]},{\"prefix\":\"yntacihnco\",\"nextHop\":[\"ipnmliqmv\"]},{\"prefix\":\"bhikeaqgr\",\"nextHop\":[\"pomxpu\",\"dtsdfjy\"]},{\"prefix\":\"esocwiqbuou\",\"nextHop\":[\"py\",\"gleofjsbgbw\"]}]}") + "{\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1415206740,\"multiplier\":1490746293},\"ipv4Routes\":[{\"prefix\":\"xrhlcqvhoejgo\",\"nextHop\":[\"tgwrmkahpqha\",\"yntacihnco\",\"mip\",\"mliqmvlb\"]},{\"prefix\":\"i\",\"nextHop\":[\"aqgrv\",\"pomxpu\",\"dtsdfjy\",\"esocwiqbuou\"]}],\"ipv6Routes\":[{\"prefix\":\"yzgleofjs\",\"nextHop\":[\"bwwzvdajf\"]}]}") .toObject(StaticRoutePatchConfiguration.class); - Assertions.assertEquals(80001822, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1414466268, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("zrlrmlccmetjs", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("ivfqbqnasdsy", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("dyfcix", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("lcqvhoejgoiutgw", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(1415206740, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1490746293, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("xrhlcqvhoejgo", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("tgwrmkahpqha", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("yzgleofjs", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("bwwzvdajf", model.ipv6Routes().get(0).nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StaticRoutePatchConfiguration model = new StaticRoutePatchConfiguration() .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(80001822).withMultiplier(1414466268)) + new BfdPatchConfiguration().withIntervalInMilliSeconds(1415206740).withMultiplier(1490746293)) .withIpv4Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("zrlrmlccmetjs") - .withNextHop(Arrays.asList("ivfqbqnasdsy", "nzsieuscplh", "vdgxly", "kxitds")), - new StaticRoutePatchProperties().withPrefix("ezsvkolrupjov") - .withNextHop(Arrays.asList("zsayebrazw", "lpzbtzuykykipf")), - new StaticRoutePatchProperties().withPrefix("dyepfno") - .withNextHop(Arrays.asList("bezacfpztga", "wyqejgaao", "ctgkppgkqzkcyzmf")))) + new StaticRoutePatchProperties().withPrefix("xrhlcqvhoejgo") + .withNextHop(Arrays.asList("tgwrmkahpqha", "yntacihnco", "mip", "mliqmvlb")), + new StaticRoutePatchProperties().withPrefix("i") + .withNextHop(Arrays.asList("aqgrv", "pomxpu", "dtsdfjy", "esocwiqbuou")))) .withIpv6Routes(Arrays.asList( - new StaticRoutePatchProperties().withPrefix("dyfcix") - .withNextHop(Arrays.asList("lcqvhoejgoiutgw", "mkahpqha")), - new StaticRoutePatchProperties().withPrefix("yntacihnco").withNextHop(Arrays.asList("ipnmliqmv")), - new StaticRoutePatchProperties().withPrefix("bhikeaqgr") - .withNextHop(Arrays.asList("pomxpu", "dtsdfjy")), - new StaticRoutePatchProperties().withPrefix("esocwiqbuou") - .withNextHop(Arrays.asList("py", "gleofjsbgbw")))); + new StaticRoutePatchProperties().withPrefix("yzgleofjs").withNextHop(Arrays.asList("bwwzvdajf")))); model = BinaryData.fromObject(model).toObject(StaticRoutePatchConfiguration.class); - Assertions.assertEquals(80001822, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1414466268, model.bfdConfiguration().multiplier()); - Assertions.assertEquals("zrlrmlccmetjs", model.ipv4Routes().get(0).prefix()); - Assertions.assertEquals("ivfqbqnasdsy", model.ipv4Routes().get(0).nextHop().get(0)); - Assertions.assertEquals("dyfcix", model.ipv6Routes().get(0).prefix()); - Assertions.assertEquals("lcqvhoejgoiutgw", model.ipv6Routes().get(0).nextHop().get(0)); + Assertions.assertEquals(1415206740, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1490746293, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("xrhlcqvhoejgo", model.ipv4Routes().get(0).prefix()); + Assertions.assertEquals("tgwrmkahpqha", model.ipv4Routes().get(0).nextHop().get(0)); + Assertions.assertEquals("yzgleofjs", model.ipv6Routes().get(0).prefix()); + Assertions.assertEquals("bwwzvdajf", model.ipv6Routes().get(0).nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchPropertiesTests.java index 5440b16ae7b36..72e3afb426d12 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePatchPropertiesTests.java @@ -12,19 +12,20 @@ public final class StaticRoutePatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - StaticRoutePatchProperties model - = BinaryData.fromString("{\"prefix\":\"zvdajfwnncf\",\"nextHop\":[\"ciqgjjrlhiqlwixv\"]}") - .toObject(StaticRoutePatchProperties.class); - Assertions.assertEquals("zvdajfwnncf", model.prefix()); - Assertions.assertEquals("ciqgjjrlhiqlwixv", model.nextHop().get(0)); + StaticRoutePatchProperties model = BinaryData + .fromString( + "{\"prefix\":\"nncfmaciqgjjrlhi\",\"nextHop\":[\"wixvtbouguxtndop\",\"jtt\",\"asualapdlndbea\"]}") + .toObject(StaticRoutePatchProperties.class); + Assertions.assertEquals("nncfmaciqgjjrlhi", model.prefix()); + Assertions.assertEquals("wixvtbouguxtndop", model.nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StaticRoutePatchProperties model - = new StaticRoutePatchProperties().withPrefix("zvdajfwnncf").withNextHop(Arrays.asList("ciqgjjrlhiqlwixv")); + StaticRoutePatchProperties model = new StaticRoutePatchProperties().withPrefix("nncfmaciqgjjrlhi") + .withNextHop(Arrays.asList("wixvtbouguxtndop", "jtt", "asualapdlndbea")); model = BinaryData.fromObject(model).toObject(StaticRoutePatchProperties.class); - Assertions.assertEquals("zvdajfwnncf", model.prefix()); - Assertions.assertEquals("ciqgjjrlhiqlwixv", model.nextHop().get(0)); + Assertions.assertEquals("nncfmaciqgjjrlhi", model.prefix()); + Assertions.assertEquals("wixvtbouguxtndop", model.nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePropertiesTests.java index 95507877d1560..45e51ab379625 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRoutePropertiesTests.java @@ -13,18 +13,18 @@ public final class StaticRoutePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StaticRouteProperties model - = BinaryData.fromString("{\"prefix\":\"r\",\"nextHop\":[\"pok\",\"dxe\",\"hhkvguavtptbk\",\"wkqyns\"]}") + = BinaryData.fromString("{\"prefix\":\"uwyqwdq\",\"nextHop\":[\"mghg\",\"nztxlujkh\",\"jcmrnkfm\",\"h\"]}") .toObject(StaticRouteProperties.class); - Assertions.assertEquals("r", model.prefix()); - Assertions.assertEquals("pok", model.nextHop().get(0)); + Assertions.assertEquals("uwyqwdq", model.prefix()); + Assertions.assertEquals("mghg", model.nextHop().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StaticRouteProperties model = new StaticRouteProperties().withPrefix("r") - .withNextHop(Arrays.asList("pok", "dxe", "hhkvguavtptbk", "wkqyns")); + StaticRouteProperties model = new StaticRouteProperties().withPrefix("uwyqwdq") + .withNextHop(Arrays.asList("mghg", "nztxlujkh", "jcmrnkfm", "h")); model = BinaryData.fromObject(model).toObject(StaticRouteProperties.class); - Assertions.assertEquals("r", model.prefix()); - Assertions.assertEquals("pok", model.nextHop().get(0)); + Assertions.assertEquals("uwyqwdq", model.prefix()); + Assertions.assertEquals("mghg", model.nextHop().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyPatchTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyPatchTests.java index daa2f705e7f6e..ad9a316afc1e3 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyPatchTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyPatchTests.java @@ -12,20 +12,20 @@ public final class StaticRouteRoutePolicyPatchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - StaticRouteRoutePolicyPatch model = BinaryData.fromString( - "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"hsidsjtdlpbnin\",\"exportIpv6RoutePolicyId\":\"azlsvbzfcpuo\"}}") + StaticRouteRoutePolicyPatch model = BinaryData + .fromString( + "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"dkwwn\",\"exportIpv6RoutePolicyId\":\"foct\"}}") .toObject(StaticRouteRoutePolicyPatch.class); - Assertions.assertEquals("hsidsjtdlpbnin", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("azlsvbzfcpuo", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("dkwwn", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("foct", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StaticRouteRoutePolicyPatch model = new StaticRouteRoutePolicyPatch() - .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("hsidsjtdlpbnin") - .withExportIpv6RoutePolicyId("azlsvbzfcpuo")); + StaticRouteRoutePolicyPatch model = new StaticRouteRoutePolicyPatch().withExportRoutePolicy( + new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId("dkwwn").withExportIpv6RoutePolicyId("foct")); model = BinaryData.fromObject(model).toObject(StaticRouteRoutePolicyPatch.class); - Assertions.assertEquals("hsidsjtdlpbnin", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("azlsvbzfcpuo", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("dkwwn", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("foct", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyTests.java index 1e82f20e8db82..cf86cf0532720 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StaticRouteRoutePolicyTests.java @@ -12,20 +12,20 @@ public final class StaticRouteRoutePolicyTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - StaticRouteRoutePolicy model = BinaryData - .fromString( - "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"uim\",\"exportIpv6RoutePolicyId\":\"wxs\"}}") + StaticRouteRoutePolicy model = BinaryData.fromString( + "{\"exportRoutePolicy\":{\"exportIpv4RoutePolicyId\":\"xezppk\",\"exportIpv6RoutePolicyId\":\"aaeskyfjlpze\"}}") .toObject(StaticRouteRoutePolicy.class); - Assertions.assertEquals("uim", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("wxs", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("xezppk", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("aaeskyfjlpze", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StaticRouteRoutePolicy model = new StaticRouteRoutePolicy().withExportRoutePolicy( - new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("uim").withExportIpv6RoutePolicyId("wxs")); + StaticRouteRoutePolicy model = new StaticRouteRoutePolicy() + .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId("xezppk") + .withExportIpv6RoutePolicyId("aaeskyfjlpze")); model = BinaryData.fromObject(model).toObject(StaticRouteRoutePolicy.class); - Assertions.assertEquals("uim", model.exportRoutePolicy().exportIpv4RoutePolicyId()); - Assertions.assertEquals("wxs", model.exportRoutePolicy().exportIpv6RoutePolicyId()); + Assertions.assertEquals("xezppk", model.exportRoutePolicy().exportIpv4RoutePolicyId()); + Assertions.assertEquals("aaeskyfjlpze", model.exportRoutePolicy().exportIpv6RoutePolicyId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPatchPropertiesTests.java index c971b569d3ba2..e91429b6396ed 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPatchPropertiesTests.java @@ -12,22 +12,22 @@ public final class StationConnectionPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StationConnectionPatchProperties model = BinaryData - .fromString("{\"keepaliveIdleTime\":1371323388,\"probeInterval\":1290231034,\"probeCount\":1209125322}") + .fromString("{\"keepaliveIdleTime\":1643657856,\"probeInterval\":1082412505,\"probeCount\":633707901}") .toObject(StationConnectionPatchProperties.class); - Assertions.assertEquals(1371323388, model.keepaliveIdleTime()); - Assertions.assertEquals(1290231034, model.probeInterval()); - Assertions.assertEquals(1209125322, model.probeCount()); + Assertions.assertEquals(1643657856, model.keepaliveIdleTime()); + Assertions.assertEquals(1082412505, model.probeInterval()); + Assertions.assertEquals(633707901, model.probeCount()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StationConnectionPatchProperties model - = new StationConnectionPatchProperties().withKeepaliveIdleTime(1371323388) - .withProbeInterval(1290231034) - .withProbeCount(1209125322); + = new StationConnectionPatchProperties().withKeepaliveIdleTime(1643657856) + .withProbeInterval(1082412505) + .withProbeCount(633707901); model = BinaryData.fromObject(model).toObject(StationConnectionPatchProperties.class); - Assertions.assertEquals(1371323388, model.keepaliveIdleTime()); - Assertions.assertEquals(1290231034, model.probeInterval()); - Assertions.assertEquals(1209125322, model.probeCount()); + Assertions.assertEquals(1643657856, model.keepaliveIdleTime()); + Assertions.assertEquals(1082412505, model.probeInterval()); + Assertions.assertEquals(633707901, model.probeCount()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPropertiesTests.java index 7c24bb1023ee0..29e354ab7140d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StationConnectionPropertiesTests.java @@ -12,21 +12,21 @@ public final class StationConnectionPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StationConnectionProperties model = BinaryData - .fromString("{\"keepaliveIdleTime\":1757090605,\"probeInterval\":769762169,\"probeCount\":1892888275}") + .fromString("{\"keepaliveIdleTime\":1074907547,\"probeInterval\":1990870573,\"probeCount\":959698517}") .toObject(StationConnectionProperties.class); - Assertions.assertEquals(1757090605, model.keepaliveIdleTime()); - Assertions.assertEquals(769762169, model.probeInterval()); - Assertions.assertEquals(1892888275, model.probeCount()); + Assertions.assertEquals(1074907547, model.keepaliveIdleTime()); + Assertions.assertEquals(1990870573, model.probeInterval()); + Assertions.assertEquals(959698517, model.probeCount()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StationConnectionProperties model = new StationConnectionProperties().withKeepaliveIdleTime(1757090605) - .withProbeInterval(769762169) - .withProbeCount(1892888275); + StationConnectionProperties model = new StationConnectionProperties().withKeepaliveIdleTime(1074907547) + .withProbeInterval(1990870573) + .withProbeCount(959698517); model = BinaryData.fromObject(model).toObject(StationConnectionProperties.class); - Assertions.assertEquals(1757090605, model.keepaliveIdleTime()); - Assertions.assertEquals(769762169, model.probeInterval()); - Assertions.assertEquals(1892888275, model.probeCount()); + Assertions.assertEquals(1074907547, model.keepaliveIdleTime()); + Assertions.assertEquals(1990870573, model.probeInterval()); + Assertions.assertEquals(959698517, model.probeCount()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountConfigurationTests.java index 917a931ffcd67..13054bcf6c6bb 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountConfigurationTests.java @@ -14,24 +14,24 @@ public final class StorageAccountConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StorageAccountConfiguration model = BinaryData.fromString( - "{\"storageAccountId\":\"xclfrs\",\"storageAccountIdentity\":{\"identityType\":\"UserAssignedIdentity\",\"userAssignedIdentityResourceId\":\"muvwvp\"}}") + "{\"storageAccountId\":\"vsnvbtqdxfmj\",\"storageAccountIdentity\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"hjluqllbsupubdx\"}}") .toObject(StorageAccountConfiguration.class); - Assertions.assertEquals("xclfrs", model.storageAccountId()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + Assertions.assertEquals("vsnvbtqdxfmj", model.storageAccountId()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.storageAccountIdentity().identityType()); - Assertions.assertEquals("muvwvp", model.storageAccountIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("hjluqllbsupubdx", model.storageAccountIdentity().userAssignedIdentityResourceId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StorageAccountConfiguration model = new StorageAccountConfiguration().withStorageAccountId("xclfrs") + StorageAccountConfiguration model = new StorageAccountConfiguration().withStorageAccountId("vsnvbtqdxfmj") .withStorageAccountIdentity( - new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("muvwvp")); + new IdentitySelector().withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("hjluqllbsupubdx")); model = BinaryData.fromObject(model).toObject(StorageAccountConfiguration.class); - Assertions.assertEquals("xclfrs", model.storageAccountId()); - Assertions.assertEquals(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY, + Assertions.assertEquals("vsnvbtqdxfmj", model.storageAccountId()); + Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.storageAccountIdentity().identityType()); - Assertions.assertEquals("muvwvp", model.storageAccountIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("hjluqllbsupubdx", model.storageAccountIdentity().userAssignedIdentityResourceId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountPatchConfigurationTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountPatchConfigurationTests.java index 6261242100b06..ed662baedd9c0 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountPatchConfigurationTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/StorageAccountPatchConfigurationTests.java @@ -14,24 +14,25 @@ public final class StorageAccountPatchConfigurationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StorageAccountPatchConfiguration model = BinaryData.fromString( - "{\"storageAccountId\":\"ev\",\"storageAccountIdentity\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"pfhga\"}}") + "{\"storageAccountId\":\"fgnyscaccpt\",\"storageAccountIdentity\":{\"identityType\":\"SystemAssignedIdentity\",\"userAssignedIdentityResourceId\":\"y\"}}") .toObject(StorageAccountPatchConfiguration.class); - Assertions.assertEquals("ev", model.storageAccountId()); + Assertions.assertEquals("fgnyscaccpt", model.storageAccountId()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.storageAccountIdentity().identityType()); - Assertions.assertEquals("pfhga", model.storageAccountIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("y", model.storageAccountIdentity().userAssignedIdentityResourceId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - StorageAccountPatchConfiguration model = new StorageAccountPatchConfiguration().withStorageAccountId("ev") - .withStorageAccountIdentity(new IdentitySelectorPatch() - .withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) - .withUserAssignedIdentityResourceId("pfhga")); + StorageAccountPatchConfiguration model + = new StorageAccountPatchConfiguration().withStorageAccountId("fgnyscaccpt") + .withStorageAccountIdentity(new IdentitySelectorPatch() + .withIdentityType(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY) + .withUserAssignedIdentityResourceId("y")); model = BinaryData.fromObject(model).toObject(StorageAccountPatchConfiguration.class); - Assertions.assertEquals("ev", model.storageAccountId()); + Assertions.assertEquals("fgnyscaccpt", model.storageAccountId()); Assertions.assertEquals(ManagedServiceIdentitySelectorType.SYSTEM_ASSIGNED_IDENTITY, model.storageAccountIdentity().identityType()); - Assertions.assertEquals("pfhga", model.storageAccountIdentity().userAssignedIdentityResourceId()); + Assertions.assertEquals("y", model.storageAccountIdentity().userAssignedIdentityResourceId()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedConnectorPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedConnectorPropertiesTests.java index 94357fd083140..f3fe47e5940b1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedConnectorPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedConnectorPropertiesTests.java @@ -12,9 +12,9 @@ public final class SupportedConnectorPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { SupportedConnectorProperties model - = BinaryData.fromString("{\"connectorType\":\"bgzancoinmphymcq\",\"maxSpeedInMbps\":978970547}") + = BinaryData.fromString("{\"connectorType\":\"gndj\",\"maxSpeedInMbps\":1307301482}") .toObject(SupportedConnectorProperties.class); - Assertions.assertEquals("bgzancoinmphymcq", model.connectorType()); - Assertions.assertEquals(978970547, model.maxSpeedInMbps()); + Assertions.assertEquals("gndj", model.connectorType()); + Assertions.assertEquals(1307301482, model.maxSpeedInMbps()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedVersionPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedVersionPropertiesTests.java index ada6dd71609ad..39c25ad80910c 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedVersionPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/SupportedVersionPropertiesTests.java @@ -13,11 +13,11 @@ public final class SupportedVersionPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { SupportedVersionProperties model = BinaryData.fromString( - "{\"version\":\"aklwzlwee\",\"vendorOsVersion\":\"nejzltkaszfjsxs\",\"vendorFirmwareVersion\":\"dux\",\"isDefault\":\"False\"}") + "{\"version\":\"mvcdsvmwbitek\",\"vendorOsVersion\":\"fobvfiybxqich\",\"vendorFirmwareVersion\":\"bfzdqekiv\",\"isDefault\":\"True\"}") .toObject(SupportedVersionProperties.class); - Assertions.assertEquals("aklwzlwee", model.version()); - Assertions.assertEquals("nejzltkaszfjsxs", model.vendorOsVersion()); - Assertions.assertEquals("dux", model.vendorFirmwareVersion()); - Assertions.assertEquals(BooleanEnumProperty.FALSE, model.isDefault()); + Assertions.assertEquals("mvcdsvmwbitek", model.version()); + Assertions.assertEquals("fobvfiybxqich", model.vendorOsVersion()); + Assertions.assertEquals("bfzdqekiv", model.vendorFirmwareVersion()); + Assertions.assertEquals(BooleanEnumProperty.TRUE, model.isDefault()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPatchPropertiesTests.java index de4a1d6222c20..1c832b625953e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPatchPropertiesTests.java @@ -15,10 +15,9 @@ public final class UniqueRouteDistinguisherPatchPropertiesTests { public void testDeserialize() throws Exception { UniqueRouteDistinguisherPatchProperties model = BinaryData .fromString( - "{\"uniqueRdConfigurationState\":\"Disabled\",\"nniDerivedUniqueRdConfigurationState\":\"Disabled\"}") + "{\"uniqueRdConfigurationState\":\"Enabled\",\"nniDerivedUniqueRdConfigurationState\":\"Disabled\"}") .toObject(UniqueRouteDistinguisherPatchProperties.class); - Assertions.assertEquals(UniqueRouteDistinguisherConfigurationState.DISABLED, - model.uniqueRdConfigurationState()); + Assertions.assertEquals(UniqueRouteDistinguisherConfigurationState.ENABLED, model.uniqueRdConfigurationState()); Assertions.assertEquals(NNIDerivedUniqueRouteDistinguisherConfigurationState.DISABLED, model.nniDerivedUniqueRdConfigurationState()); } @@ -26,11 +25,10 @@ public void testDeserialize() throws Exception { @org.junit.jupiter.api.Test public void testSerialize() throws Exception { UniqueRouteDistinguisherPatchProperties model = new UniqueRouteDistinguisherPatchProperties() - .withUniqueRdConfigurationState(UniqueRouteDistinguisherConfigurationState.DISABLED) + .withUniqueRdConfigurationState(UniqueRouteDistinguisherConfigurationState.ENABLED) .withNniDerivedUniqueRdConfigurationState(NNIDerivedUniqueRouteDistinguisherConfigurationState.DISABLED); model = BinaryData.fromObject(model).toObject(UniqueRouteDistinguisherPatchProperties.class); - Assertions.assertEquals(UniqueRouteDistinguisherConfigurationState.DISABLED, - model.uniqueRdConfigurationState()); + Assertions.assertEquals(UniqueRouteDistinguisherConfigurationState.ENABLED, model.uniqueRdConfigurationState()); Assertions.assertEquals(NNIDerivedUniqueRouteDistinguisherConfigurationState.DISABLED, model.nniDerivedUniqueRdConfigurationState()); } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPropertiesTests.java index a3e41a1b01e04..22fb338a67c0d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UniqueRouteDistinguisherPropertiesTests.java @@ -14,7 +14,7 @@ public final class UniqueRouteDistinguisherPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UniqueRouteDistinguisherProperties model = BinaryData.fromString( - "{\"uniqueRdConfigurationState\":\"Disabled\",\"uniqueRds\":[\"kwonrzpghl\",\"dtbgblxbuib\",\"vjztaflvsmfj\"],\"nniDerivedUniqueRdConfigurationState\":\"Disabled\"}") + "{\"uniqueRdConfigurationState\":\"Disabled\",\"uniqueRds\":[\"xhifpps\",\"peswyhhmifjuajx\",\"wvcmmpeglyuq\",\"cmlae\"],\"nniDerivedUniqueRdConfigurationState\":\"Disabled\"}") .toObject(UniqueRouteDistinguisherProperties.class); Assertions.assertEquals(UniqueRouteDistinguisherConfigurationState.DISABLED, model.uniqueRdConfigurationState()); diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateDeviceAdministrativeStateTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateDeviceAdministrativeStateTests.java index 9641342ee4ee6..3c20456ebd42a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateDeviceAdministrativeStateTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateDeviceAdministrativeStateTests.java @@ -13,20 +13,20 @@ public final class UpdateDeviceAdministrativeStateTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UpdateDeviceAdministrativeState model = BinaryData.fromString( - "{\"state\":\"Quarantine\",\"resourceIds\":[\"u\",\"qkotauratn\",\"cppfzsclefyrle\",\"ndqlmfdggnbbuy\"]}") + UpdateDeviceAdministrativeState model = BinaryData + .fromString("{\"state\":\"Resync\",\"resourceIds\":[\"whhnoyrzaa\",\"ee\",\"pmjen\",\"jeatea\"]}") .toObject(UpdateDeviceAdministrativeState.class); - Assertions.assertEquals("u", model.resourceIds().get(0)); - Assertions.assertEquals(DeviceAdministrativeState.QUARANTINE, model.state()); + Assertions.assertEquals("whhnoyrzaa", model.resourceIds().get(0)); + Assertions.assertEquals(DeviceAdministrativeState.RESYNC, model.state()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { UpdateDeviceAdministrativeState model = new UpdateDeviceAdministrativeState() - .withResourceIds(Arrays.asList("u", "qkotauratn", "cppfzsclefyrle", "ndqlmfdggnbbuy")) - .withState(DeviceAdministrativeState.QUARANTINE); + .withResourceIds(Arrays.asList("whhnoyrzaa", "ee", "pmjen", "jeatea")) + .withState(DeviceAdministrativeState.RESYNC); model = BinaryData.fromObject(model).toObject(UpdateDeviceAdministrativeState.class); - Assertions.assertEquals("u", model.resourceIds().get(0)); - Assertions.assertEquals(DeviceAdministrativeState.QUARANTINE, model.state()); + Assertions.assertEquals("whhnoyrzaa", model.resourceIds().get(0)); + Assertions.assertEquals(DeviceAdministrativeState.RESYNC, model.state()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateVersionTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateVersionTests.java index 6dd0babce19a7..304771a306979 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateVersionTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpdateVersionTests.java @@ -11,14 +11,14 @@ public final class UpdateVersionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UpdateVersion model = BinaryData.fromString("{\"version\":\"pulnrfcqufmcihp\"}").toObject(UpdateVersion.class); - Assertions.assertEquals("pulnrfcqufmcihp", model.version()); + UpdateVersion model = BinaryData.fromString("{\"version\":\"abqcamal\"}").toObject(UpdateVersion.class); + Assertions.assertEquals("abqcamal", model.version()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - UpdateVersion model = new UpdateVersion().withVersion("pulnrfcqufmcihp"); + UpdateVersion model = new UpdateVersion().withVersion("abqcamal"); model = BinaryData.fromObject(model).toObject(UpdateVersion.class); - Assertions.assertEquals("pulnrfcqufmcihp", model.version()); + Assertions.assertEquals("abqcamal", model.version()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeNetworkFabricPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeNetworkFabricPropertiesTests.java index 50ef816bab754..04d22be43a003 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeNetworkFabricPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeNetworkFabricPropertiesTests.java @@ -12,18 +12,19 @@ public final class UpgradeNetworkFabricPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UpgradeNetworkFabricProperties model = BinaryData.fromString("{\"action\":\"Start\",\"version\":\"lwkyeahhh\"}") - .toObject(UpgradeNetworkFabricProperties.class); - Assertions.assertEquals("lwkyeahhh", model.version()); - Assertions.assertEquals(NetworkFabricUpgradeAction.START, model.action()); + UpgradeNetworkFabricProperties model + = BinaryData.fromString("{\"action\":\"Complete\",\"version\":\"wmehfxrttxbmsenn\"}") + .toObject(UpgradeNetworkFabricProperties.class); + Assertions.assertEquals("wmehfxrttxbmsenn", model.version()); + Assertions.assertEquals(NetworkFabricUpgradeAction.COMPLETE, model.action()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - UpgradeNetworkFabricProperties model = new UpgradeNetworkFabricProperties().withVersion("lwkyeahhh") - .withAction(NetworkFabricUpgradeAction.START); + UpgradeNetworkFabricProperties model = new UpgradeNetworkFabricProperties().withVersion("wmehfxrttxbmsenn") + .withAction(NetworkFabricUpgradeAction.COMPLETE); model = BinaryData.fromObject(model).toObject(UpgradeNetworkFabricProperties.class); - Assertions.assertEquals("lwkyeahhh", model.version()); - Assertions.assertEquals(NetworkFabricUpgradeAction.START, model.action()); + Assertions.assertEquals("wmehfxrttxbmsenn", model.version()); + Assertions.assertEquals(NetworkFabricUpgradeAction.COMPLETE, model.action()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesPatchPropertiesTests.java new file mode 100644 index 0000000000000..702ba66446db8 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesPatchPropertiesTests.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfilePatchProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfilePropertiesPatchProperties; +import org.junit.jupiter.api.Assertions; + +public final class UpgradeProfilePropertiesPatchPropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + UpgradeProfilePropertiesPatchProperties model = BinaryData.fromString( + "{\"preUpgradeProfile\":{\"maxEnteringMaintenanceTimeoutInSeconds\":1411959041},\"postUpgradeProfile\":{\"maxExitingMaintenanceTimeoutInSeconds\":1781608403,\"mlagReloadDelayTimeoutInSeconds\":900975821}}") + .toObject(UpgradeProfilePropertiesPatchProperties.class); + Assertions.assertEquals(1411959041, model.preUpgradeProfile().maxEnteringMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(1781608403, model.postUpgradeProfile().maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(900975821, model.postUpgradeProfile().mlagReloadDelayTimeoutInSeconds()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + UpgradeProfilePropertiesPatchProperties model = new UpgradeProfilePropertiesPatchProperties() + .withPreUpgradeProfile( + new PreUpgradeProfilePatchProperties().withMaxEnteringMaintenanceTimeoutInSeconds(1411959041)) + .withPostUpgradeProfile( + new PostUpgradeProfilePatchProperties().withMaxExitingMaintenanceTimeoutInSeconds(1781608403) + .withMlagReloadDelayTimeoutInSeconds(900975821)); + model = BinaryData.fromObject(model).toObject(UpgradeProfilePropertiesPatchProperties.class); + Assertions.assertEquals(1411959041, model.preUpgradeProfile().maxEnteringMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(1781608403, model.postUpgradeProfile().maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(900975821, model.postUpgradeProfile().mlagReloadDelayTimeoutInSeconds()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesTests.java new file mode 100644 index 0000000000000..41e9e7916ae81 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UpgradeProfilePropertiesTests.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfileProperties; +import com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties; +import com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties; +import org.junit.jupiter.api.Assertions; + +public final class UpgradeProfilePropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + UpgradeProfileProperties model = BinaryData.fromString( + "{\"preUpgradeProfile\":{\"maxEnteringMaintenanceTimeoutInSeconds\":1501466100},\"postUpgradeProfile\":{\"maxExitingMaintenanceTimeoutInSeconds\":1712413742,\"mlagReloadDelayTimeoutInSeconds\":566467567}}") + .toObject(UpgradeProfileProperties.class); + Assertions.assertEquals(1501466100, model.preUpgradeProfile().maxEnteringMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(1712413742, model.postUpgradeProfile().maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(566467567, model.postUpgradeProfile().mlagReloadDelayTimeoutInSeconds()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + UpgradeProfileProperties model = new UpgradeProfileProperties() + .withPreUpgradeProfile( + new PreUpgradeProfileProperties().withMaxEnteringMaintenanceTimeoutInSeconds(1501466100)) + .withPostUpgradeProfile( + new PostUpgradeProfileProperties().withMaxExitingMaintenanceTimeoutInSeconds(1712413742) + .withMlagReloadDelayTimeoutInSeconds(566467567)); + model = BinaryData.fromObject(model).toObject(UpgradeProfileProperties.class); + Assertions.assertEquals(1501466100, model.preUpgradeProfile().maxEnteringMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(1712413742, model.postUpgradeProfile().maxExitingMaintenanceTimeoutInSeconds()); + Assertions.assertEquals(566467567, model.postUpgradeProfile().mlagReloadDelayTimeoutInSeconds()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UserAssignedIdentityTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UserAssignedIdentityTests.java index c639d6120b1fa..02ac7aaad5fe7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UserAssignedIdentityTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/UserAssignedIdentityTests.java @@ -10,8 +10,9 @@ public final class UserAssignedIdentityTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UserAssignedIdentity model = BinaryData.fromString("{\"principalId\":\"xvucnul\",\"clientId\":\"nhj\"}") - .toObject(UserAssignedIdentity.class); + UserAssignedIdentity model + = BinaryData.fromString("{\"principalId\":\"ulweucyrth\",\"clientId\":\"lehmcgcjeinueho\"}") + .toObject(UserAssignedIdentity.class); } @org.junit.jupiter.api.Test diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ValidateConfigurationResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ValidateConfigurationResponsePropertiesTests.java new file mode 100644 index 0000000000000..13ec966a8e584 --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ValidateConfigurationResponsePropertiesTests.java @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseProperties; +import org.junit.jupiter.api.Assertions; + +public final class ValidateConfigurationResponsePropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + ValidateConfigurationResponseProperties model + = BinaryData.fromString("{\"configurationState\":\"Deprovisioning\",\"url\":\"hqosmf\"}") + .toObject(ValidateConfigurationResponseProperties.class); + Assertions.assertEquals("hqosmf", model.url()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ViewDeviceConfigurationResponsePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ViewDeviceConfigurationResponsePropertiesTests.java index b32c29a879810..2290c8fdbcfb2 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ViewDeviceConfigurationResponsePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/ViewDeviceConfigurationResponsePropertiesTests.java @@ -11,9 +11,8 @@ public final class ViewDeviceConfigurationResponsePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ViewDeviceConfigurationResponseProperties model - = BinaryData.fromString("{\"deviceConfigurationUrl\":\"fgdkwbk\"}") - .toObject(ViewDeviceConfigurationResponseProperties.class); - Assertions.assertEquals("fgdkwbk", model.deviceConfigurationUrl()); + ViewDeviceConfigurationResponseProperties model = BinaryData.fromString("{\"deviceConfigurationUrl\":\"poil\"}") + .toObject(ViewDeviceConfigurationResponseProperties.class); + Assertions.assertEquals("poil", model.deviceConfigurationUrl()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VmProfileTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VmProfileTests.java new file mode 100644 index 0000000000000..75d9c274c565a --- /dev/null +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VmProfileTests.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.managednetworkfabric.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.managednetworkfabric.models.VmProfile; +import org.junit.jupiter.api.Assertions; + +public final class VmProfileTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + VmProfile model = BinaryData.fromString("{\"vmSkuName\":\"vnoqayrehju\"}").toObject(VmProfile.class); + Assertions.assertEquals("vnoqayrehju", model.vmSkuName()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + VmProfile model = new VmProfile().withVmSkuName("vnoqayrehju"); + model = BinaryData.fromObject(model).toObject(VmProfile.class); + Assertions.assertEquals("vnoqayrehju", model.vmSkuName()); + } +} diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPatchablePropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPatchablePropertiesTests.java index 210ceff38046f..2cc7060ac26d1 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPatchablePropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPatchablePropertiesTests.java @@ -18,70 +18,67 @@ public final class VpnConfigurationPatchablePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { VpnConfigurationPatchableProperties model = BinaryData.fromString( - "{\"networkToNetworkInterconnectId\":\"inuwqxungrob\",\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"jwdylwxmvzjowz\",\"geerclbl\",\"bhpwachyeur\",\"wmvwryvdi\"],\"exportRouteTargets\":[\"ikgpruccwmec\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"ytrtexegwmrq\"],\"importIpv6RouteTargets\":[\"iwh\"],\"exportIpv4RouteTargets\":[\"fjncindil\",\"q\"],\"exportIpv6RouteTargets\":[\"wjuriarsbclla\",\"hzcknjxiz\",\"axdy\"]}},\"optionAProperties\":{\"mtu\":1892524501,\"vlanId\":1973773763,\"peerASN\":260997198315572861,\"bfdConfiguration\":{\"administrativeState\":\"Disabled\",\"intervalInMilliSeconds\":1459580016,\"multiplier\":1917437594},\"primaryIpv4Prefix\":\"x\",\"primaryIpv6Prefix\":\"dndzkf\",\"secondaryIpv4Prefix\":\"uiiu\",\"secondaryIpv6Prefix\":\"b\"}}") + "{\"networkToNetworkInterconnectId\":\"mkgfmxpqkjnp\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"ot\"],\"exportRouteTargets\":[\"mqmtsjky\",\"rexw\",\"onbexft\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"bheeggzgrnqt\",\"fozuumrtgjq\",\"acan\",\"nsyxzxjmk\"],\"importIpv6RouteTargets\":[\"claz\"],\"exportIpv4RouteTargets\":[\"exvtemasp\",\"anydsc\",\"k\"],\"exportIpv6RouteTargets\":[\"pwjc\",\"haahntofelfhpfi\",\"oskkz\",\"fivsujybsr\"]}},\"optionAProperties\":{\"mtu\":415076739,\"vlanId\":1134142943,\"peerASN\":6087846424687598794,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1230163251,\"multiplier\":488034708},\"primaryIpv4Prefix\":\"gikesmkwtzg\",\"primaryIpv6Prefix\":\"agjhxerxlobkdbtq\",\"secondaryIpv4Prefix\":\"mmniiqyholhjnskb\",\"secondaryIpv6Prefix\":\"icnq\"}}") .toObject(VpnConfigurationPatchableProperties.class); - Assertions.assertEquals("inuwqxungrob", model.networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("jwdylwxmvzjowz", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("ikgpruccwmec", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("ytrtexegwmrq", + Assertions.assertEquals("mkgfmxpqkjnp", model.networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); + Assertions.assertEquals("ot", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("mqmtsjky", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("bheeggzgrnqt", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("iwh", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("fjncindil", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("wjuriarsbclla", - model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("x", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("dndzkf", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("uiiu", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("b", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1892524501, model.optionAProperties().mtu()); - Assertions.assertEquals(1973773763, model.optionAProperties().vlanId()); - Assertions.assertEquals(260997198315572861L, model.optionAProperties().peerASN()); - Assertions.assertEquals(1459580016, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1917437594, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("claz", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("exvtemasp", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("pwjc", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("gikesmkwtzg", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("agjhxerxlobkdbtq", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("mmniiqyholhjnskb", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("icnq", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(415076739, model.optionAProperties().mtu()); + Assertions.assertEquals(1134142943, model.optionAProperties().vlanId()); + Assertions.assertEquals(6087846424687598794L, model.optionAProperties().peerASN()); + Assertions.assertEquals(1230163251, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(488034708, model.optionAProperties().bfdConfiguration().multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { VpnConfigurationPatchableProperties model - = new VpnConfigurationPatchableProperties().withNetworkToNetworkInterconnectId("inuwqxungrob") - .withPeeringOption(PeeringOption.OPTIONA) - .withOptionBProperties(new VpnOptionBPatchProperties() - .withImportRouteTargets(Arrays.asList("jwdylwxmvzjowz", "geerclbl", "bhpwachyeur", "wmvwryvdi")) - .withExportRouteTargets(Arrays.asList("ikgpruccwmec")) - .withRouteTargets( - new RouteTargetPatchInformation().withImportIpv4RouteTargets(Arrays.asList("ytrtexegwmrq")) - .withImportIpv6RouteTargets(Arrays.asList("iwh")) - .withExportIpv4RouteTargets(Arrays.asList("fjncindil", "q")) - .withExportIpv6RouteTargets(Arrays.asList("wjuriarsbclla", "hzcknjxiz", "axdy")))) - .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("x") - .withPrimaryIpv6Prefix("dndzkf") - .withSecondaryIpv4Prefix("uiiu") - .withSecondaryIpv6Prefix("b") - .withMtu(1892524501) - .withVlanId(1973773763) - .withPeerASN(260997198315572861L) + = new VpnConfigurationPatchableProperties().withNetworkToNetworkInterconnectId("mkgfmxpqkjnp") + .withPeeringOption(PeeringOption.OPTIONB) + .withOptionBProperties(new VpnOptionBPatchProperties().withImportRouteTargets(Arrays.asList("ot")) + .withExportRouteTargets(Arrays.asList("mqmtsjky", "rexw", "onbexft")) + .withRouteTargets(new RouteTargetPatchInformation() + .withImportIpv4RouteTargets(Arrays.asList("bheeggzgrnqt", "fozuumrtgjq", "acan", "nsyxzxjmk")) + .withImportIpv6RouteTargets(Arrays.asList("claz")) + .withExportIpv4RouteTargets(Arrays.asList("exvtemasp", "anydsc", "k")) + .withExportIpv6RouteTargets(Arrays.asList("pwjc", "haahntofelfhpfi", "oskkz", "fivsujybsr")))) + .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("gikesmkwtzg") + .withPrimaryIpv6Prefix("agjhxerxlobkdbtq") + .withSecondaryIpv4Prefix("mmniiqyholhjnskb") + .withSecondaryIpv6Prefix("icnq") + .withMtu(415076739) + .withVlanId(1134142943) + .withPeerASN(6087846424687598794L) .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(1459580016).withMultiplier(1917437594))); + new BfdPatchConfiguration().withIntervalInMilliSeconds(1230163251).withMultiplier(488034708))); model = BinaryData.fromObject(model).toObject(VpnConfigurationPatchableProperties.class); - Assertions.assertEquals("inuwqxungrob", model.networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("jwdylwxmvzjowz", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("ikgpruccwmec", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("ytrtexegwmrq", + Assertions.assertEquals("mkgfmxpqkjnp", model.networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); + Assertions.assertEquals("ot", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("mqmtsjky", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("bheeggzgrnqt", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("iwh", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("fjncindil", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("wjuriarsbclla", - model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("x", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("dndzkf", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("uiiu", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("b", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(1892524501, model.optionAProperties().mtu()); - Assertions.assertEquals(1973773763, model.optionAProperties().vlanId()); - Assertions.assertEquals(260997198315572861L, model.optionAProperties().peerASN()); - Assertions.assertEquals(1459580016, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1917437594, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("claz", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("exvtemasp", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("pwjc", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("gikesmkwtzg", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("agjhxerxlobkdbtq", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("mmniiqyholhjnskb", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("icnq", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(415076739, model.optionAProperties().mtu()); + Assertions.assertEquals(1134142943, model.optionAProperties().vlanId()); + Assertions.assertEquals(6087846424687598794L, model.optionAProperties().peerASN()); + Assertions.assertEquals(1230163251, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(488034708, model.optionAProperties().bfdConfiguration().multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPropertiesTests.java index b3caef37cca29..fe120a36cec8e 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnConfigurationPropertiesTests.java @@ -18,70 +18,66 @@ public final class VpnConfigurationPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { VpnConfigurationProperties model = BinaryData.fromString( - "{\"networkToNetworkInterconnectId\":\"yzadcrxylaypdt\",\"administrativeState\":\"EnabledDegraded\",\"peeringOption\":\"OptionA\",\"optionBProperties\":{\"importRouteTargets\":[\"ohuriwhjdfrwp\",\"shrmnkcclpctuog\",\"scxjfsgmosp\"],\"exportRouteTargets\":[\"nxs\",\"cowscuyfqlam\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"sujkafuzpnxqp\",\"n\"],\"importIpv6RouteTargets\":[\"kcajgrbrctsvgo\",\"cq\",\"azmzlpcx\"],\"exportIpv4RouteTargets\":[\"hxxrqicf\",\"f\",\"wjdth\",\"vpyeyoafinmpnqu\"],\"exportIpv6RouteTargets\":[\"jr\"]}},\"optionAProperties\":{\"mtu\":348750317,\"vlanId\":1658664040,\"peerASN\":6490988306516040991,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1474370606,\"multiplier\":1806648130},\"primaryIpv4Prefix\":\"c\",\"primaryIpv6Prefix\":\"cvqsrupaylcv\",\"secondaryIpv4Prefix\":\"zmfxlrymfjxlpiy\",\"secondaryIpv6Prefix\":\"npfydrfb\"}}") + "{\"networkToNetworkInterconnectId\":\"cxgdqmr\",\"administrativeState\":\"Disabled\",\"peeringOption\":\"OptionB\",\"optionBProperties\":{\"importRouteTargets\":[\"p\",\"wny\"],\"exportRouteTargets\":[\"uprrxyxwjezbfqp\",\"oyuekdcpvuftrsv\",\"mnsvujnjktvolefc\",\"isepk\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"tfbjampq\",\"c\",\"a\",\"nmxynlsuqbwzst\"],\"importIpv6RouteTargets\":[\"gvp\",\"trgjjkt\"],\"exportIpv4RouteTargets\":[\"fhok\",\"mmculwkq\",\"cru\"],\"exportIpv6RouteTargets\":[\"rjflsga\",\"jbt\",\"pqsdoc\"]}},\"optionAProperties\":{\"mtu\":1540891090,\"vlanId\":2080371882,\"peerASN\":3180098480061688390,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":2139459276,\"multiplier\":1837756476},\"primaryIpv4Prefix\":\"celuj\",\"primaryIpv6Prefix\":\"wlluunxhfwlfxz\",\"secondaryIpv4Prefix\":\"u\",\"secondaryIpv6Prefix\":\"upcknecexkgrvfp\"}}") .toObject(VpnConfigurationProperties.class); - Assertions.assertEquals("yzadcrxylaypdt", model.networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("ohuriwhjdfrwp", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("nxs", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("sujkafuzpnxqp", - model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("kcajgrbrctsvgo", - model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("hxxrqicf", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("jr", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("c", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("cvqsrupaylcv", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("zmfxlrymfjxlpiy", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("npfydrfb", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(348750317, model.optionAProperties().mtu()); - Assertions.assertEquals(1658664040, model.optionAProperties().vlanId()); - Assertions.assertEquals(6490988306516040991L, model.optionAProperties().peerASN()); - Assertions.assertEquals(1474370606, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1806648130, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("cxgdqmr", model.networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); + Assertions.assertEquals("p", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("uprrxyxwjezbfqp", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("tfbjampq", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("gvp", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("fhok", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("rjflsga", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("celuj", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("wlluunxhfwlfxz", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("u", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("upcknecexkgrvfp", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1540891090, model.optionAProperties().mtu()); + Assertions.assertEquals(2080371882, model.optionAProperties().vlanId()); + Assertions.assertEquals(3180098480061688390L, model.optionAProperties().peerASN()); + Assertions.assertEquals(2139459276, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1837756476, model.optionAProperties().bfdConfiguration().multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { VpnConfigurationProperties model - = new VpnConfigurationProperties().withNetworkToNetworkInterconnectId("yzadcrxylaypdt") - .withPeeringOption(PeeringOption.OPTIONA) - .withOptionBProperties(new VpnOptionBProperties() - .withImportRouteTargets(Arrays.asList("ohuriwhjdfrwp", "shrmnkcclpctuog", "scxjfsgmosp")) - .withExportRouteTargets(Arrays.asList("nxs", "cowscuyfqlam")) - .withRouteTargets( - new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("sujkafuzpnxqp", "n")) - .withImportIpv6RouteTargets(Arrays.asList("kcajgrbrctsvgo", "cq", "azmzlpcx")) - .withExportIpv4RouteTargets(Arrays.asList("hxxrqicf", "f", "wjdth", "vpyeyoafinmpnqu")) - .withExportIpv6RouteTargets(Arrays.asList("jr")))) - .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("c") - .withPrimaryIpv6Prefix("cvqsrupaylcv") - .withSecondaryIpv4Prefix("zmfxlrymfjxlpiy") - .withSecondaryIpv6Prefix("npfydrfb") - .withMtu(348750317) - .withVlanId(1658664040) - .withPeerASN(6490988306516040991L) + = new VpnConfigurationProperties().withNetworkToNetworkInterconnectId("cxgdqmr") + .withPeeringOption(PeeringOption.OPTIONB) + .withOptionBProperties(new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("p", "wny")) + .withExportRouteTargets( + Arrays.asList("uprrxyxwjezbfqp", "oyuekdcpvuftrsv", "mnsvujnjktvolefc", "isepk")) + .withRouteTargets(new RouteTargetInformation() + .withImportIpv4RouteTargets(Arrays.asList("tfbjampq", "c", "a", "nmxynlsuqbwzst")) + .withImportIpv6RouteTargets(Arrays.asList("gvp", "trgjjkt")) + .withExportIpv4RouteTargets(Arrays.asList("fhok", "mmculwkq", "cru")) + .withExportIpv6RouteTargets(Arrays.asList("rjflsga", "jbt", "pqsdoc")))) + .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("celuj") + .withPrimaryIpv6Prefix("wlluunxhfwlfxz") + .withSecondaryIpv4Prefix("u") + .withSecondaryIpv6Prefix("upcknecexkgrvfp") + .withMtu(1540891090) + .withVlanId(2080371882) + .withPeerASN(3180098480061688390L) .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1474370606).withMultiplier(1806648130))); + new BfdConfiguration().withIntervalInMilliSeconds(2139459276).withMultiplier(1837756476))); model = BinaryData.fromObject(model).toObject(VpnConfigurationProperties.class); - Assertions.assertEquals("yzadcrxylaypdt", model.networkToNetworkInterconnectId()); - Assertions.assertEquals(PeeringOption.OPTIONA, model.peeringOption()); - Assertions.assertEquals("ohuriwhjdfrwp", model.optionBProperties().importRouteTargets().get(0)); - Assertions.assertEquals("nxs", model.optionBProperties().exportRouteTargets().get(0)); - Assertions.assertEquals("sujkafuzpnxqp", - model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("kcajgrbrctsvgo", - model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("hxxrqicf", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("jr", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); - Assertions.assertEquals("c", model.optionAProperties().primaryIpv4Prefix()); - Assertions.assertEquals("cvqsrupaylcv", model.optionAProperties().primaryIpv6Prefix()); - Assertions.assertEquals("zmfxlrymfjxlpiy", model.optionAProperties().secondaryIpv4Prefix()); - Assertions.assertEquals("npfydrfb", model.optionAProperties().secondaryIpv6Prefix()); - Assertions.assertEquals(348750317, model.optionAProperties().mtu()); - Assertions.assertEquals(1658664040, model.optionAProperties().vlanId()); - Assertions.assertEquals(6490988306516040991L, model.optionAProperties().peerASN()); - Assertions.assertEquals(1474370606, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1806648130, model.optionAProperties().bfdConfiguration().multiplier()); + Assertions.assertEquals("cxgdqmr", model.networkToNetworkInterconnectId()); + Assertions.assertEquals(PeeringOption.OPTIONB, model.peeringOption()); + Assertions.assertEquals("p", model.optionBProperties().importRouteTargets().get(0)); + Assertions.assertEquals("uprrxyxwjezbfqp", model.optionBProperties().exportRouteTargets().get(0)); + Assertions.assertEquals("tfbjampq", model.optionBProperties().routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("gvp", model.optionBProperties().routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("fhok", model.optionBProperties().routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("rjflsga", model.optionBProperties().routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("celuj", model.optionAProperties().primaryIpv4Prefix()); + Assertions.assertEquals("wlluunxhfwlfxz", model.optionAProperties().primaryIpv6Prefix()); + Assertions.assertEquals("u", model.optionAProperties().secondaryIpv4Prefix()); + Assertions.assertEquals("upcknecexkgrvfp", model.optionAProperties().secondaryIpv6Prefix()); + Assertions.assertEquals(1540891090, model.optionAProperties().mtu()); + Assertions.assertEquals(2080371882, model.optionAProperties().vlanId()); + Assertions.assertEquals(3180098480061688390L, model.optionAProperties().peerASN()); + Assertions.assertEquals(2139459276, model.optionAProperties().bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1837756476, model.optionAProperties().bfdConfiguration().multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPatchPropertiesTests.java index 2cb328b032b99..9594016c415e7 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPatchPropertiesTests.java @@ -13,39 +13,39 @@ public final class VpnOptionAPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { VpnOptionAPatchProperties model = BinaryData.fromString( - "{\"mtu\":667641436,\"vlanId\":606360738,\"peerASN\":466236631596998274,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":2120399292,\"multiplier\":1021377544},\"primaryIpv4Prefix\":\"knv\",\"primaryIpv6Prefix\":\"ddlggb\",\"secondaryIpv4Prefix\":\"olgzubakdlkv\",\"secondaryIpv6Prefix\":\"cmfnsffet\"}") + "{\"mtu\":1122563469,\"vlanId\":1452046394,\"peerASN\":8729388413598040358,\"bfdConfiguration\":{\"administrativeState\":\"RMA\",\"intervalInMilliSeconds\":1517520134,\"multiplier\":1752783647},\"primaryIpv4Prefix\":\"aqipmnxclfrsbzrn\",\"primaryIpv6Prefix\":\"vwvpuofddtbfme\",\"secondaryIpv4Prefix\":\"cnginxdvm\",\"secondaryIpv6Prefix\":\"yqxfvgy\"}") .toObject(VpnOptionAPatchProperties.class); - Assertions.assertEquals("knv", model.primaryIpv4Prefix()); - Assertions.assertEquals("ddlggb", model.primaryIpv6Prefix()); - Assertions.assertEquals("olgzubakdlkv", model.secondaryIpv4Prefix()); - Assertions.assertEquals("cmfnsffet", model.secondaryIpv6Prefix()); - Assertions.assertEquals(667641436, model.mtu()); - Assertions.assertEquals(606360738, model.vlanId()); - Assertions.assertEquals(466236631596998274L, model.peerASN()); - Assertions.assertEquals(2120399292, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1021377544, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("aqipmnxclfrsbzrn", model.primaryIpv4Prefix()); + Assertions.assertEquals("vwvpuofddtbfme", model.primaryIpv6Prefix()); + Assertions.assertEquals("cnginxdvm", model.secondaryIpv4Prefix()); + Assertions.assertEquals("yqxfvgy", model.secondaryIpv6Prefix()); + Assertions.assertEquals(1122563469, model.mtu()); + Assertions.assertEquals(1452046394, model.vlanId()); + Assertions.assertEquals(8729388413598040358L, model.peerASN()); + Assertions.assertEquals(1517520134, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1752783647, model.bfdConfiguration().multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - VpnOptionAPatchProperties model = new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("knv") - .withPrimaryIpv6Prefix("ddlggb") - .withSecondaryIpv4Prefix("olgzubakdlkv") - .withSecondaryIpv6Prefix("cmfnsffet") - .withMtu(667641436) - .withVlanId(606360738) - .withPeerASN(466236631596998274L) + VpnOptionAPatchProperties model = new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("aqipmnxclfrsbzrn") + .withPrimaryIpv6Prefix("vwvpuofddtbfme") + .withSecondaryIpv4Prefix("cnginxdvm") + .withSecondaryIpv6Prefix("yqxfvgy") + .withMtu(1122563469) + .withVlanId(1452046394) + .withPeerASN(8729388413598040358L) .withBfdConfiguration( - new BfdPatchConfiguration().withIntervalInMilliSeconds(2120399292).withMultiplier(1021377544)); + new BfdPatchConfiguration().withIntervalInMilliSeconds(1517520134).withMultiplier(1752783647)); model = BinaryData.fromObject(model).toObject(VpnOptionAPatchProperties.class); - Assertions.assertEquals("knv", model.primaryIpv4Prefix()); - Assertions.assertEquals("ddlggb", model.primaryIpv6Prefix()); - Assertions.assertEquals("olgzubakdlkv", model.secondaryIpv4Prefix()); - Assertions.assertEquals("cmfnsffet", model.secondaryIpv6Prefix()); - Assertions.assertEquals(667641436, model.mtu()); - Assertions.assertEquals(606360738, model.vlanId()); - Assertions.assertEquals(466236631596998274L, model.peerASN()); - Assertions.assertEquals(2120399292, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1021377544, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("aqipmnxclfrsbzrn", model.primaryIpv4Prefix()); + Assertions.assertEquals("vwvpuofddtbfme", model.primaryIpv6Prefix()); + Assertions.assertEquals("cnginxdvm", model.secondaryIpv4Prefix()); + Assertions.assertEquals("yqxfvgy", model.secondaryIpv6Prefix()); + Assertions.assertEquals(1122563469, model.mtu()); + Assertions.assertEquals(1452046394, model.vlanId()); + Assertions.assertEquals(8729388413598040358L, model.peerASN()); + Assertions.assertEquals(1517520134, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(1752783647, model.bfdConfiguration().multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPropertiesTests.java index b81a98fc87afb..c3fe03446a50d 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionAPropertiesTests.java @@ -13,39 +13,39 @@ public final class VpnOptionAPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { VpnOptionAProperties model = BinaryData.fromString( - "{\"mtu\":1147743419,\"vlanId\":736989908,\"peerASN\":7035486155256924179,\"bfdConfiguration\":{\"administrativeState\":\"MAT\",\"intervalInMilliSeconds\":1623209582,\"multiplier\":1814057170},\"primaryIpv4Prefix\":\"duydwnwgru\",\"primaryIpv6Prefix\":\"qldrd\",\"secondaryIpv4Prefix\":\"nsw\",\"secondaryIpv6Prefix\":\"exqwqnghxnimvy\"}") + "{\"mtu\":891072889,\"vlanId\":534856605,\"peerASN\":5154639035645575877,\"bfdConfiguration\":{\"administrativeState\":\"Enabled\",\"intervalInMilliSeconds\":1444493325,\"multiplier\":760374529},\"primaryIpv4Prefix\":\"f\",\"primaryIpv6Prefix\":\"kiooanduewf\",\"secondaryIpv4Prefix\":\"pxjhxzubfjzabbwz\",\"secondaryIpv6Prefix\":\"zuaixcdckixspsa\"}") .toObject(VpnOptionAProperties.class); - Assertions.assertEquals("duydwnwgru", model.primaryIpv4Prefix()); - Assertions.assertEquals("qldrd", model.primaryIpv6Prefix()); - Assertions.assertEquals("nsw", model.secondaryIpv4Prefix()); - Assertions.assertEquals("exqwqnghxnimvy", model.secondaryIpv6Prefix()); - Assertions.assertEquals(1147743419, model.mtu()); - Assertions.assertEquals(736989908, model.vlanId()); - Assertions.assertEquals(7035486155256924179L, model.peerASN()); - Assertions.assertEquals(1623209582, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1814057170, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("f", model.primaryIpv4Prefix()); + Assertions.assertEquals("kiooanduewf", model.primaryIpv6Prefix()); + Assertions.assertEquals("pxjhxzubfjzabbwz", model.secondaryIpv4Prefix()); + Assertions.assertEquals("zuaixcdckixspsa", model.secondaryIpv6Prefix()); + Assertions.assertEquals(891072889, model.mtu()); + Assertions.assertEquals(534856605, model.vlanId()); + Assertions.assertEquals(5154639035645575877L, model.peerASN()); + Assertions.assertEquals(1444493325, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(760374529, model.bfdConfiguration().multiplier()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - VpnOptionAProperties model = new VpnOptionAProperties().withPrimaryIpv4Prefix("duydwnwgru") - .withPrimaryIpv6Prefix("qldrd") - .withSecondaryIpv4Prefix("nsw") - .withSecondaryIpv6Prefix("exqwqnghxnimvy") - .withMtu(1147743419) - .withVlanId(736989908) - .withPeerASN(7035486155256924179L) + VpnOptionAProperties model = new VpnOptionAProperties().withPrimaryIpv4Prefix("f") + .withPrimaryIpv6Prefix("kiooanduewf") + .withSecondaryIpv4Prefix("pxjhxzubfjzabbwz") + .withSecondaryIpv6Prefix("zuaixcdckixspsa") + .withMtu(891072889) + .withVlanId(534856605) + .withPeerASN(5154639035645575877L) .withBfdConfiguration( - new BfdConfiguration().withIntervalInMilliSeconds(1623209582).withMultiplier(1814057170)); + new BfdConfiguration().withIntervalInMilliSeconds(1444493325).withMultiplier(760374529)); model = BinaryData.fromObject(model).toObject(VpnOptionAProperties.class); - Assertions.assertEquals("duydwnwgru", model.primaryIpv4Prefix()); - Assertions.assertEquals("qldrd", model.primaryIpv6Prefix()); - Assertions.assertEquals("nsw", model.secondaryIpv4Prefix()); - Assertions.assertEquals("exqwqnghxnimvy", model.secondaryIpv6Prefix()); - Assertions.assertEquals(1147743419, model.mtu()); - Assertions.assertEquals(736989908, model.vlanId()); - Assertions.assertEquals(7035486155256924179L, model.peerASN()); - Assertions.assertEquals(1623209582, model.bfdConfiguration().intervalInMilliSeconds()); - Assertions.assertEquals(1814057170, model.bfdConfiguration().multiplier()); + Assertions.assertEquals("f", model.primaryIpv4Prefix()); + Assertions.assertEquals("kiooanduewf", model.primaryIpv6Prefix()); + Assertions.assertEquals("pxjhxzubfjzabbwz", model.secondaryIpv4Prefix()); + Assertions.assertEquals("zuaixcdckixspsa", model.secondaryIpv6Prefix()); + Assertions.assertEquals(891072889, model.mtu()); + Assertions.assertEquals(534856605, model.vlanId()); + Assertions.assertEquals(5154639035645575877L, model.peerASN()); + Assertions.assertEquals(1444493325, model.bfdConfiguration().intervalInMilliSeconds()); + Assertions.assertEquals(760374529, model.bfdConfiguration().multiplier()); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPatchPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPatchPropertiesTests.java index 8bd4970a42571..439fe58b1a965 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPatchPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPatchPropertiesTests.java @@ -14,32 +14,32 @@ public final class VpnOptionBPatchPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { VpnOptionBPatchProperties model = BinaryData.fromString( - "{\"importRouteTargets\":[\"jytqdcizeqqfo\"],\"exportRouteTargets\":[\"opmotdsf\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"lyo\",\"zyfbkmvldzmxojz\",\"vmaigbqkvhyejth\"],\"importIpv6RouteTargets\":[\"cb\",\"ergwlckihbam\",\"qsokknpug\"],\"exportIpv4RouteTargets\":[\"dizcrj\",\"x\"],\"exportIpv6RouteTargets\":[\"zkcsexgkrswksy\"]}}") + "{\"importRouteTargets\":[\"tmwpblxk\"],\"exportRouteTargets\":[\"gvxrktjcjigc\",\"tspanbqxase\",\"chefpgeed\",\"ybruhola\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"gimmrimaabsqqlo\",\"b\"],\"importIpv6RouteTargets\":[\"wcahdkmbjsmihr\"],\"exportIpv4RouteTargets\":[\"zbfsjwfczglk\",\"bgukbsvbwyoty\"],\"exportIpv6RouteTargets\":[\"knhjgclxaxwcf\"]}}") .toObject(VpnOptionBPatchProperties.class); - Assertions.assertEquals("jytqdcizeqqfo", model.importRouteTargets().get(0)); - Assertions.assertEquals("opmotdsf", model.exportRouteTargets().get(0)); - Assertions.assertEquals("lyo", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("cb", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("dizcrj", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("zkcsexgkrswksy", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("tmwpblxk", model.importRouteTargets().get(0)); + Assertions.assertEquals("gvxrktjcjigc", model.exportRouteTargets().get(0)); + Assertions.assertEquals("gimmrimaabsqqlo", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("wcahdkmbjsmihr", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("zbfsjwfczglk", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("knhjgclxaxwcf", model.routeTargets().exportIpv6RouteTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { VpnOptionBPatchProperties model - = new VpnOptionBPatchProperties().withImportRouteTargets(Arrays.asList("jytqdcizeqqfo")) - .withExportRouteTargets(Arrays.asList("opmotdsf")) - .withRouteTargets(new RouteTargetPatchInformation() - .withImportIpv4RouteTargets(Arrays.asList("lyo", "zyfbkmvldzmxojz", "vmaigbqkvhyejth")) - .withImportIpv6RouteTargets(Arrays.asList("cb", "ergwlckihbam", "qsokknpug")) - .withExportIpv4RouteTargets(Arrays.asList("dizcrj", "x")) - .withExportIpv6RouteTargets(Arrays.asList("zkcsexgkrswksy"))); + = new VpnOptionBPatchProperties().withImportRouteTargets(Arrays.asList("tmwpblxk")) + .withExportRouteTargets(Arrays.asList("gvxrktjcjigc", "tspanbqxase", "chefpgeed", "ybruhola")) + .withRouteTargets( + new RouteTargetPatchInformation().withImportIpv4RouteTargets(Arrays.asList("gimmrimaabsqqlo", "b")) + .withImportIpv6RouteTargets(Arrays.asList("wcahdkmbjsmihr")) + .withExportIpv4RouteTargets(Arrays.asList("zbfsjwfczglk", "bgukbsvbwyoty")) + .withExportIpv6RouteTargets(Arrays.asList("knhjgclxaxwcf"))); model = BinaryData.fromObject(model).toObject(VpnOptionBPatchProperties.class); - Assertions.assertEquals("jytqdcizeqqfo", model.importRouteTargets().get(0)); - Assertions.assertEquals("opmotdsf", model.exportRouteTargets().get(0)); - Assertions.assertEquals("lyo", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("cb", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("dizcrj", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("zkcsexgkrswksy", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("tmwpblxk", model.importRouteTargets().get(0)); + Assertions.assertEquals("gvxrktjcjigc", model.exportRouteTargets().get(0)); + Assertions.assertEquals("gimmrimaabsqqlo", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("wcahdkmbjsmihr", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("zbfsjwfczglk", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("knhjgclxaxwcf", model.routeTargets().exportIpv6RouteTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPropertiesTests.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPropertiesTests.java index 642e9027f0510..5114762f6c866 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPropertiesTests.java +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/test/java/com/azure/resourcemanager/managednetworkfabric/generated/VpnOptionBPropertiesTests.java @@ -14,32 +14,31 @@ public final class VpnOptionBPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { VpnOptionBProperties model = BinaryData.fromString( - "{\"importRouteTargets\":[\"y\",\"byxmkhmqyncgaull\"],\"exportRouteTargets\":[\"yygjqpulmw\",\"gm\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"iwxzfvvz\",\"cqfgu\"],\"importIpv6RouteTargets\":[\"bx\",\"bmwdukinhlxhgde\"],\"exportIpv4RouteTargets\":[\"zouyvewwpzrdwc\"],\"exportIpv6RouteTargets\":[\"ohgcand\",\"fhhhtestdq\",\"dnnckkpljdsh\",\"vfkdxccyijji\"]}}") + "{\"importRouteTargets\":[\"m\"],\"exportRouteTargets\":[\"yt\",\"pdz\",\"yxcnwawox\",\"gzb\"],\"routeTargets\":{\"importIpv4RouteTargets\":[\"bifopf\",\"xdwdrpazqjkrfm\",\"wotfcuu\",\"gtji\"],\"importIpv6RouteTargets\":[\"ayiawohfm\",\"nnzm\",\"cjjkmqenh\",\"idzr\"],\"exportIpv4RouteTargets\":[\"gloiovsl\",\"ivqsuvwtenb\"],\"exportIpv6RouteTargets\":[\"jpk\"]}}") .toObject(VpnOptionBProperties.class); - Assertions.assertEquals("y", model.importRouteTargets().get(0)); - Assertions.assertEquals("yygjqpulmw", model.exportRouteTargets().get(0)); - Assertions.assertEquals("iwxzfvvz", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("bx", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("zouyvewwpzrdwc", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("ohgcand", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("m", model.importRouteTargets().get(0)); + Assertions.assertEquals("yt", model.exportRouteTargets().get(0)); + Assertions.assertEquals("bifopf", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("ayiawohfm", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("gloiovsl", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("jpk", model.routeTargets().exportIpv6RouteTargets().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - VpnOptionBProperties model = new VpnOptionBProperties() - .withImportRouteTargets(Arrays.asList("y", "byxmkhmqyncgaull")) - .withExportRouteTargets(Arrays.asList("yygjqpulmw", "gm")) + VpnOptionBProperties model = new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("m")) + .withExportRouteTargets(Arrays.asList("yt", "pdz", "yxcnwawox", "gzb")) .withRouteTargets(new RouteTargetInformation() - .withImportIpv4RouteTargets(Arrays.asList("iwxzfvvz", "cqfgu")) - .withImportIpv6RouteTargets(Arrays.asList("bx", "bmwdukinhlxhgde")) - .withExportIpv4RouteTargets(Arrays.asList("zouyvewwpzrdwc")) - .withExportIpv6RouteTargets(Arrays.asList("ohgcand", "fhhhtestdq", "dnnckkpljdsh", "vfkdxccyijji"))); + .withImportIpv4RouteTargets(Arrays.asList("bifopf", "xdwdrpazqjkrfm", "wotfcuu", "gtji")) + .withImportIpv6RouteTargets(Arrays.asList("ayiawohfm", "nnzm", "cjjkmqenh", "idzr")) + .withExportIpv4RouteTargets(Arrays.asList("gloiovsl", "ivqsuvwtenb")) + .withExportIpv6RouteTargets(Arrays.asList("jpk"))); model = BinaryData.fromObject(model).toObject(VpnOptionBProperties.class); - Assertions.assertEquals("y", model.importRouteTargets().get(0)); - Assertions.assertEquals("yygjqpulmw", model.exportRouteTargets().get(0)); - Assertions.assertEquals("iwxzfvvz", model.routeTargets().importIpv4RouteTargets().get(0)); - Assertions.assertEquals("bx", model.routeTargets().importIpv6RouteTargets().get(0)); - Assertions.assertEquals("zouyvewwpzrdwc", model.routeTargets().exportIpv4RouteTargets().get(0)); - Assertions.assertEquals("ohgcand", model.routeTargets().exportIpv6RouteTargets().get(0)); + Assertions.assertEquals("m", model.importRouteTargets().get(0)); + Assertions.assertEquals("yt", model.exportRouteTargets().get(0)); + Assertions.assertEquals("bifopf", model.routeTargets().importIpv4RouteTargets().get(0)); + Assertions.assertEquals("ayiawohfm", model.routeTargets().importIpv6RouteTargets().get(0)); + Assertions.assertEquals("gloiovsl", model.routeTargets().exportIpv4RouteTargets().get(0)); + Assertions.assertEquals("jpk", model.routeTargets().exportIpv6RouteTargets().get(0)); } } diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml index 2aa8471f3e25c..1c7419113d3d9 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml @@ -1,4 +1,4 @@ -directory: specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management -commit: 0c30072709ed8a6a544ec133e628e13cb3c81d88 +directory: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/ManagedNetworkFabric +commit: dada8378e1e5e205e77974808541b5b4e9634ecb repo: Azure/azure-rest-api-specs additionalDirectories: From 543312758c663cf4728be5a88e46fd464d8f5dac Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 30 Oct 2026 03:17:20 +0000 Subject: [PATCH 2/2] Configurations: 'specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/ManagedNetworkFabric/tspconfig.yaml', and CommitSHA: '2cafd130c2e1af36870a69b4c15d877aabd7737b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=7018609 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../CHANGELOG.md | 22 +++++++++---------- ...manager-managednetworkfabric_metadata.json | 2 +- .../tsp-location.yaml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md index d33d91fe370ae..2ad55261df5b4 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0-beta.1 (2026-10-22) +## 2.1.0-beta.1 (2026-10-30) - 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 2026-01-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). @@ -25,14 +25,14 @@ #### `models.NetworkFabrics` was modified +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties,com.azure.core.util.Context)` * `refreshConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed * `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties)` -* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,models.ValidateConfigurationProperties,com.azure.core.util.Context)` #### `models.AccessControlList` was modified -* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` * `models.ValidateConfigurationResponse validateConfiguration(com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(com.azure.core.util.Context)` +* `models.ValidateConfigurationResponse validateConfiguration()` -> `models.ValidateConfigurationResponseV2 validateConfiguration()` #### `models.NetworkTapRule` was modified @@ -46,8 +46,8 @@ #### `models.RoutePolicies` was modified -* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` * `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String)` +* `models.ValidateConfigurationResponse validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateConfigurationResponseV2 validateConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` #### `models.L2IsolationDomain` was modified @@ -197,8 +197,8 @@ #### `models.NetworkBootstrapDevicePatch` was modified -* `controlPlaneAcls()` was added * `withControlPlaneAcls(java.util.List)` was added +* `controlPlaneAcls()` was added #### `models.NetworkFabricController$Definition` was modified @@ -210,8 +210,8 @@ #### `models.NetworkFabric$Definition` was modified -* `withSecretArchiveSettings(models.SecretArchiveSettings)` was added * `withUpgradeProfile(java.util.List)` was added +* `withSecretArchiveSettings(models.SecretArchiveSettings)` was added #### `models.NetworkFabrics` was modified @@ -241,28 +241,28 @@ #### `models.NetworkFabricPatch` was modified -* `withSecretArchiveSettings(models.SecretArchivePatchSettings)` was added -* `withUpgradeProfile(java.util.List)` was added * `secretArchiveSettings()` was added * `upgradeProfile()` was added +* `withSecretArchiveSettings(models.SecretArchivePatchSettings)` was added +* `withUpgradeProfile(java.util.List)` was added #### `models.NetworkFabric` was modified * `upgradeProfile()` was added * `refreshConfiguration(models.RefreshConfigurationRequestProperties,com.azure.core.util.Context)` was added +* `networkBootstrapDeviceId()` was added * `operationalState()` was added * `secretArchiveSettings()` was added -* `networkBootstrapDeviceId()` was added #### `models.NetworkFabric$Update` was modified -* `withSecretArchiveSettings(models.SecretArchivePatchSettings)` was added * `withUpgradeProfileForUpdate(java.util.List)` was added +* `withSecretArchiveSettings(models.SecretArchivePatchSettings)` was added #### `models.NetworkBootstrapDevice` was modified -* `secretRotationStatus()` was added * `controlPlaneAcls()` was added +* `secretRotationStatus()` was added * `operationalState()` was added #### `models.NeighborGroup` was modified diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json index fd674a04f312e..97d8ed6e11ce5 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/resources/META-INF/azure-resourcemanager-managednetworkfabric_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.ManagedNetworkFabric":"2026-01-15-preview"},"crossLanguagePackageId":"Microsoft.ManagedNetworkFabric","crossLanguageVersion":"fad35e4aac68","crossLanguageDefinitions":{"com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient":"Microsoft.ManagedNetworkFabric.AccessControlLists","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginCreate":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginDelete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginResync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.create":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.delete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.list":"Microsoft.ManagedNetworkFabric.AccessControlLists.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.resync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.update":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient":"Microsoft.ManagedNetworkFabric.EdgeConnectors","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.EdgeConnectors.create","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.EdgeConnectors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.EdgeConnectors.update","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.create":"Microsoft.ManagedNetworkFabric.EdgeConnectors.create","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.delete":"Microsoft.ManagedNetworkFabric.EdgeConnectors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.EdgeConnectors.get","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.EdgeConnectors.get","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.list":"Microsoft.ManagedNetworkFabric.EdgeConnectors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.EdgeConnectors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.update":"Microsoft.ManagedNetworkFabric.EdgeConnectors.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient":"Microsoft.ManagedNetworkFabric.ExternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.ExternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient":"Microsoft.ManagedNetworkFabric.Fabrics","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.Fabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.Fabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.Fabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.create":"Microsoft.ManagedNetworkFabric.Fabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.delete":"Microsoft.ManagedNetworkFabric.Fabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.Fabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.Fabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.list":"Microsoft.ManagedNetworkFabric.Fabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.Fabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.update":"Microsoft.ManagedNetworkFabric.Fabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient":"Microsoft.ManagedNetworkFabric.InternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.InternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient":"Microsoft.ManagedNetworkFabric.InternetGatewayRules","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.create":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.delete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.list":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.update":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient":"Microsoft.ManagedNetworkFabric.InternetGateways","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.create":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.delete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.list":"Microsoft.ManagedNetworkFabric.InternetGateways.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.update":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient":"Microsoft.ManagedNetworkFabric.IpPrefixes","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.create":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.delete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.list":"Microsoft.ManagedNetworkFabric.IpPrefixes.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.update":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L2IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L3IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient":"Microsoft.ManagedNetworkFabric.NeighborGroups","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginResync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.create":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.delete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.list":"Microsoft.ManagedNetworkFabric.NeighborGroups.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.resync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.update":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.listByNetworkBootstrapDevice":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.listByNetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient":"Microsoft.ManagedNetworkFabric.NetworkFabrics","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.armConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginArmConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDeprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDiscardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginGetTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginLockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginProvision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginViewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.deprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.discardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.lockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.provision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.viewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.listByNetworkDevice":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.listByNetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient":"Microsoft.ManagedNetworkFabric.NetworkMonitors","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.create":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.list":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.update":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.create":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.list":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.update":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient":"Microsoft.ManagedNetworkFabric.NetworkRacks","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.create":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.delete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.list":"Microsoft.ManagedNetworkFabric.NetworkRacks.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.update":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient":"Microsoft.ManagedNetworkFabric.NetworkTapRules","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.create":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.list":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.update":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient":"Microsoft.ManagedNetworkFabric.NetworkTaps","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.create":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.list":"Microsoft.ManagedNetworkFabric.NetworkTaps.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.update":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.create":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.get":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.listByNetworkFabric":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.listByNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.update":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient":"Microsoft.ManagedNetworkFabric.Operations","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient":"Microsoft.ManagedNetworkFabric.RoutePolicies","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCreate":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginDelete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.create":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.delete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.list":"Microsoft.ManagedNetworkFabric.RoutePolicies.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.update":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListInner":"Microsoft.ManagedNetworkFabric.AccessControlList","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListPatchProperties":"Microsoft.ManagedNetworkFabric.AccessControlListPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListProperties":"Microsoft.ManagedNetworkFabric.AccessControlListProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ArmConfigurationDiffOperationResponseInner":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitBatchStatusOperationResponseInner":"Microsoft.ManagedNetworkFabric.CommitBatchStatusOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.CommitConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommandsOperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForStateUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.DiscardCommitBatchOperationResponseInner":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner":"Microsoft.ManagedNetworkFabric.EdgeConnector","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkInner":"Microsoft.ManagedNetworkFabric.ExternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner":"Microsoft.ManagedNetworkFabric.Fabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.GetTopologyResponseInner":"Microsoft.ManagedNetworkFabric.GetTopologyResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkInner":"Microsoft.ManagedNetworkFabric.InternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBgpAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayInner":"Microsoft.ManagedNetworkFabric.InternetGateway","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayPatchProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleInner":"Microsoft.ManagedNetworkFabric.InternetGatewayRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityInner":"Microsoft.ManagedNetworkFabric.IpCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityPatchableProperties":"Microsoft.ManagedNetworkFabric.IpCommunityPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityProperties":"Microsoft.ManagedNetworkFabric.IpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityInner":"Microsoft.ManagedNetworkFabric.IpExtendedCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixInner":"Microsoft.ManagedNetworkFabric.IpPrefix","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixProperties":"Microsoft.ManagedNetworkFabric.IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L2IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupInner":"Microsoft.ManagedNetworkFabric.NeighborGroup","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupPatchProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupResyncResponseInner":"Microsoft.ManagedNetworkFabric.NeighborGroupResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDevicePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRebootResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRebootResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDevicePatchParametersProperties":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParametersProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRunRwCommandResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRunRwCommandResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerInner":"Microsoft.ManagedNetworkFabric.NetworkFabricController","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricInner":"Microsoft.ManagedNetworkFabric.NetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotateCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotateCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotatePasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuInner":"Microsoft.ManagedNetworkFabric.NetworkFabricSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorInner":"Microsoft.ManagedNetworkFabric.NetworkMonitor","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerInner":"Microsoft.ManagedNetworkFabric.NetworkPacketBroker","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackInner":"Microsoft.ManagedNetworkFabric.NetworkRack","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackProperties":"Microsoft.ManagedNetworkFabric.NetworkRackProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapInner":"Microsoft.ManagedNetworkFabric.NetworkTap","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapProperties":"Microsoft.ManagedNetworkFabric.NetworkTapProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner":"Microsoft.ManagedNetworkFabric.NetworkTapRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRulePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapRuleResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectInner":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnect","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NniUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner":"Microsoft.ManagedNetworkFabric.RoutePolicy","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyPatchableProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponseV2","com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationOperationResponse","com.azure.resourcemanager.managednetworkfabric.implementation.ManagedNetworkFabricManagementClientBuilder":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.implementation.models.AccessControlListsListResult":"AccessControlListsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.EdgeConnectorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.ExternalNetworksList":"ExternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.FabricListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternalNetworksList":"InternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewayRulesListResult":"InternetGatewayRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewaysListResult":"InternetGatewaysListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpCommunitiesListResult":"IpCommunitiesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpExtendedCommunityListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpPrefixesListResult":"IpPrefixesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L2IsolationDomainsListResult":"L2IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L3IsolationDomainsListResult":"L3IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NeighborGroupsListResult":"NeighborGroupsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapInterfaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDeviceSkusListResult":"NetworkDeviceSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDevicesListResult":"NetworkDevicesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricControllersListResult":"NetworkFabricControllersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricSkusListResult":"NetworkFabricSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricsListResult":"NetworkFabricsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkInterfacesList":"NetworkInterfacesList","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkMonitorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkPacketBrokersListResult":"NetworkPacketBrokersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkRacksListResult":"NetworkRacksListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapRulesListResult":"NetworkTapRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapsListResult":"NetworkTapsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkToNetworkInterconnectsList":"NetworkToNetworkInterconnectsList","com.azure.resourcemanager.managednetworkfabric.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.RoutePoliciesListResult":"RoutePoliciesListResult","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListAction":"Microsoft.ManagedNetworkFabric.AccessControlListAction","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListActionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListActionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchCondition":"Microsoft.ManagedNetworkFabric.AccessControlListMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortCondition":"Microsoft.ManagedNetworkFabric.AccessControlListPortCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AclActionType":"Microsoft.ManagedNetworkFabric.AclActionType","com.azure.resourcemanager.managednetworkfabric.models.AclType":"Microsoft.ManagedNetworkFabric.AclType","com.azure.resourcemanager.managednetworkfabric.models.Action":"Microsoft.ManagedNetworkFabric.Action","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.managednetworkfabric.models.AddressFamilyType":"Microsoft.ManagedNetworkFabric.AddressFamilyType","com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState":"Microsoft.ManagedNetworkFabric.AdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoute":"Microsoft.ManagedNetworkFabric.AggregateRoute","com.azure.resourcemanager.managednetworkfabric.models.AggregateRouteConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AllowASOverride":"Microsoft.ManagedNetworkFabric.AllowASOverride","com.azure.resourcemanager.managednetworkfabric.models.AnnotationResource":"Microsoft.ManagedNetworkFabric.AnnotationResource","com.azure.resourcemanager.managednetworkfabric.models.ArmConfigurationDiffResponseProperties":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverPatchProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverProperties","com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState":"Microsoft.ManagedNetworkFabric.BfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration":"Microsoft.ManagedNetworkFabric.BfdConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration":"Microsoft.ManagedNetworkFabric.BfdPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpAdministrativeState":"Microsoft.ManagedNetworkFabric.BgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BgpConfiguration":"Microsoft.ManagedNetworkFabric.BgpConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpPatchConfiguration":"Microsoft.ManagedNetworkFabric.BgpPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BitRate":"Microsoft.ManagedNetworkFabric.BitRate","com.azure.resourcemanager.managednetworkfabric.models.BitRateUnit":"Microsoft.ManagedNetworkFabric.BitRateUnit","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState":"Microsoft.ManagedNetworkFabric.BmpConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy":"Microsoft.ManagedNetworkFabric.BmpExportPolicy","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyPatchProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpMonitoredAddressFamily":"Microsoft.ManagedNetworkFabric.BmpMonitoredAddressFamily","com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty":"Microsoft.ManagedNetworkFabric.BooleanEnumProperty","com.azure.resourcemanager.managednetworkfabric.models.BurstSize":"Microsoft.ManagedNetworkFabric.BurstSize","com.azure.resourcemanager.managednetworkfabric.models.BurstSizeUnit":"Microsoft.ManagedNetworkFabric.BurstSizeUnit","com.azure.resourcemanager.managednetworkfabric.models.CertificateArchiveReference":"Microsoft.ManagedNetworkFabric.CertificateArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.CertificateRotationStatus":"Microsoft.ManagedNetworkFabric.CertificateRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchDetails":"Microsoft.ManagedNetworkFabric.CommitBatchDetails","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchState":"Microsoft.ManagedNetworkFabric.CommitBatchState","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest":"Microsoft.ManagedNetworkFabric.CommitBatchStatusRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusResponseProperties":"Microsoft.ManagedNetworkFabric.CommitBatchStatusResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationPolicy":"Microsoft.ManagedNetworkFabric.CommitConfigurationPolicy","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationRequest":"Microsoft.ManagedNetworkFabric.CommitConfigurationRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitStage":"Microsoft.ManagedNetworkFabric.CommitStage","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonErrorResponse":"Microsoft.ManagedNetworkFabric.CommonErrorResponse","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditions":"Microsoft.ManagedNetworkFabric.CommonMatchConditions","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditionsPatch":"Microsoft.ManagedNetworkFabric.CommonMatchConditionsPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForDeviceROCommands":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommands","com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes":"Microsoft.ManagedNetworkFabric.CommunityActionTypes","com.azure.resourcemanager.managednetworkfabric.models.Condition":"Microsoft.ManagedNetworkFabric.Condition","com.azure.resourcemanager.managednetworkfabric.models.ConditionalDefaultRouteProperties":"Microsoft.ManagedNetworkFabric.ConditionalDefaultRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationRegenerationType":"Microsoft.ManagedNetworkFabric.ConfigurationRegenerationType","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState":"Microsoft.ManagedNetworkFabric.ConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType":"Microsoft.ManagedNetworkFabric.ConfigurationType","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnet":"Microsoft.ManagedNetworkFabric.ConnectedSubnet","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicy":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel":"Microsoft.ManagedNetworkFabric.ConnectivityModel","com.azure.resourcemanager.managednetworkfabric.models.ControlPlanAclIpMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlanAclIpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclAction":"Microsoft.ManagedNetworkFabric.ControlPlaneAclAction","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclIpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclIpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControllerServices":"Microsoft.ManagedNetworkFabric.ControllerServices","com.azure.resourcemanager.managednetworkfabric.models.ControllerType":"Microsoft.ManagedNetworkFabric.ControllerType","com.azure.resourcemanager.managednetworkfabric.models.DestinationPatchProperties":"Microsoft.ManagedNetworkFabric.DestinationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationProperties":"Microsoft.ManagedNetworkFabric.DestinationProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationType":"Microsoft.ManagedNetworkFabric.DestinationType","com.azure.resourcemanager.managednetworkfabric.models.DeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.DeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.DeviceInterfaceProperties":"Microsoft.ManagedNetworkFabric.DeviceInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.models.DeviceRoCommand":"Microsoft.ManagedNetworkFabric.DeviceRoCommand","com.azure.resourcemanager.managednetworkfabric.models.DeviceRole":"Microsoft.ManagedNetworkFabric.DeviceRole","com.azure.resourcemanager.managednetworkfabric.models.DeviceRwCommand":"Microsoft.ManagedNetworkFabric.DeviceRwCommand","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchRequest","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchResponseProperties":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch":"Microsoft.ManagedNetworkFabric.EdgeConnectorPatch","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties":"Microsoft.ManagedNetworkFabric.EdgeConnectorPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties":"Microsoft.ManagedNetworkFabric.EdgeConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableOnResources":"Microsoft.ManagedNetworkFabric.EnableDisableOnResources","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState":"Microsoft.ManagedNetworkFabric.EnableDisableState","com.azure.resourcemanager.managednetworkfabric.models.Encapsulation":"Microsoft.ManagedNetworkFabric.Encapsulation","com.azure.resourcemanager.managednetworkfabric.models.EncapsulationType":"Microsoft.ManagedNetworkFabric.EncapsulationType","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation":"Microsoft.ManagedNetworkFabric.ExpressRouteConnectionInformation","com.azure.resourcemanager.managednetworkfabric.models.ExtendedVlan":"Microsoft.ManagedNetworkFabric.ExtendedVlan","com.azure.resourcemanager.managednetworkfabric.models.Extension":"Microsoft.ManagedNetworkFabric.Extension","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatch":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatchPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.ExternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricLockProperties":"Microsoft.ManagedNetworkFabric.FabricLockProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricPatch":"Microsoft.ManagedNetworkFabric.FabricPatch","com.azure.resourcemanager.managednetworkfabric.models.FabricPatchableProperties":"Microsoft.ManagedNetworkFabric.FabricPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricProperties":"Microsoft.ManagedNetworkFabric.FabricProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricSkuType":"Microsoft.ManagedNetworkFabric.FabricSkuType","com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties":"Microsoft.ManagedNetworkFabric.FeatureFlagProperties","com.azure.resourcemanager.managednetworkfabric.models.GatewayType":"Microsoft.ManagedNetworkFabric.GatewayType","com.azure.resourcemanager.managednetworkfabric.models.GenerateBaseConfiguration":"Microsoft.ManagedNetworkFabric.GenerateBaseConfiguration","com.azure.resourcemanager.managednetworkfabric.models.GetTopologyResponseProperties":"Microsoft.ManagedNetworkFabric.GetTopologyResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionProperties","com.azure.resourcemanager.managednetworkfabric.models.HeaderAddressProperties":"Microsoft.ManagedNetworkFabric.HeaderAddressProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector":"Microsoft.ManagedNetworkFabric.IdentitySelector","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch":"Microsoft.ManagedNetworkFabric.IdentitySelectorPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy":"Microsoft.ManagedNetworkFabric.ImportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork":"Microsoft.ManagedNetworkFabric.InfraNetwork","com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp":"Microsoft.ManagedNetworkFabric.InfraNetworkOptionalIp","com.azure.resourcemanager.managednetworkfabric.models.InfrastructureNetworks":"Microsoft.ManagedNetworkFabric.InfrastructureNetworks","com.azure.resourcemanager.managednetworkfabric.models.InfrastructureServices":"Microsoft.ManagedNetworkFabric.InfrastructureServices","com.azure.resourcemanager.managednetworkfabric.models.InterfaceType":"Microsoft.ManagedNetworkFabric.InterfaceType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPatch":"Microsoft.ManagedNetworkFabric.InternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.InternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayPatch":"Microsoft.ManagedNetworkFabric.InternetGatewayPatch","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayRulePatch":"Microsoft.ManagedNetworkFabric.InternetGatewayRulePatch","com.azure.resourcemanager.managednetworkfabric.models.IpAddressType":"Microsoft.ManagedNetworkFabric.IPAddressType","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityIdList":"Microsoft.ManagedNetworkFabric.IpCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityPatch":"Microsoft.ManagedNetworkFabric.IpCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityRule":"Microsoft.ManagedNetworkFabric.IpCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityIdList":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityPatch":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityRule":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpGroupPatchProperties":"Microsoft.ManagedNetworkFabric.IpGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties":"Microsoft.ManagedNetworkFabric.IpGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition":"Microsoft.ManagedNetworkFabric.IpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.IpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.IpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixPatch":"Microsoft.ManagedNetworkFabric.IpPrefixPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixRule":"Microsoft.ManagedNetworkFabric.IpPrefixRule","com.azure.resourcemanager.managednetworkfabric.models.IsManagementType":"Microsoft.ManagedNetworkFabric.IsManagementType","com.azure.resourcemanager.managednetworkfabric.models.IsMonitoringEnabled":"Microsoft.ManagedNetworkFabric.IsMonitoringEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsWorkloadManagementNetworkEnabled":"Microsoft.ManagedNetworkFabric.IsWorkloadManagementNetworkEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBPatchProperties":"Microsoft.ManagedNetworkFabric.L3OptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBProperties":"Microsoft.ManagedNetworkFabric.L3OptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.L3UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.L3UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties":"Microsoft.ManagedNetworkFabric.LastOperationProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer2Configuration":"Microsoft.ManagedNetworkFabric.Layer2Configuration","com.azure.resourcemanager.managednetworkfabric.models.Layer2ConfigurationPatch":"Microsoft.ManagedNetworkFabric.Layer2ConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol":"Microsoft.ManagedNetworkFabric.Layer4Protocol","com.azure.resourcemanager.managednetworkfabric.models.LockConfigurationState":"Microsoft.ManagedNetworkFabric.LockConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration":"Microsoft.ManagedNetworkFabric.ManagedResourceGroupConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentityPatch","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentitySelectorType","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","com.azure.resourcemanager.managednetworkfabric.models.ManagementMode":"Microsoft.ManagedNetworkFabric.ManagementMode","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties":"Microsoft.ManagedNetworkFabric.ManagementNetworkConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPatchConfiguration":"Microsoft.ManagedNetworkFabric.ManagementNetworkPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.MicroBfdState":"Microsoft.ManagedNetworkFabric.MicroBfdState","com.azure.resourcemanager.managednetworkfabric.models.NNIDerivedUniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.NNIDerivedUniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddress":"Microsoft.ManagedNetworkFabric.NeighborAddress","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBfdAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBfdAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBgpAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBgpAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressPatch":"Microsoft.ManagedNetworkFabric.NeighborAddressPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination":"Microsoft.ManagedNetworkFabric.NeighborGroupDestination","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestinationPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupDestinationPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevicePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkDevicePatchParameters":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParameters","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRole":"Microsoft.ManagedNetworkFabric.NetworkDeviceRole","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRoleName":"Microsoft.ManagedNetworkFabric.NetworkDeviceRoleName","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRwCommandResponseProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceRwCommandResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgradeRequest":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllerPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockAction":"Microsoft.ManagedNetworkFabric.NetworkFabricLockAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest":"Microsoft.ManagedNetworkFabric.NetworkFabricLockRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockType":"Microsoft.ManagedNetworkFabric.NetworkFabricLockType","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRefreshDeviceTypes":"Microsoft.ManagedNetworkFabric.NetworkFabricRefreshDeviceTypes","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricUpgradeAction":"Microsoft.ManagedNetworkFabric.NetworkFabricUpgradeAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitorPatch":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatch":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackPatch":"Microsoft.ManagedNetworkFabric.NetworkRackPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackType":"Microsoft.ManagedNetworkFabric.NetworkRackType","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapPatch":"Microsoft.ManagedNetworkFabric.NetworkTapPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleAction":"Microsoft.ManagedNetworkFabric.NetworkTapRuleAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleActionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleActionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchCondition":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConditionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRulePatch":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkToNetworkInterconnectPatch":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatch","com.azure.resourcemanager.managednetworkfabric.models.NfcSku":"Microsoft.ManagedNetworkFabric.NfcSku","com.azure.resourcemanager.managednetworkfabric.models.NniBmpPatchProperties":"Microsoft.ManagedNetworkFabric.NniBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NniBmpProperties":"Microsoft.ManagedNetworkFabric.NniBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniType":"Microsoft.ManagedNetworkFabric.NniType","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfigurationPatch":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.managednetworkfabric.models.OperationPolicy":"Microsoft.ManagedNetworkFabric.OperationPolicy","com.azure.resourcemanager.managednetworkfabric.models.OperationalState":"Microsoft.ManagedNetworkFabric.OperationalState","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3Configuration":"Microsoft.ManagedNetworkFabric.OptionBLayer3Configuration","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3ConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3ConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.managednetworkfabric.models.PatchInfraNetwork":"Microsoft.ManagedNetworkFabric.PatchInfraNetwork","com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureNetworks":"Microsoft.ManagedNetworkFabric.PatchInfrastructureNetworks","com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureServices":"Microsoft.ManagedNetworkFabric.PatchInfrastructureServices","com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy":"Microsoft.ManagedNetworkFabric.PatchPlatformProxy","com.azure.resourcemanager.managednetworkfabric.models.PeeringOption":"Microsoft.ManagedNetworkFabric.PeeringOption","com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy":"Microsoft.ManagedNetworkFabric.PlatformProxy","com.azure.resourcemanager.managednetworkfabric.models.PoliceRateConfigurationProperties":"Microsoft.ManagedNetworkFabric.PoliceRateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.PollingType":"Microsoft.ManagedNetworkFabric.PollingType","com.azure.resourcemanager.managednetworkfabric.models.PortCondition":"Microsoft.ManagedNetworkFabric.PortCondition","com.azure.resourcemanager.managednetworkfabric.models.PortConditionPatch":"Microsoft.ManagedNetworkFabric.PortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.PortGroupPatchProperties":"Microsoft.ManagedNetworkFabric.PortGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties":"Microsoft.ManagedNetworkFabric.PortGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.PortType":"Microsoft.ManagedNetworkFabric.PortType","com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfilePatchProperties":"Microsoft.ManagedNetworkFabric.PostUpgradeProfilePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.PostUpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties":"Microsoft.ManagedNetworkFabric.PreUpgradeProfilePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.PreUpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixType":"Microsoft.ManagedNetworkFabric.PrefixType","com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState":"Microsoft.ManagedNetworkFabric.ProvisioningState","com.azure.resourcemanager.managednetworkfabric.models.ProxyResourceBase":"Microsoft.ManagedNetworkFabric.ProxyResourceBase","com.azure.resourcemanager.managednetworkfabric.models.QosConfigurationState":"Microsoft.ManagedNetworkFabric.QosConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties":"Microsoft.ManagedNetworkFabric.QosPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.QosProperties":"Microsoft.ManagedNetworkFabric.QosProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootProperties":"Microsoft.ManagedNetworkFabric.RebootProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootType":"Microsoft.ManagedNetworkFabric.RebootType","com.azure.resourcemanager.managednetworkfabric.models.RedistributeConnectedSubnets":"Microsoft.ManagedNetworkFabric.RedistributeConnectedSubnets","com.azure.resourcemanager.managednetworkfabric.models.RedistributeStaticRoutes":"Microsoft.ManagedNetworkFabric.RedistributeStaticRoutes","com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties":"Microsoft.ManagedNetworkFabric.RefreshConfigurationRequestProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyActionType":"Microsoft.ManagedNetworkFabric.RoutePolicyActionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyConditionType":"Microsoft.ManagedNetworkFabric.RoutePolicyConditionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyPatch":"Microsoft.ManagedNetworkFabric.RoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation":"Microsoft.ManagedNetworkFabric.RouteTargetInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetPatchInformation":"Microsoft.ManagedNetworkFabric.RouteTargetPatchInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteType":"Microsoft.ManagedNetworkFabric.RouteType","com.azure.resourcemanager.managednetworkfabric.models.RuleCondition":"Microsoft.ManagedNetworkFabric.RuleCondition","com.azure.resourcemanager.managednetworkfabric.models.RuleProperties":"Microsoft.ManagedNetworkFabric.RuleProperties","com.azure.resourcemanager.managednetworkfabric.models.SecretArchivePatchSettings":"Microsoft.ManagedNetworkFabric.SecretArchivePatchSettings","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveReference":"Microsoft.ManagedNetworkFabric.SecretArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings":"Microsoft.ManagedNetworkFabric.SecretArchiveSettings","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus":"Microsoft.ManagedNetworkFabric.SecretRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary":"Microsoft.ManagedNetworkFabric.SecretRotationSummary","com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType":"Microsoft.ManagedNetworkFabric.SourceDestinationType","com.azure.resourcemanager.managednetworkfabric.models.StatementActionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementActionProperties":"Microsoft.ManagedNetworkFabric.StatementActionProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementConditionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionProperties":"Microsoft.ManagedNetworkFabric.StatementConditionProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.StaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.StaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties":"Microsoft.ManagedNetworkFabric.StaticRoutePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties":"Microsoft.ManagedNetworkFabric.StaticRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicy":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.StationConfigurationState":"Microsoft.ManagedNetworkFabric.StationConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionMode":"Microsoft.ManagedNetworkFabric.StationConnectionMode","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionPatchProperties":"Microsoft.ManagedNetworkFabric.StationConnectionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionProperties":"Microsoft.ManagedNetworkFabric.StationConnectionProperties","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.SupportedConnectorProperties":"Microsoft.ManagedNetworkFabric.SupportedConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.SupportedVersionProperties":"Microsoft.ManagedNetworkFabric.SupportedVersionProperties","com.azure.resourcemanager.managednetworkfabric.models.SynchronizationStatus":"Microsoft.ManagedNetworkFabric.SynchronizationStatus","com.azure.resourcemanager.managednetworkfabric.models.TagsUpdate":"Microsoft.ManagedNetworkFabric.TagsUpdate","com.azure.resourcemanager.managednetworkfabric.models.TapRuleActionType":"Microsoft.ManagedNetworkFabric.TapRuleActionType","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerConfiguration","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerPatchConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherPatchProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateDeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion":"Microsoft.ManagedNetworkFabric.UpdateVersion","com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties":"Microsoft.ManagedNetworkFabric.UpgradeNetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.UpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfilePropertiesPatchProperties":"Microsoft.ManagedNetworkFabric.UpgradeProfilePropertiesPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity","com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState":"Microsoft.ManagedNetworkFabric.V4OverV6BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState":"Microsoft.ManagedNetworkFabric.V6OverV4BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.ValidateAction":"Microsoft.ManagedNetworkFabric.ValidateAction","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.ViewDeviceConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupPatchProperties":"Microsoft.ManagedNetworkFabric.VlanGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties":"Microsoft.ManagedNetworkFabric.VlanGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition":"Microsoft.ManagedNetworkFabric.VlanMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchConditionPatch":"Microsoft.ManagedNetworkFabric.VlanMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.VmProfile":"Microsoft.ManagedNetworkFabric.VmProfile","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.WellKnownCommunities":"Microsoft.ManagedNetworkFabric.WellKnownCommunities"},"generatedFiles":["src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/FabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NeighborGroupsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDeviceSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricControllersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkMonitorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkPacketBrokersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkRacksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkToNetworkInterconnectsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ArmConfigurationDiffOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitBatchStatusOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForStateUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/DiscardCommitBatchOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/GetTopologyResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBgpAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRebootResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDevicePatchParametersProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRunRwCommandResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotateCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotatePasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRulePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NniUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/UpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ViewDeviceConfigurationOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ArmConfigurationDiffOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitBatchStatusOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceROCommandsOperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForStateUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/DiscardCommitBatchOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/GetTopologyResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBgpAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRebootResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRunRwCommandResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotateCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotatePasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRackImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NniUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/UpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ViewDeviceConfigurationOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/AccessControlListsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/ExternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewayRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewaysListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpCommunitiesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpExtendedCommunityListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpPrefixesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L2IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L3IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NeighborGroupsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapDeviceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapInterfaceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDeviceSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDevicesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricControllersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkInterfacesList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkMonitorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkPacketBrokersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkRacksListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkToNetworkInterconnectsList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/RoutePoliciesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Action.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AddressFamilyType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoute.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AllowASOverride.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AnnotationResource.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRateUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpMonitoredAddressFamily.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BooleanEnumProperty.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSize.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSizeUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchDetails.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitStage.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonErrorResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditions.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditionsPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommands.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForStateUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommunityActionTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Condition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConditionalDefaultRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnet.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectivityModel.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlanAclIpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclIpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRoCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRwCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableOnResources.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Encapsulation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EncapsulationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExpressRouteConnectionInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExtendedVlan.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Extension.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatchPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricLockProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricSkuType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FeatureFlagProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GatewayType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/HeaderAddressProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InterfaceType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateway.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateways.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpAddressType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefix.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsManagementType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsMonitoringEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsWorkloadManagementNetworkEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LastOperationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2ConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer4Protocol.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LockConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedResourceGroupConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentitySelectorType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/MicroBfdState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NNIDerivedUniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddress.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBfdAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBgpAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestination.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestinationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroups.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRebootResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevicePatchParameters.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRoleName.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRunRwCommandResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRwCommandResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotateCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotatePasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricUpgradeAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitor.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRack.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRacks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTap.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTaps.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnect.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnectPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnects.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NfcSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operations.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3ConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Origin.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PeeringOption.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PoliceRateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PollingType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProxyResourceBase.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeConnectedSubnets.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeStaticRoutes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyConditionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetPatchInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationSummary.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SourceDestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedVersionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SynchronizationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TagsUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TapRuleActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateDeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateVersion.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeNetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V4OverV6BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V6OverV4BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/WellKnownCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.ManagedNetworkFabric":"2026-01-15-preview"},"crossLanguagePackageId":"Microsoft.ManagedNetworkFabric","crossLanguageVersion":"89b0489c61dc","crossLanguageDefinitions":{"com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient":"Microsoft.ManagedNetworkFabric.AccessControlLists","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginCreate":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginDelete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginResync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.create":"Microsoft.ManagedNetworkFabric.AccessControlLists.create","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.delete":"Microsoft.ManagedNetworkFabric.AccessControlLists.delete","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.AccessControlLists.get","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.list":"Microsoft.ManagedNetworkFabric.AccessControlLists.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.AccessControlLists.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.resync":"Microsoft.ManagedNetworkFabric.AccessControlLists.resync","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.update":"Microsoft.ManagedNetworkFabric.AccessControlLists.update","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.AccessControlLists.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.AccessControlListsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlLists.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient":"Microsoft.ManagedNetworkFabric.EdgeConnectors","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.EdgeConnectors.create","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.EdgeConnectors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.EdgeConnectors.update","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.create":"Microsoft.ManagedNetworkFabric.EdgeConnectors.create","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.delete":"Microsoft.ManagedNetworkFabric.EdgeConnectors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.EdgeConnectors.get","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.EdgeConnectors.get","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.list":"Microsoft.ManagedNetworkFabric.EdgeConnectors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.EdgeConnectors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.EdgeConnectorsClient.update":"Microsoft.ManagedNetworkFabric.EdgeConnectors.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient":"Microsoft.ManagedNetworkFabric.ExternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.ExternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.ExternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.ExternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.ExternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.ExternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.ExternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.ExternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient":"Microsoft.ManagedNetworkFabric.Fabrics","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.Fabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.Fabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.Fabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.create":"Microsoft.ManagedNetworkFabric.Fabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.delete":"Microsoft.ManagedNetworkFabric.Fabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.Fabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.Fabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.list":"Microsoft.ManagedNetworkFabric.Fabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.Fabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.FabricsClient.update":"Microsoft.ManagedNetworkFabric.Fabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient":"Microsoft.ManagedNetworkFabric.InternalNetworks","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.beginUpdateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.create":"Microsoft.ManagedNetworkFabric.InternalNetworks.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.delete":"Microsoft.ManagedNetworkFabric.InternalNetworks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.get":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.getWithResponse":"Microsoft.ManagedNetworkFabric.InternalNetworks.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.listByL3IsolationDomain":"Microsoft.ManagedNetworkFabric.InternalNetworks.listByL3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.update":"Microsoft.ManagedNetworkFabric.InternalNetworks.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateBgpAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateBgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternalNetworksClient.updateStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.InternalNetworks.updateStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient":"Microsoft.ManagedNetworkFabric.InternetGatewayRules","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.create":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.delete":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.list":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewayRulesClient.update":"Microsoft.ManagedNetworkFabric.InternetGatewayRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient":"Microsoft.ManagedNetworkFabric.InternetGateways","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginCreate":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginDelete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.beginUpdate":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.create":"Microsoft.ManagedNetworkFabric.InternetGateways.create","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.delete":"Microsoft.ManagedNetworkFabric.InternetGateways.delete","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.InternetGateways.get","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.list":"Microsoft.ManagedNetworkFabric.InternetGateways.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.InternetGateways.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.InternetGatewaysClient.update":"Microsoft.ManagedNetworkFabric.InternetGateways.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.create":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.delete":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.list":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpExtendedCommunitiesClient.update":"Microsoft.ManagedNetworkFabric.IpExtendedCommunities.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient":"Microsoft.ManagedNetworkFabric.IpPrefixes","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginCreate":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginDelete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.create":"Microsoft.ManagedNetworkFabric.IpPrefixes.create","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.delete":"Microsoft.ManagedNetworkFabric.IpPrefixes.delete","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.IpPrefixes.get","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.list":"Microsoft.ManagedNetworkFabric.IpPrefixes.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.IpPrefixes.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.IpPrefixesClient.update":"Microsoft.ManagedNetworkFabric.IpPrefixes.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L2IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L2IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L2IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient":"Microsoft.ManagedNetworkFabric.L3IsolationDomains","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginCreate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginDelete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.create":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.create","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.delete":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.delete","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.get","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.list":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.update":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.update","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.L3IsolationDomainsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.L3IsolationDomains.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient":"Microsoft.ManagedNetworkFabric.NeighborGroups","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginResync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.create":"Microsoft.ManagedNetworkFabric.NeighborGroups.create","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.delete":"Microsoft.ManagedNetworkFabric.NeighborGroups.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NeighborGroups.get","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.list":"Microsoft.ManagedNetworkFabric.NeighborGroups.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NeighborGroups.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.resync":"Microsoft.ManagedNetworkFabric.NeighborGroups.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NeighborGroupsClient.update":"Microsoft.ManagedNetworkFabric.NeighborGroups.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.listByNetworkBootstrapDevice":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.listByNetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkBootstrapInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDeviceSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient":"Microsoft.ManagedNetworkFabric.NetworkDevices","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginReboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginRunRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.create":"Microsoft.ManagedNetworkFabric.NetworkDevices.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkDevices.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkDevices.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.list":"Microsoft.ManagedNetworkFabric.NetworkDevices.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkDevices.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.reboot":"Microsoft.ManagedNetworkFabric.NetworkDevices.reboot","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkDevices.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkDevices.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRoCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRoCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.runRwCommand":"Microsoft.ManagedNetworkFabric.NetworkDevices.runRwCommand","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.update":"Microsoft.ManagedNetworkFabric.NetworkDevices.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkDevices.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkDevicesClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkDevices.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricControllersClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabricControllers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.get":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricSkusClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabricSkus.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient":"Microsoft.ManagedNetworkFabric.NetworkFabrics","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.armConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginArmConfigurationDiff":"Microsoft.ManagedNetworkFabric.NetworkFabrics.armConfigurationDiff","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDeprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginDiscardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginGetTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginLockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginProvision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRefreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginResyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginRotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpdateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginUpgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.beginViewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitBatchStatus":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitBatchStatus","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.create":"Microsoft.ManagedNetworkFabric.NetworkFabrics.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkFabrics.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.deprovision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.deprovision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.discardCommitBatch":"Microsoft.ManagedNetworkFabric.NetworkFabrics.discardCommitBatch","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkFabrics.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.getTopology":"Microsoft.ManagedNetworkFabric.NetworkFabrics.getTopology","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.list":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkFabrics.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.lockFabric":"Microsoft.ManagedNetworkFabric.NetworkFabrics.lockFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.provision":"Microsoft.ManagedNetworkFabric.NetworkFabrics.provision","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.refreshConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.refreshConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.resyncPasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.resyncPasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotateCertificates":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotateCertificates","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.rotatePasswords":"Microsoft.ManagedNetworkFabric.NetworkFabrics.rotatePasswords","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.update":"Microsoft.ManagedNetworkFabric.NetworkFabrics.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateInfraManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateInfraManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.updateWorkloadManagementBfdConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.updateWorkloadManagementBfdConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.upgrade":"Microsoft.ManagedNetworkFabric.NetworkFabrics.upgrade","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkFabricsClient.viewDeviceConfiguration":"Microsoft.ManagedNetworkFabric.NetworkFabrics.viewDeviceConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient":"Microsoft.ManagedNetworkFabric.NetworkInterfaces","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.create":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.get":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.listByNetworkDevice":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.listByNetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.update":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkInterfacesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkInterfaces.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient":"Microsoft.ManagedNetworkFabric.NetworkMonitors","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.create":"Microsoft.ManagedNetworkFabric.NetworkMonitors.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkMonitors.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkMonitors.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.list":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkMonitors.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.update":"Microsoft.ManagedNetworkFabric.NetworkMonitors.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkMonitorsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkMonitors.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.create":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.delete":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.list":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkPacketBrokersClient.update":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokers.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient":"Microsoft.ManagedNetworkFabric.NetworkRacks","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.create":"Microsoft.ManagedNetworkFabric.NetworkRacks.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.delete":"Microsoft.ManagedNetworkFabric.NetworkRacks.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkRacks.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.list":"Microsoft.ManagedNetworkFabric.NetworkRacks.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkRacks.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkRacksClient.update":"Microsoft.ManagedNetworkFabric.NetworkRacks.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient":"Microsoft.ManagedNetworkFabric.NetworkTapRules","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.create":"Microsoft.ManagedNetworkFabric.NetworkTapRules.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTapRules.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTapRules.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.list":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTapRules.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTapRules.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.update":"Microsoft.ManagedNetworkFabric.NetworkTapRules.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTapRules.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapRulesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRules.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient":"Microsoft.ManagedNetworkFabric.NetworkTaps","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginResync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.create":"Microsoft.ManagedNetworkFabric.NetworkTaps.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkTaps.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.NetworkTaps.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.list":"Microsoft.ManagedNetworkFabric.NetworkTaps.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.NetworkTaps.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.resync":"Microsoft.ManagedNetworkFabric.NetworkTaps.resync","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.update":"Microsoft.ManagedNetworkFabric.NetworkTaps.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkTapsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkTaps.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginCreate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginDelete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdate":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.beginUpdateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.create":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.create","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.delete":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.delete","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.get":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.getWithResponse":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.get","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.listByNetworkFabric":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.listByNetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.update":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.update","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.NetworkToNetworkInterconnectsClient.updateNpbStaticRouteBfdAdministrativeState":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient":"Microsoft.ManagedNetworkFabric.Operations","com.azure.resourcemanager.managednetworkfabric.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient":"Microsoft.ManagedNetworkFabric.RoutePolicies","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCommitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginCreate":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginDelete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdate":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginUpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.beginValidateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.commitConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.commitConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.create":"Microsoft.ManagedNetworkFabric.RoutePolicies.create","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.delete":"Microsoft.ManagedNetworkFabric.RoutePolicies.delete","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.getByResourceGroupWithResponse":"Microsoft.ManagedNetworkFabric.RoutePolicies.get","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.list":"Microsoft.ManagedNetworkFabric.RoutePolicies.listBySubscription","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.listByResourceGroup":"Microsoft.ManagedNetworkFabric.RoutePolicies.listByResourceGroup","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.update":"Microsoft.ManagedNetworkFabric.RoutePolicies.update","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.updateAdministrativeState":"Microsoft.ManagedNetworkFabric.RoutePolicies.updateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.fluent.RoutePoliciesClient.validateConfiguration":"Microsoft.ManagedNetworkFabric.RoutePolicies.validateConfiguration","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListInner":"Microsoft.ManagedNetworkFabric.AccessControlList","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListPatchProperties":"Microsoft.ManagedNetworkFabric.AccessControlListPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListProperties":"Microsoft.ManagedNetworkFabric.AccessControlListProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ArmConfigurationDiffOperationResponseInner":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitBatchStatusOperationResponseInner":"Microsoft.ManagedNetworkFabric.CommitBatchStatusOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommitConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.CommitConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommandsOperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForStateUpdate","com.azure.resourcemanager.managednetworkfabric.fluent.models.DiscardCommitBatchOperationResponseInner":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchOperationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.EdgeConnectorInner":"Microsoft.ManagedNetworkFabric.EdgeConnector","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkInner":"Microsoft.ManagedNetworkFabric.ExternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.FabricInner":"Microsoft.ManagedNetworkFabric.Fabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.GetTopologyResponseInner":"Microsoft.ManagedNetworkFabric.GetTopologyResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkInner":"Microsoft.ManagedNetworkFabric.InternalNetwork","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBgpAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayInner":"Microsoft.ManagedNetworkFabric.InternetGateway","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayPatchProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleInner":"Microsoft.ManagedNetworkFabric.InternetGatewayRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.InternetGatewayRuleProperties":"Microsoft.ManagedNetworkFabric.InternetGatewayRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityInner":"Microsoft.ManagedNetworkFabric.IpCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityPatchableProperties":"Microsoft.ManagedNetworkFabric.IpCommunityPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpCommunityProperties":"Microsoft.ManagedNetworkFabric.IpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityInner":"Microsoft.ManagedNetworkFabric.IpExtendedCommunity","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixInner":"Microsoft.ManagedNetworkFabric.IpPrefix","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.IpPrefixProperties":"Microsoft.ManagedNetworkFabric.IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L2IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L2IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainInner":"Microsoft.ManagedNetworkFabric.L3IsolationDomain","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.L3IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupInner":"Microsoft.ManagedNetworkFabric.NeighborGroup","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupPatchProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupProperties":"Microsoft.ManagedNetworkFabric.NeighborGroupProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NeighborGroupResyncResponseInner":"Microsoft.ManagedNetworkFabric.NeighborGroupResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDevicePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRebootResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRebootResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkBootstrapInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceInner":"Microsoft.ManagedNetworkFabric.NetworkDevice","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDevicePatchParametersProperties":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParametersProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRefreshConfigurationResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRefreshConfigurationResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceRunRwCommandResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceRunRwCommandResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDeviceUpgradeResponseInner":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerInner":"Microsoft.ManagedNetworkFabric.NetworkFabricController","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricControllerProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricInner":"Microsoft.ManagedNetworkFabric.NetworkFabric","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricResyncPasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricResyncPasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotateCertificatesResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotateCertificatesResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricRotatePasswordsResponseInner":"Microsoft.ManagedNetworkFabric.NetworkFabricRotatePasswordsResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuInner":"Microsoft.ManagedNetworkFabric.NetworkFabricSku","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkFabricSkuProperties":"Microsoft.ManagedNetworkFabric.NetworkFabricSkuProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceInner":"Microsoft.ManagedNetworkFabric.NetworkInterface","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfacePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkInterfaceProperties":"Microsoft.ManagedNetworkFabric.NetworkInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorInner":"Microsoft.ManagedNetworkFabric.NetworkMonitor","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkMonitorProperties":"Microsoft.ManagedNetworkFabric.NetworkMonitorProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerInner":"Microsoft.ManagedNetworkFabric.NetworkPacketBroker","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkPacketBrokerProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackInner":"Microsoft.ManagedNetworkFabric.NetworkRack","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkRackProperties":"Microsoft.ManagedNetworkFabric.NetworkRackProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapInner":"Microsoft.ManagedNetworkFabric.NetworkTap","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapProperties":"Microsoft.ManagedNetworkFabric.NetworkTapProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleInner":"Microsoft.ManagedNetworkFabric.NetworkTapRule","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRulePatchProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleProperties":"Microsoft.ManagedNetworkFabric.NetworkTapRuleProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkTapRuleResyncResponseInner":"Microsoft.ManagedNetworkFabric.NetworkTapRuleResyncResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectInner":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnect","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatchProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkToNetworkInterconnectProperties":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.NniUpdateBfdAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.managednetworkfabric.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyInner":"Microsoft.ManagedNetworkFabric.RoutePolicy","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyPatchableProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyPatchableProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.RoutePolicyProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyProperties","com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponse","com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseV2Inner":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponseV2","com.azure.resourcemanager.managednetworkfabric.fluent.models.ViewDeviceConfigurationOperationResponseInner":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationOperationResponse","com.azure.resourcemanager.managednetworkfabric.implementation.ManagedNetworkFabricManagementClientBuilder":"Microsoft.ManagedNetworkFabric","com.azure.resourcemanager.managednetworkfabric.implementation.models.AccessControlListsListResult":"AccessControlListsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.EdgeConnectorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.ExternalNetworksList":"ExternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.FabricListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternalNetworksList":"InternalNetworksList","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewayRulesListResult":"InternetGatewayRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.InternetGatewaysListResult":"InternetGatewaysListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpCommunitiesListResult":"IpCommunitiesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpExtendedCommunityListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.IpPrefixesListResult":"IpPrefixesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L2IsolationDomainsListResult":"L2IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.L3IsolationDomainsListResult":"L3IsolationDomainsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NeighborGroupsListResult":"NeighborGroupsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkBootstrapInterfaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDeviceSkusListResult":"NetworkDeviceSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkDevicesListResult":"NetworkDevicesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricControllersListResult":"NetworkFabricControllersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricSkusListResult":"NetworkFabricSkusListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkFabricsListResult":"NetworkFabricsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkInterfacesList":"NetworkInterfacesList","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkMonitorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkPacketBrokersListResult":"NetworkPacketBrokersListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkRacksListResult":"NetworkRacksListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapRulesListResult":"NetworkTapRulesListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkTapsListResult":"NetworkTapsListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.NetworkToNetworkInterconnectsList":"NetworkToNetworkInterconnectsList","com.azure.resourcemanager.managednetworkfabric.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.managednetworkfabric.implementation.models.RoutePoliciesListResult":"RoutePoliciesListResult","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListAction":"Microsoft.ManagedNetworkFabric.AccessControlListAction","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListActionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListActionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchCondition":"Microsoft.ManagedNetworkFabric.AccessControlListMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfiguration":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.AccessControlListMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPatch","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortCondition":"Microsoft.ManagedNetworkFabric.AccessControlListPortCondition","com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortConditionPatch":"Microsoft.ManagedNetworkFabric.AccessControlListPortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.AclActionType":"Microsoft.ManagedNetworkFabric.AclActionType","com.azure.resourcemanager.managednetworkfabric.models.AclType":"Microsoft.ManagedNetworkFabric.AclType","com.azure.resourcemanager.managednetworkfabric.models.Action":"Microsoft.ManagedNetworkFabric.Action","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityPatchProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityProperties":"Microsoft.ManagedNetworkFabric.ActionIpExtendedCommunityProperties","com.azure.resourcemanager.managednetworkfabric.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.managednetworkfabric.models.AddressFamilyType":"Microsoft.ManagedNetworkFabric.AddressFamilyType","com.azure.resourcemanager.managednetworkfabric.models.AdministrativeState":"Microsoft.ManagedNetworkFabric.AdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoute":"Microsoft.ManagedNetworkFabric.AggregateRoute","com.azure.resourcemanager.managednetworkfabric.models.AggregateRouteConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AggregateRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.AggregateRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.AllowASOverride":"Microsoft.ManagedNetworkFabric.AllowASOverride","com.azure.resourcemanager.managednetworkfabric.models.AnnotationResource":"Microsoft.ManagedNetworkFabric.AnnotationResource","com.azure.resourcemanager.managednetworkfabric.models.ArmConfigurationDiffResponseProperties":"Microsoft.ManagedNetworkFabric.ArmConfigurationDiffResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverPatchProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverProperties":"Microsoft.ManagedNetworkFabric.AuthorizedTransceiverProperties","com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState":"Microsoft.ManagedNetworkFabric.BfdAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration":"Microsoft.ManagedNetworkFabric.BfdConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration":"Microsoft.ManagedNetworkFabric.BfdPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpAdministrativeState":"Microsoft.ManagedNetworkFabric.BgpAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.BgpConfiguration":"Microsoft.ManagedNetworkFabric.BgpConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BgpPatchConfiguration":"Microsoft.ManagedNetworkFabric.BgpPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.BitRate":"Microsoft.ManagedNetworkFabric.BitRate","com.azure.resourcemanager.managednetworkfabric.models.BitRateUnit":"Microsoft.ManagedNetworkFabric.BitRateUnit","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.BmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState":"Microsoft.ManagedNetworkFabric.BmpConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy":"Microsoft.ManagedNetworkFabric.BmpExportPolicy","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyPatchProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyProperties":"Microsoft.ManagedNetworkFabric.BmpExportPolicyProperties","com.azure.resourcemanager.managednetworkfabric.models.BmpMonitoredAddressFamily":"Microsoft.ManagedNetworkFabric.BmpMonitoredAddressFamily","com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty":"Microsoft.ManagedNetworkFabric.BooleanEnumProperty","com.azure.resourcemanager.managednetworkfabric.models.BurstSize":"Microsoft.ManagedNetworkFabric.BurstSize","com.azure.resourcemanager.managednetworkfabric.models.BurstSizeUnit":"Microsoft.ManagedNetworkFabric.BurstSizeUnit","com.azure.resourcemanager.managednetworkfabric.models.CertificateArchiveReference":"Microsoft.ManagedNetworkFabric.CertificateArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.CertificateRotationStatus":"Microsoft.ManagedNetworkFabric.CertificateRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchDetails":"Microsoft.ManagedNetworkFabric.CommitBatchDetails","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchState":"Microsoft.ManagedNetworkFabric.CommitBatchState","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest":"Microsoft.ManagedNetworkFabric.CommitBatchStatusRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusResponseProperties":"Microsoft.ManagedNetworkFabric.CommitBatchStatusResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationPolicy":"Microsoft.ManagedNetworkFabric.CommitConfigurationPolicy","com.azure.resourcemanager.managednetworkfabric.models.CommitConfigurationRequest":"Microsoft.ManagedNetworkFabric.CommitConfigurationRequest","com.azure.resourcemanager.managednetworkfabric.models.CommitStage":"Microsoft.ManagedNetworkFabric.CommitStage","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.CommonDynamicMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonErrorResponse":"Microsoft.ManagedNetworkFabric.CommonErrorResponse","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditions":"Microsoft.ManagedNetworkFabric.CommonMatchConditions","com.azure.resourcemanager.managednetworkfabric.models.CommonMatchConditionsPatch":"Microsoft.ManagedNetworkFabric.CommonMatchConditionsPatch","com.azure.resourcemanager.managednetworkfabric.models.CommonPostActionResponseForDeviceROCommands":"Microsoft.ManagedNetworkFabric.CommonPostActionResponseForDeviceROCommands","com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes":"Microsoft.ManagedNetworkFabric.CommunityActionTypes","com.azure.resourcemanager.managednetworkfabric.models.Condition":"Microsoft.ManagedNetworkFabric.Condition","com.azure.resourcemanager.managednetworkfabric.models.ConditionalDefaultRouteProperties":"Microsoft.ManagedNetworkFabric.ConditionalDefaultRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationRegenerationType":"Microsoft.ManagedNetworkFabric.ConfigurationRegenerationType","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationState":"Microsoft.ManagedNetworkFabric.ConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType":"Microsoft.ManagedNetworkFabric.ConfigurationType","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnet":"Microsoft.ManagedNetworkFabric.ConnectedSubnet","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicy":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ConnectedSubnetRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ConnectivityModel":"Microsoft.ManagedNetworkFabric.ConnectivityModel","com.azure.resourcemanager.managednetworkfabric.models.ControlPlanAclIpMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlanAclIpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclAction":"Microsoft.ManagedNetworkFabric.ControlPlaneAclAction","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclActionType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclIpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclIpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclMatchConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPatchProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclPortMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclProperties":"Microsoft.ManagedNetworkFabric.ControlPlaneAclProperties","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchCondition":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchConditionPatch":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchType":"Microsoft.ManagedNetworkFabric.ControlPlaneAclTtlMatchType","com.azure.resourcemanager.managednetworkfabric.models.ControllerServices":"Microsoft.ManagedNetworkFabric.ControllerServices","com.azure.resourcemanager.managednetworkfabric.models.ControllerType":"Microsoft.ManagedNetworkFabric.ControllerType","com.azure.resourcemanager.managednetworkfabric.models.DestinationPatchProperties":"Microsoft.ManagedNetworkFabric.DestinationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationProperties":"Microsoft.ManagedNetworkFabric.DestinationProperties","com.azure.resourcemanager.managednetworkfabric.models.DestinationType":"Microsoft.ManagedNetworkFabric.DestinationType","com.azure.resourcemanager.managednetworkfabric.models.DeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.DeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.DeviceInterfaceProperties":"Microsoft.ManagedNetworkFabric.DeviceInterfaceProperties","com.azure.resourcemanager.managednetworkfabric.models.DeviceRoCommand":"Microsoft.ManagedNetworkFabric.DeviceRoCommand","com.azure.resourcemanager.managednetworkfabric.models.DeviceRole":"Microsoft.ManagedNetworkFabric.DeviceRole","com.azure.resourcemanager.managednetworkfabric.models.DeviceRwCommand":"Microsoft.ManagedNetworkFabric.DeviceRwCommand","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchRequest","com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchResponseProperties":"Microsoft.ManagedNetworkFabric.DiscardCommitBatchResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatch":"Microsoft.ManagedNetworkFabric.EdgeConnectorPatch","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorPatchableProperties":"Microsoft.ManagedNetworkFabric.EdgeConnectorPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.EdgeConnectorProperties":"Microsoft.ManagedNetworkFabric.EdgeConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableOnResources":"Microsoft.ManagedNetworkFabric.EnableDisableOnResources","com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState":"Microsoft.ManagedNetworkFabric.EnableDisableState","com.azure.resourcemanager.managednetworkfabric.models.Encapsulation":"Microsoft.ManagedNetworkFabric.Encapsulation","com.azure.resourcemanager.managednetworkfabric.models.EncapsulationType":"Microsoft.ManagedNetworkFabric.EncapsulationType","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation":"Microsoft.ManagedNetworkFabric.ExpressRouteConnectionInformation","com.azure.resourcemanager.managednetworkfabric.models.ExtendedVlan":"Microsoft.ManagedNetworkFabric.ExtendedVlan","com.azure.resourcemanager.managednetworkfabric.models.Extension":"Microsoft.ManagedNetworkFabric.Extension","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatch":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatchPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPatchPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPropertiesOptionAProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkPropertiesOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.ExternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.ExternalNetworkStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricLockProperties":"Microsoft.ManagedNetworkFabric.FabricLockProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricPatch":"Microsoft.ManagedNetworkFabric.FabricPatch","com.azure.resourcemanager.managednetworkfabric.models.FabricPatchableProperties":"Microsoft.ManagedNetworkFabric.FabricPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricProperties":"Microsoft.ManagedNetworkFabric.FabricProperties","com.azure.resourcemanager.managednetworkfabric.models.FabricSkuType":"Microsoft.ManagedNetworkFabric.FabricSkuType","com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties":"Microsoft.ManagedNetworkFabric.FeatureFlagProperties","com.azure.resourcemanager.managednetworkfabric.models.GatewayType":"Microsoft.ManagedNetworkFabric.GatewayType","com.azure.resourcemanager.managednetworkfabric.models.GenerateBaseConfiguration":"Microsoft.ManagedNetworkFabric.GenerateBaseConfiguration","com.azure.resourcemanager.managednetworkfabric.models.GetTopologyResponseProperties":"Microsoft.ManagedNetworkFabric.GetTopologyResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionProperties":"Microsoft.ManagedNetworkFabric.GlobalAccessControlListActionProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionPatchProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionProperties":"Microsoft.ManagedNetworkFabric.GlobalNetworkTapRuleActionProperties","com.azure.resourcemanager.managednetworkfabric.models.HeaderAddressProperties":"Microsoft.ManagedNetworkFabric.HeaderAddressProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationProperties":"Microsoft.ManagedNetworkFabric.IcmpConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector":"Microsoft.ManagedNetworkFabric.IdentitySelector","com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch":"Microsoft.ManagedNetworkFabric.IdentitySelectorPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy":"Microsoft.ManagedNetworkFabric.ImportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformation":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformation","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformationPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyInformationPatch","com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.ImportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.InfraNetwork":"Microsoft.ManagedNetworkFabric.InfraNetwork","com.azure.resourcemanager.managednetworkfabric.models.InfraNetworkOptionalIp":"Microsoft.ManagedNetworkFabric.InfraNetworkOptionalIp","com.azure.resourcemanager.managednetworkfabric.models.InfrastructureNetworks":"Microsoft.ManagedNetworkFabric.InfrastructureNetworks","com.azure.resourcemanager.managednetworkfabric.models.InfrastructureServices":"Microsoft.ManagedNetworkFabric.InfrastructureServices","com.azure.resourcemanager.managednetworkfabric.models.InterfaceType":"Microsoft.ManagedNetworkFabric.InterfaceType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpPatchProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPatch":"Microsoft.ManagedNetworkFabric.InternalNetworkPatch","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkRouteType":"Microsoft.ManagedNetworkFabric.InternalNetworkRouteType","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.InternalNetworkUpdateBgpAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayPatch":"Microsoft.ManagedNetworkFabric.InternetGatewayPatch","com.azure.resourcemanager.managednetworkfabric.models.InternetGatewayRulePatch":"Microsoft.ManagedNetworkFabric.InternetGatewayRulePatch","com.azure.resourcemanager.managednetworkfabric.models.IpAddressType":"Microsoft.ManagedNetworkFabric.IPAddressType","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityIdList":"Microsoft.ManagedNetworkFabric.IpCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityPatch":"Microsoft.ManagedNetworkFabric.IpCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpCommunityRule":"Microsoft.ManagedNetworkFabric.IpCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityIdList":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityIdList","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityPatch":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityPatch","com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityRule":"Microsoft.ManagedNetworkFabric.IpExtendedCommunityRule","com.azure.resourcemanager.managednetworkfabric.models.IpGroupPatchProperties":"Microsoft.ManagedNetworkFabric.IpGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties":"Microsoft.ManagedNetworkFabric.IpGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition":"Microsoft.ManagedNetworkFabric.IpMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.IpMatchConditionPatch":"Microsoft.ManagedNetworkFabric.IpMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixPatch":"Microsoft.ManagedNetworkFabric.IpPrefixPatch","com.azure.resourcemanager.managednetworkfabric.models.IpPrefixRule":"Microsoft.ManagedNetworkFabric.IpPrefixRule","com.azure.resourcemanager.managednetworkfabric.models.IsManagementType":"Microsoft.ManagedNetworkFabric.IsManagementType","com.azure.resourcemanager.managednetworkfabric.models.IsMonitoringEnabled":"Microsoft.ManagedNetworkFabric.IsMonitoringEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsWorkloadManagementNetworkEnabled":"Microsoft.ManagedNetworkFabric.IsWorkloadManagementNetworkEnabled","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainPatchProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainProperties":"Microsoft.ManagedNetworkFabric.IsolationDomainProperties","com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L2IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicy":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.L3ExportRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch":"Microsoft.ManagedNetworkFabric.L3IsolationDomainPatch","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBPatchProperties":"Microsoft.ManagedNetworkFabric.L3OptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.L3OptionBProperties":"Microsoft.ManagedNetworkFabric.L3OptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.L3UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.L3UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.LastOperationProperties":"Microsoft.ManagedNetworkFabric.LastOperationProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer2Configuration":"Microsoft.ManagedNetworkFabric.Layer2Configuration","com.azure.resourcemanager.managednetworkfabric.models.Layer2ConfigurationPatch":"Microsoft.ManagedNetworkFabric.Layer2ConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixPatchProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer3IpPrefixProperties":"Microsoft.ManagedNetworkFabric.Layer3IpPrefixProperties","com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol":"Microsoft.ManagedNetworkFabric.Layer4Protocol","com.azure.resourcemanager.managednetworkfabric.models.LockConfigurationState":"Microsoft.ManagedNetworkFabric.LockConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration":"Microsoft.ManagedNetworkFabric.ManagedResourceGroupConfiguration","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentityPatch","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType":"Microsoft.ManagedNetworkFabric.ManagedServiceIdentitySelectorType","com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","com.azure.resourcemanager.managednetworkfabric.models.ManagementMode":"Microsoft.ManagedNetworkFabric.ManagementMode","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties":"Microsoft.ManagedNetworkFabric.ManagementNetworkConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPatchConfiguration":"Microsoft.ManagedNetworkFabric.ManagementNetworkPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.MicroBfdState":"Microsoft.ManagedNetworkFabric.MicroBfdState","com.azure.resourcemanager.managednetworkfabric.models.NNIDerivedUniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.NNIDerivedUniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv4PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.NativeIpv6PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddress":"Microsoft.ManagedNetworkFabric.NeighborAddress","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBfdAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBfdAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressBgpAdministrativeStatus":"Microsoft.ManagedNetworkFabric.NeighborAddressBgpAdministrativeStatus","com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressPatch":"Microsoft.ManagedNetworkFabric.NeighborAddressPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination":"Microsoft.ManagedNetworkFabric.NeighborGroupDestination","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestinationPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupDestinationPatch","com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupPatch":"Microsoft.ManagedNetworkFabric.NeighborGroupPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevicePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapDevicePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkBootstrapInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkDevicePatchParameters":"Microsoft.ManagedNetworkFabric.NetworkDevicePatchParameters","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRole":"Microsoft.ManagedNetworkFabric.NetworkDeviceRole","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRoleName":"Microsoft.ManagedNetworkFabric.NetworkDeviceRoleName","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceRwCommandResponseProperties":"Microsoft.ManagedNetworkFabric.NetworkDeviceRwCommandResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgradeRequest":"Microsoft.ManagedNetworkFabric.NetworkDeviceUpgradeRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllerPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricControllerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockAction":"Microsoft.ManagedNetworkFabric.NetworkFabricLockAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest":"Microsoft.ManagedNetworkFabric.NetworkFabricLockRequest","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockType":"Microsoft.ManagedNetworkFabric.NetworkFabricLockType","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatch":"Microsoft.ManagedNetworkFabric.NetworkFabricPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricRefreshDeviceTypes":"Microsoft.ManagedNetworkFabric.NetworkFabricRefreshDeviceTypes","com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricUpgradeAction":"Microsoft.ManagedNetworkFabric.NetworkFabricUpgradeAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfacePatch":"Microsoft.ManagedNetworkFabric.NetworkInterfacePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitorPatch":"Microsoft.ManagedNetworkFabric.NetworkMonitorPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatch":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokerPatchProperties":"Microsoft.ManagedNetworkFabric.NetworkPacketBrokerPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackPatch":"Microsoft.ManagedNetworkFabric.NetworkRackPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkRackType":"Microsoft.ManagedNetworkFabric.NetworkRackType","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapPatch":"Microsoft.ManagedNetworkFabric.NetworkTapPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleAction":"Microsoft.ManagedNetworkFabric.NetworkTapRuleAction","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleActionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleActionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchCondition":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConditionPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfiguration":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfigurationPatch":"Microsoft.ManagedNetworkFabric.NetworkTapRuleMatchConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRulePatch":"Microsoft.ManagedNetworkFabric.NetworkTapRulePatch","com.azure.resourcemanager.managednetworkfabric.models.NetworkToNetworkInterconnectPatch":"Microsoft.ManagedNetworkFabric.NetworkToNetworkInterconnectPatch","com.azure.resourcemanager.managednetworkfabric.models.NfcSku":"Microsoft.ManagedNetworkFabric.NfcSku","com.azure.resourcemanager.managednetworkfabric.models.NniBmpPatchProperties":"Microsoft.ManagedNetworkFabric.NniBmpPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.NniBmpProperties":"Microsoft.ManagedNetworkFabric.NniBmpProperties","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniStaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.NniStaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NniType":"Microsoft.ManagedNetworkFabric.NniType","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateRequest":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateRequest","com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.NniUpdateBfdAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfigurationPatch":"Microsoft.ManagedNetworkFabric.NpbStaticRouteConfigurationPatch","com.azure.resourcemanager.managednetworkfabric.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.managednetworkfabric.models.OperationPolicy":"Microsoft.ManagedNetworkFabric.OperationPolicy","com.azure.resourcemanager.managednetworkfabric.models.OperationalState":"Microsoft.ManagedNetworkFabric.OperationalState","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3Configuration":"Microsoft.ManagedNetworkFabric.OptionBLayer3Configuration","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3ConfigurationPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3ConfigurationPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.OptionBLayer3PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.managednetworkfabric.models.PatchInfraNetwork":"Microsoft.ManagedNetworkFabric.PatchInfraNetwork","com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureNetworks":"Microsoft.ManagedNetworkFabric.PatchInfrastructureNetworks","com.azure.resourcemanager.managednetworkfabric.models.PatchInfrastructureServices":"Microsoft.ManagedNetworkFabric.PatchInfrastructureServices","com.azure.resourcemanager.managednetworkfabric.models.PatchPlatformProxy":"Microsoft.ManagedNetworkFabric.PatchPlatformProxy","com.azure.resourcemanager.managednetworkfabric.models.PeeringOption":"Microsoft.ManagedNetworkFabric.PeeringOption","com.azure.resourcemanager.managednetworkfabric.models.PlatformProxy":"Microsoft.ManagedNetworkFabric.PlatformProxy","com.azure.resourcemanager.managednetworkfabric.models.PoliceRateConfigurationProperties":"Microsoft.ManagedNetworkFabric.PoliceRateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.PollingType":"Microsoft.ManagedNetworkFabric.PollingType","com.azure.resourcemanager.managednetworkfabric.models.PortCondition":"Microsoft.ManagedNetworkFabric.PortCondition","com.azure.resourcemanager.managednetworkfabric.models.PortConditionPatch":"Microsoft.ManagedNetworkFabric.PortConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.PortGroupPatchProperties":"Microsoft.ManagedNetworkFabric.PortGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties":"Microsoft.ManagedNetworkFabric.PortGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.PortType":"Microsoft.ManagedNetworkFabric.PortType","com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfilePatchProperties":"Microsoft.ManagedNetworkFabric.PostUpgradeProfilePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PostUpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.PostUpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfilePatchProperties":"Microsoft.ManagedNetworkFabric.PreUpgradeProfilePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PreUpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.PreUpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitProperties":"Microsoft.ManagedNetworkFabric.PrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.PrefixType":"Microsoft.ManagedNetworkFabric.PrefixType","com.azure.resourcemanager.managednetworkfabric.models.ProvisioningState":"Microsoft.ManagedNetworkFabric.ProvisioningState","com.azure.resourcemanager.managednetworkfabric.models.ProxyResourceBase":"Microsoft.ManagedNetworkFabric.ProxyResourceBase","com.azure.resourcemanager.managednetworkfabric.models.QosConfigurationState":"Microsoft.ManagedNetworkFabric.QosConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties":"Microsoft.ManagedNetworkFabric.QosPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.QosProperties":"Microsoft.ManagedNetworkFabric.QosProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootProperties":"Microsoft.ManagedNetworkFabric.RebootProperties","com.azure.resourcemanager.managednetworkfabric.models.RebootType":"Microsoft.ManagedNetworkFabric.RebootType","com.azure.resourcemanager.managednetworkfabric.models.RedistributeConnectedSubnets":"Microsoft.ManagedNetworkFabric.RedistributeConnectedSubnets","com.azure.resourcemanager.managednetworkfabric.models.RedistributeStaticRoutes":"Microsoft.ManagedNetworkFabric.RedistributeStaticRoutes","com.azure.resourcemanager.managednetworkfabric.models.RefreshConfigurationRequestProperties":"Microsoft.ManagedNetworkFabric.RefreshConfigurationRequestProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyActionType":"Microsoft.ManagedNetworkFabric.RoutePolicyActionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyConditionType":"Microsoft.ManagedNetworkFabric.RoutePolicyConditionType","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyPatch":"Microsoft.ManagedNetworkFabric.RoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementProperties":"Microsoft.ManagedNetworkFabric.RoutePolicyStatementProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitPatchProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitProperties":"Microsoft.ManagedNetworkFabric.RoutePrefixLimitProperties","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation":"Microsoft.ManagedNetworkFabric.RouteTargetInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteTargetPatchInformation":"Microsoft.ManagedNetworkFabric.RouteTargetPatchInformation","com.azure.resourcemanager.managednetworkfabric.models.RouteType":"Microsoft.ManagedNetworkFabric.RouteType","com.azure.resourcemanager.managednetworkfabric.models.RuleCondition":"Microsoft.ManagedNetworkFabric.RuleCondition","com.azure.resourcemanager.managednetworkfabric.models.RuleProperties":"Microsoft.ManagedNetworkFabric.RuleProperties","com.azure.resourcemanager.managednetworkfabric.models.SecretArchivePatchSettings":"Microsoft.ManagedNetworkFabric.SecretArchivePatchSettings","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveReference":"Microsoft.ManagedNetworkFabric.SecretArchiveReference","com.azure.resourcemanager.managednetworkfabric.models.SecretArchiveSettings":"Microsoft.ManagedNetworkFabric.SecretArchiveSettings","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationStatus":"Microsoft.ManagedNetworkFabric.SecretRotationStatus","com.azure.resourcemanager.managednetworkfabric.models.SecretRotationSummary":"Microsoft.ManagedNetworkFabric.SecretRotationSummary","com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType":"Microsoft.ManagedNetworkFabric.SourceDestinationType","com.azure.resourcemanager.managednetworkfabric.models.StatementActionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementActionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementActionProperties":"Microsoft.ManagedNetworkFabric.StatementActionProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionPatchProperties":"Microsoft.ManagedNetworkFabric.StatementConditionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StatementConditionProperties":"Microsoft.ManagedNetworkFabric.StatementConditionProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteConfiguration":"Microsoft.ManagedNetworkFabric.StaticRouteConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchConfiguration":"Microsoft.ManagedNetworkFabric.StaticRoutePatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties":"Microsoft.ManagedNetworkFabric.StaticRoutePatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties":"Microsoft.ManagedNetworkFabric.StaticRouteProperties","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicy":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicy","com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicyPatch":"Microsoft.ManagedNetworkFabric.StaticRouteRoutePolicyPatch","com.azure.resourcemanager.managednetworkfabric.models.StationConfigurationState":"Microsoft.ManagedNetworkFabric.StationConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionMode":"Microsoft.ManagedNetworkFabric.StationConnectionMode","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionPatchProperties":"Microsoft.ManagedNetworkFabric.StationConnectionPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.StationConnectionProperties":"Microsoft.ManagedNetworkFabric.StationConnectionProperties","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountConfiguration","com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration":"Microsoft.ManagedNetworkFabric.StorageAccountPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.SupportedConnectorProperties":"Microsoft.ManagedNetworkFabric.SupportedConnectorProperties","com.azure.resourcemanager.managednetworkfabric.models.SupportedVersionProperties":"Microsoft.ManagedNetworkFabric.SupportedVersionProperties","com.azure.resourcemanager.managednetworkfabric.models.SynchronizationStatus":"Microsoft.ManagedNetworkFabric.SynchronizationStatus","com.azure.resourcemanager.managednetworkfabric.models.TagsUpdate":"Microsoft.ManagedNetworkFabric.TagsUpdate","com.azure.resourcemanager.managednetworkfabric.models.TapRuleActionType":"Microsoft.ManagedNetworkFabric.TapRuleActionType","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerConfiguration","com.azure.resourcemanager.managednetworkfabric.models.TerminalServerPatchConfiguration":"Microsoft.ManagedNetworkFabric.TerminalServerPatchConfiguration","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherConfigurationState":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherConfigurationState","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherPatchProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties":"Microsoft.ManagedNetworkFabric.UniqueRouteDistinguisherProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeStateResponseProperties":"Microsoft.ManagedNetworkFabric.UpdateAdministrativeStateResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdministrativeState":"Microsoft.ManagedNetworkFabric.UpdateDeviceAdministrativeState","com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion":"Microsoft.ManagedNetworkFabric.UpdateVersion","com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties":"Microsoft.ManagedNetworkFabric.UpgradeNetworkFabricProperties","com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfileProperties":"Microsoft.ManagedNetworkFabric.UpgradeProfileProperties","com.azure.resourcemanager.managednetworkfabric.models.UpgradeProfilePropertiesPatchProperties":"Microsoft.ManagedNetworkFabric.UpgradeProfilePropertiesPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity","com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState":"Microsoft.ManagedNetworkFabric.V4OverV6BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState":"Microsoft.ManagedNetworkFabric.V6OverV4BgpSessionState","com.azure.resourcemanager.managednetworkfabric.models.ValidateAction":"Microsoft.ManagedNetworkFabric.ValidateAction","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ValidateConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.ViewDeviceConfigurationResponseProperties":"Microsoft.ManagedNetworkFabric.ViewDeviceConfigurationResponseProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupPatchProperties":"Microsoft.ManagedNetworkFabric.VlanGroupPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties":"Microsoft.ManagedNetworkFabric.VlanGroupProperties","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition":"Microsoft.ManagedNetworkFabric.VlanMatchCondition","com.azure.resourcemanager.managednetworkfabric.models.VlanMatchConditionPatch":"Microsoft.ManagedNetworkFabric.VlanMatchConditionPatch","com.azure.resourcemanager.managednetworkfabric.models.VmProfile":"Microsoft.ManagedNetworkFabric.VmProfile","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationPatchableProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties":"Microsoft.ManagedNetworkFabric.VpnConfigurationProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties":"Microsoft.ManagedNetworkFabric.VpnOptionAProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBPatchProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBPatchProperties","com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBProperties":"Microsoft.ManagedNetworkFabric.VpnOptionBProperties","com.azure.resourcemanager.managednetworkfabric.models.WellKnownCommunities":"Microsoft.ManagedNetworkFabric.WellKnownCommunities"},"generatedFiles":["src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/EdgeConnectorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/FabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ManagedNetworkFabricManagementClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NeighborGroupsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkBootstrapInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDeviceSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkDevicesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricControllersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricSkusClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkFabricsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkMonitorsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkPacketBrokersClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkRacksClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapRulesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkTapsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/NetworkToNetworkInterconnectsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/RoutePoliciesClient.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/AccessControlListProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ArmConfigurationDiffOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitBatchStatusOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommitConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForDeviceUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/CommonPostActionResponseForStateUpdateInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/DiscardCommitBatchOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/EdgeConnectorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ExternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/FabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/GetTopologyResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternalNetworkUpdateBgpAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/InternetGatewayRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L2IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/L3IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NeighborGroupResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDevicePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRebootResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkBootstrapInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDevicePatchParametersProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRefreshConfigurationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceRunRwCommandResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkDeviceUpgradeResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricControllerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricResyncPasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotateCertificatesResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricRotatePasswordsResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkFabricSkuProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfacePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkMonitorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkPacketBrokerProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkRackProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRulePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkTapRuleResyncResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NetworkToNetworkInterconnectProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/NniUpdateBfdAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/RoutePolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/UpdateAdministrativeStateResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ValidateConfigurationResponseV2Inner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/ViewDeviceConfigurationOperationResponseInner.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/AccessControlListsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ArmConfigurationDiffOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitBatchStatusOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommitConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceROCommandsOperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForDeviceUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/CommonPostActionResponseForStateUpdateImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/DiscardCommitBatchOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/EdgeConnectorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ExternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/FabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/GetTopologyResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworkUpdateBgpAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternalNetworksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewayRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/InternetGatewaysImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunitiesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpExtendedCommunityImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/IpPrefixesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L2IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/L3IsolationDomainsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ManagedNetworkFabricManagementClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NeighborGroupsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRebootResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkBootstrapInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRefreshConfigurationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceRunRwCommandResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDeviceUpgradeResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkDevicesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricControllersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricResyncPasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotateCertificatesResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricRotatePasswordsResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkuImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricSkusImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkFabricsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfaceImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkInterfacesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkMonitorsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokerImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkPacketBrokersImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRackImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkRacksImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRuleResyncResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapRulesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkTapsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NetworkToNetworkInterconnectsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/NniUpdateBfdAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePoliciesImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/RoutePolicyImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/UpdateAdministrativeStateResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ValidateConfigurationResponseV2Impl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/ViewDeviceConfigurationOperationResponseImpl.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/AccessControlListsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/EdgeConnectorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/ExternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/FabricListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternalNetworksList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewayRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/InternetGatewaysListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpCommunitiesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpExtendedCommunityListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/IpPrefixesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L2IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/L3IsolationDomainsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NeighborGroupsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapDeviceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkBootstrapInterfaceListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDeviceSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkDevicesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricControllersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricSkusListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkFabricsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkInterfacesList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkMonitorListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkPacketBrokersListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkRacksListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapRulesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkTapsListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/NetworkToNetworkInterconnectsList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/models/RoutePoliciesListResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/implementation/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlListPortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AccessControlLists.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AclType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Action.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionIpExtendedCommunityProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AddressFamilyType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoute.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AggregateRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AllowASOverride.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AnnotationResource.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ArmConfigurationDiffResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/AuthorizedTransceiverProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BfdPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BgpPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BitRateUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpExportPolicyProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BmpMonitoredAddressFamily.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BooleanEnumProperty.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSize.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/BurstSizeUnit.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CertificateRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchDetails.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitBatchStatusResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommitStage.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonDynamicMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonErrorResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditions.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonMatchConditionsPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommands.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceROCommandsOperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForDeviceUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommonPostActionResponseForStateUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/CommunityActionTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Condition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConditionalDefaultRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationRegenerationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnet.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectedSubnetRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ConnectivityModel.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlanAclIpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclIpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclMatchConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclPortMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControlPlaneAclTtlMatchType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ControllerType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceInterfaceProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRoCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DeviceRwCommand.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/DiscardCommitBatchResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EdgeConnectors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableOnResources.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EnableDisableState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Encapsulation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/EncapsulationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExpressRouteConnectionInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExtendedVlan.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Extension.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPatchPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkPropertiesOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ExternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricLockProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FabricSkuType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Fabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/FeatureFlagProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GatewayType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GenerateBaseConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GetTopologyResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalAccessControlListActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/GlobalNetworkTapRuleActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/HeaderAddressProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IcmpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelector.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IdentitySelectorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyInformationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ImportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfraNetworkOptionalIp.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InfrastructureServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InterfaceType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkRouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworkUpdateBgpAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternalNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateway.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGatewayRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/InternetGateways.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpAddressType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityIdList.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpExtendedCommunityRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefix.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IpPrefixes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsManagementType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsMonitoringEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsWorkloadManagementNetworkEnabled.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/IsolationDomainProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L2IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3ExportRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomain.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomainPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3IsolationDomains.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3OptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/L3UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LastOperationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer2ConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer3IpPrefixProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Layer4Protocol.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/LockConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedResourceGroupConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentitySelectorType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ManagementNetworkPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/MicroBfdState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NNIDerivedUniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv4PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NativeIpv6PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddress.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBfdAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressBgpAdministrativeStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborAddressPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroup.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestination.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupDestinationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroupResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NeighborGroups.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevicePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRebootResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkBootstrapInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevice.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevicePatchParameters.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRefreshConfigurationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRole.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRoleName.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRunRwCommandResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceRwCommandResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDeviceUpgradeResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkDevices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabric.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricController.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricControllers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricLockType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRefreshDeviceTypes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricResyncPasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotateCertificatesResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricRotatePasswordsResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricSkus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabricUpgradeAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkFabrics.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterface.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfacePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkInterfaces.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitor.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitorPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkMonitors.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBroker.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokerPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkPacketBrokers.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRack.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRackType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkRacks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTap.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRule.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleActionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleMatchConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRulePatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRuleResyncResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTapRules.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkTaps.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnect.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnectPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NetworkToNetworkInterconnects.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NfcSku.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniBmpProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniStaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateRequest.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NniUpdateBfdAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/NpbStaticRouteConfigurationPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationPolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OperationalState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Operations.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3Configuration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3ConfigurationPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/OptionBLayer3PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/Origin.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfraNetwork.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureNetworks.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchInfrastructureServices.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PatchPlatformProxy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PeeringOption.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PlatformProxy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PoliceRateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PollingType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PortType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfilePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PostUpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfilePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PreUpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/PrefixType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ProxyResourceBase.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/QosProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RebootType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeConnectedSubnets.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RedistributeStaticRoutes.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RefreshConfigurationRequestProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicies.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyConditionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePolicyStatementProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RoutePrefixLimitProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteTargetPatchInformation.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RouteType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/RuleProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchivePatchSettings.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveReference.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretArchiveSettings.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SecretRotationSummary.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SourceDestinationType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementActionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StatementConditionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRoutePatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicy.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StaticRouteRoutePolicyPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionMode.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StationConnectionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/StorageAccountPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedConnectorProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SupportedVersionProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/SynchronizationStatus.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TagsUpdate.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TapRuleActionType.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/TerminalServerPatchConfiguration.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherConfigurationState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UniqueRouteDistinguisherProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateAdministrativeStateResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateDeviceAdministrativeState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpdateVersion.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeNetworkFabricProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfileProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UpgradeProfilePropertiesPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V4OverV6BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/V6OverV4BgpSessionState.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateAction.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ValidateConfigurationResponseV2.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationOperationResponse.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/ViewDeviceConfigurationResponseProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanGroupProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchCondition.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VlanMatchConditionPatch.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VmProfile.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationPatchableProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnConfigurationProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionAProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBPatchProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/VpnOptionBProperties.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/WellKnownCommunities.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/models/package-info.java","src/main/java/com/azure/resourcemanager/managednetworkfabric/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml index 1c7419113d3d9..4cbfa168a8c2a 100644 --- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml +++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/ManagedNetworkFabric -commit: dada8378e1e5e205e77974808541b5b4e9634ecb +commit: 2cafd130c2e1af36870a69b4c15d877aabd7737b repo: Azure/azure-rest-api-specs additionalDirectories: